blob: 64c3affc2494ea0f932f883fbb45c224f55b90ff [file] [log] [blame]
Jiri Broulikb3394512017-07-13 12:27:48 +02001#
2# Jobs to update packages on given Salt master environment
3#
4parameters:
Jiri Broulikb3394512017-07-13 12:27:48 +02005 jenkins:
6 client:
7 job:
8 deploy-upgrade-opencontrail:
9 type: workflow-scm
10 concurrent: true
Alexander Evseev4589d712018-08-03 12:36:15 +020011 discard:
12 build:
13 keep_num: 10
14 artifact:
15 keep_num: 10
Jiri Broulikb3394512017-07-13 12:27:48 +020016 display_name: "Deploy - upgrade Opencontrail"
17 scm:
18 type: git
19 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010020 branch: "${_param:jenkins_pipelines_branch}"
Jiri Broulikb3394512017-07-13 12:27:48 +020021 credentials: "gerrit"
22 script: opencontrail-upgrade.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_UPGRADE:
31 type: boolean
32 default: 'true'
33 description: "Run upgrade on Opencontrail controllers"
34 STAGE_ANALYTICS_UPGRADE:
35 type: boolean
36 default: 'true'
37 description: "Run upgrade on Opencontrail analytics"
38 STAGE_COMPUTES_UPGRADE:
39 type: boolean
40 default: 'true'
41 description: "Run upgrade on Opencontrail compute nodes"
42 COMPUTE_TARGET_SERVERS:
43 type: string
44 default: "cmp*"
45 description: Salt compound target to match nodes to be updated [*, G@osfamily:debian].
46 COMPUTE_TARGET_SUBSET_LIVE:
47 type: string
48 default: '1'
49 description: Number of selected nodes to live apply compute upgrade.
Jiri Broulik5f65bc62017-07-13 23:37:22 +020050 STAGE_CONTROLLERS_ROLLBACK:
51 type: boolean
52 default: 'false'
53 description: "Run rollback on Opencontrail controllers"
54 STAGE_ANALYTICS_ROLLBACK:
55 type: boolean
56 default: 'false'
57 description: "Run rollback on Opencontrail analytics"
58 STAGE_COMPUTES_ROLLBACK:
59 type: boolean
60 default: 'false'
61 description: "Run rollback on Opencontrail compute nodes"