blob: 3986997eccac38eb60bad9930e414d6d3ab7aab0 [file] [log] [blame]
Jiri Broulik132578e2017-06-02 12:26:25 +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:
Jiri Broulik0c2b8432017-06-16 12:04:32 +020010 deploy-upgrade-compute:
Jiri Broulik132578e2017-06-02 12:26:25 +020011 type: workflow-scm
12 concurrent: true
13 display_name: "Deploy - upgrade computes"
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}"
Jiri Broulik132578e2017-06-02 12:26:25 +020018 credentials: "gerrit"
19 script: openstack-compute-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"
27 TARGET_SERVERS:
28 type: string
Jiri Broulikb3394512017-07-13 12:27:48 +020029 default: "cmp*"
Jiri Broulik132578e2017-06-02 12:26:25 +020030 description: Salt compound target to match nodes to be updated [*, G@osfamily:debian].
Jiri Broulik132578e2017-06-02 12:26:25 +020031 TARGET_SUBSET_TEST:
32 type: string
33 description: Number of nodes to list package updates, empty string means all targetted nodes.
34 TARGET_SUBSET_LIVE:
35 type: string
36 default: '1'
Jiri Broulikb3394512017-07-13 12:27:48 +020037 description: Number of selected nodes to live apply 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)"