Tomáš Kukrál | 8d7a517 | 2017-05-09 15:55:14 +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-control: |
| 11 | type: workflow-scm |
| 12 | concurrent: true |
| 13 | display_name: "Deploy - upgrade control VMs" |
| 14 | scm: |
| 15 | type: git |
| 16 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 17 | credentials: "gerrit" |
| 18 | script: openstack-control-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" |
Jiri Broulik | 6f11fab | 2017-05-13 18:03:08 +0200 | [diff] [blame] | 26 | STAGE_TEST_UPGRADE: |
| 27 | type: boolean |
| 28 | default: 'true' |
| 29 | description: "Test if syncdb and APIs succeed" |
| 30 | STAGE_REAL_UPGRADE: |
| 31 | type: boolean |
| 32 | default: 'true' |
| 33 | description: "Run real control upgrade" |
| 34 | STAGE_ROLLBACK_UPGRADE: |
| 35 | type: boolean |
| 36 | default: 'true' |
| 37 | description: "Rollback if control upgrade fails" |