blob: 6ffc9c16a538974f8bd1fec40d1fde3de235440b [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"
Jakub Josef7938b532017-12-12 18:02:03 +010017 branch: "${_param:jenkins_pipelines_branch}"
Tomáš Kukrál8d7a5172017-05-09 15:55:14 +020018 credentials: "gerrit"
19 script: openstack-control-upgrade.groovy
20 param:
21 SALT_MASTER_URL:
22 type: string
23 default: "${_param:jenkins_salt_api_url}"
24 SALT_MASTER_CREDENTIALS:
25 type: string
26 default: "salt"
Jiri Broulik6f11fab2017-05-13 18:03:08 +020027 STAGE_TEST_UPGRADE:
28 type: boolean
29 default: 'true'
30 description: "Test if syncdb and APIs succeed"
31 STAGE_REAL_UPGRADE:
32 type: boolean
33 default: 'true'
34 description: "Run real control upgrade"
35 STAGE_ROLLBACK_UPGRADE:
36 type: boolean
37 default: 'true'
38 description: "Rollback if control upgrade fails"
Jiri Broulik4e3b6642018-02-13 16:10:32 +010039 OPERATING_SYSTEM_RELEASE_UPGRADE:
40 type: boolean
41 default: 'false'
42 description: "Set to true if operating system release upgrade is desired. For ex. from Ubuntu 14.04 currently running on ctl and prx nodes to Ubuntu 16.04"
Jiri Broulikbf36a092017-11-13 17:55:01 +010043 SKIP_VM_RELAUNCH:
44 type: boolean
45 default: 'false'
46 description: "Set to true if vms should not be recreated"
Vasyl Saienkofd1fbee2018-06-22 15:16:29 +030047 INTERACTIVE:
48 type: boolean
49 default: 'true'
50 description: "Ask interactive questions during pipeline run (bool)"