blob: efbd15343d25df8b78c538bc30aa73ed12e957d8 [file] [log] [blame]
Tomáš Kukrál8d7a5172017-05-09 15:55:14 +02001#
2# Jobs to update packages on given Salt master environment
3#
4parameters:
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 Broulik6f11fab2017-05-13 18:03:08 +020026 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"