blob: 3487ef45cf94ad0ef0127aab880d60684153d34f [file] [log] [blame]
Anton Samoylovcf7e6032019-01-16 00:48:28 +04001#
2# Jobs to update packages on given Salt master environment
3#
4parameters:
Anton Samoylovcf7e6032019-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}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +040021 credentials: ${_param:jenkins_gerrit_credentials}
Anton Samoylovcf7e6032019-01-16 00:48:28 +040022 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.
Sergey Galkin36d186a2019-11-25 17:22:07 +040046 ASK_CONFIRMATION:
47 type: boolean
48 default: 'true'