blob: fdbaab713469fbe8612a4cd5be9d8a07f8641833 [file] [log] [blame]
Tomáš Kukrál8d7a5172017-05-09 15:55:14 +02001#
2# Jobs to update packages on given Salt master environment
3#
4parameters:
Tomáš Kukrál8d7a5172017-05-09 15:55:14 +02005 jenkins:
6 client:
7 job:
8 deploy-upgrade-control:
9 type: workflow-scm
10 concurrent: true
Alexander Evseev4589d712018-08-03 12:36:15 +020011 discard:
12 build:
13 keep_num: 10
14 artifact:
15 keep_num: 10
Tomáš Kukrál8d7a5172017-05-09 15:55:14 +020016 display_name: "Deploy - upgrade control VMs"
17 scm:
18 type: git
19 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010020 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +040021 credentials: ${_param:jenkins_gerrit_credentials}
Tomáš Kukrál8d7a5172017-05-09 15:55:14 +020022 script: openstack-control-upgrade.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"
Vasyl Saienkoc7800552018-08-28 12:27:06 +030030 OS_DIST_UPGRADE:
Jiri Broulik4e3b6642018-02-13 16:10:32 +010031 type: boolean
32 default: 'false'
Vasyl Saienkoc7800552018-08-28 12:27:06 +030033 description: "Upgrade system packages including kernel (apt-get dist-upgrade)"
34 OS_UPGRADE:
Jiri Broulikbf36a092017-11-13 17:55:01 +010035 type: boolean
36 default: 'false'
Vasyl Saienkoc7800552018-08-28 12:27:06 +030037 description: "Upgrade all installed applications (apt-get upgrade)"
Vasyl Saienkofd1fbee2018-06-22 15:16:29 +030038 INTERACTIVE:
39 type: boolean
40 default: 'true'
41 description: "Ask interactive questions during pipeline run (bool)"
Vasyl Saienkoc7800552018-08-28 12:27:06 +030042 TARGET_SERVERS:
43 type: string
44 default: 'ctl*'
45 description: "Salt compound expression to get control servers to upgrade."