Jiri Broulik | b339451 | 2017-07-13 12:27:48 +0200 | [diff] [blame] | 1 | # |
| 2 | # Jobs to update packages on given Salt master environment |
| 3 | # |
| 4 | parameters: |
| 5 | _param: |
| 6 | jenkins_salt_api_url: "http://${_param:salt_master_host}:6969" |
| 7 | jenkins: |
| 8 | client: |
| 9 | job: |
| 10 | deploy-upgrade-opencontrail: |
| 11 | type: workflow-scm |
| 12 | concurrent: true |
| 13 | display_name: "Deploy - upgrade Opencontrail" |
| 14 | scm: |
| 15 | type: git |
| 16 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 17 | credentials: "gerrit" |
| 18 | script: opencontrail-upgrade.groovy |
| 19 | param: |
| 20 | SALT_MASTER_URL: |
| 21 | type: string |
| 22 | default: "${_param:jenkins_salt_api_url}" |
| 23 | SALT_MASTER_CREDENTIALS: |
| 24 | type: string |
| 25 | default: "salt" |
| 26 | STAGE_CONTROLLERS_UPGRADE: |
| 27 | type: boolean |
| 28 | default: 'true' |
| 29 | description: "Run upgrade on Opencontrail controllers" |
| 30 | STAGE_ANALYTICS_UPGRADE: |
| 31 | type: boolean |
| 32 | default: 'true' |
| 33 | description: "Run upgrade on Opencontrail analytics" |
| 34 | STAGE_COMPUTES_UPGRADE: |
| 35 | type: boolean |
| 36 | default: 'true' |
| 37 | description: "Run upgrade 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 upgrade. |
Jiri Broulik | 5f65bc6 | 2017-07-13 23:37:22 +0200 | [diff] [blame] | 46 | STAGE_CONTROLLERS_ROLLBACK: |
| 47 | type: boolean |
| 48 | default: 'false' |
| 49 | description: "Run rollback on Opencontrail controllers" |
| 50 | STAGE_ANALYTICS_ROLLBACK: |
| 51 | type: boolean |
| 52 | default: 'false' |
| 53 | description: "Run rollback on Opencontrail analytics" |
| 54 | STAGE_COMPUTES_ROLLBACK: |
| 55 | type: boolean |
| 56 | default: 'false' |
| 57 | description: "Run rollback on Opencontrail compute nodes" |