blob: e89d622a7f5e1f369921f640c28613309c5089d2 [file] [log] [blame]
Anton Samoylove36d7252019-01-16 00:48:28 +04001#
2# Jobs to update packages on given Salt master environment
3#
4parameters:
Anton Samoylove36d7252019-01-16 00:48:28 +04005 jenkins:
6 client:
7 job:
8 deploy-update-opencontrail4:
9 type: workflow-scm
10 concurrent: true
11 discard:
12 build:
13 keep_num: 10
14 artifact:
15 keep_num: 10
16 display_name: "Deploy - update Opencontrail 4X"
17 scm:
18 type: git
19 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
20 branch: "${_param:jenkins_pipelines_branch}"
21 credentials: "gerrit"
22 script: opencontrail4-update.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"
30 STAGE_CONTROLLERS_UPDATE:
31 type: boolean
32 default: 'true'
33 description: "Run update on Opencontrail controllers"
34 STAGE_COMPUTES_UPDATE:
35 type: boolean
36 default: 'true'
37 description: "Run update on Opencontrail compute nodes"
38 COMPUTE_TARGET_SERVERS:
39 type: string
40 default: "cmp*"
41 description: Salt compound target to match nodes to be updated [*, G@osfamily:debian].
42 COMPUTE_TARGET_SUBSET_LIVE:
43 type: string
44 default: '1'
45 description: Number of selected nodes to live apply compute update.