blob: f95e70e42af65d33d81e3d382e8bb413d5fefdd6 [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"
17 credentials: "gerrit"
18 script: openstack-compute-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"
26 TARGET_SERVERS:
27 type: string
Jiri Broulikb3394512017-07-13 12:27:48 +020028 default: "cmp*"
Jiri Broulik132578e2017-06-02 12:26:25 +020029 description: Salt compound target to match nodes to be updated [*, G@osfamily:debian].
Jiri Broulik132578e2017-06-02 12:26:25 +020030 TARGET_SUBSET_TEST:
31 type: string
32 description: Number of nodes to list package updates, empty string means all targetted nodes.
33 TARGET_SUBSET_LIVE:
34 type: string
35 default: '1'
Jiri Broulikb3394512017-07-13 12:27:48 +020036 description: Number of selected nodes to live apply upgrade.