Anton Samoylov | cf7e603 | 2019-01-16 00:48:28 +0400 | [diff] [blame] | 1 | # |
| 2 | # Jobs to update packages on given Salt master environment |
| 3 | # |
| 4 | parameters: |
Anton Samoylov | cf7e603 | 2019-01-16 00:48:28 +0400 | [diff] [blame] | 5 | jenkins: |
| 6 | client: |
| 7 | job: |
| 8 | deploy-update-opencontrail4: |
| 9 | type: workflow-scm |
| 10 | concurrent: true |
| 11 | discard: |
| 12 | build: |
| 13 | keep_num: 10 |
| 14 | artifact: |
| 15 | keep_num: 10 |
| 16 | display_name: "Deploy - update Opencontrail 4X" |
| 17 | scm: |
| 18 | type: git |
| 19 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 20 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | ef9eabf | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 21 | credentials: ${_param:jenkins_gerrit_credentials} |
Anton Samoylov | cf7e603 | 2019-01-16 00:48:28 +0400 | [diff] [blame] | 22 | script: opencontrail4-update.groovy |
| 23 | param: |
| 24 | SALT_MASTER_URL: |
| 25 | type: string |
| 26 | default: "${_param:jenkins_salt_api_url}" |
| 27 | SALT_MASTER_CREDENTIALS: |
| 28 | type: string |
| 29 | default: "salt" |
| 30 | STAGE_CONTROLLERS_UPDATE: |
| 31 | type: boolean |
| 32 | default: 'true' |
| 33 | description: "Run update on Opencontrail controllers" |
| 34 | STAGE_COMPUTES_UPDATE: |
| 35 | type: boolean |
| 36 | default: 'true' |
| 37 | description: "Run update on Opencontrail compute nodes" |
| 38 | COMPUTE_TARGET_SERVERS: |
| 39 | type: string |
| 40 | default: "cmp*" |
| 41 | description: Salt compound target to match nodes to be updated [*, G@osfamily:debian]. |
| 42 | COMPUTE_TARGET_SUBSET_LIVE: |
| 43 | type: string |
| 44 | default: '1' |
| 45 | description: Number of selected nodes to live apply compute update. |
Sergey Galkin | 36d186a | 2019-11-25 17:22:07 +0400 | [diff] [blame^] | 46 | ASK_CONFIRMATION: |
| 47 | type: boolean |
| 48 | default: 'true' |