blob: 72ea87050fde14563a15da642d567ebfa822ed54 [file] [log] [blame]
Anton Samoylovcf7e6032019-01-16 00:48:28 +04001#
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-update-opencontrail4:
11 type: workflow-scm
12 concurrent: true
13 discard:
14 build:
15 keep_num: 10
16 artifact:
17 keep_num: 10
18 display_name: "Deploy - update Opencontrail 4X"
19 scm:
20 type: git
21 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
22 branch: "${_param:jenkins_pipelines_branch}"
23 credentials: "gerrit"
24 script: opencontrail4-update.groovy
25 param:
26 SALT_MASTER_URL:
27 type: string
28 default: "${_param:jenkins_salt_api_url}"
29 SALT_MASTER_CREDENTIALS:
30 type: string
31 default: "salt"
32 STAGE_CONTROLLERS_UPDATE:
33 type: boolean
34 default: 'true'
35 description: "Run update on Opencontrail controllers"
36 STAGE_COMPUTES_UPDATE:
37 type: boolean
38 default: 'true'
39 description: "Run update on Opencontrail compute nodes"
40 COMPUTE_TARGET_SERVERS:
41 type: string
42 default: "cmp*"
43 description: Salt compound target to match nodes to be updated [*, G@osfamily:debian].
44 COMPUTE_TARGET_SUBSET_LIVE:
45 type: string
46 default: '1'
47 description: Number of selected nodes to live apply compute update.