blob: 8864529028e8ff968a41983528002f9ff6aedb3f [file] [log] [blame]
sgarbuz96a6c792019-07-04 12:05:10 +03001#
2# Jobs to upgrade Galera packages on given Salt master environment
3#
4parameters:
5 jenkins:
6 client:
7 job:
8 deploy-upgrade-galera:
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 - upgrade Galera cluster"
17 scm:
18 type: git
19 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
20 branch: "${_param:jenkins_pipelines_branch}"
21 credentials: ${_param:jenkins_gerrit_credentials}
22 script: openstack-galera-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"
sgarbuz96a6c792019-07-04 12:05:10 +030030 SHUTDOWN_CLUSTER:
31 type: boolean
32 default: 'false'
33 description: "Shutdown all mysql instances on target nodes during upgrade"
34 OS_DIST_UPGRADE:
35 type: boolean
36 default: 'false'
37 description: "Upgrade system packages including kernel (apt-get dist-upgrade)"
38 OS_UPGRADE:
39 type: boolean
40 default: 'false'
41 description: "Upgrade all installed applications (apt-get upgrade)"
42 INTERACTIVE:
43 type: boolean
44 default: 'true'
45 description: "Ask interactive questions during pipeline run (bool)"
46 TARGET_SERVERS:
47 type: string
48 default: 'dbs*'
49 description: "Salt compound expression to get mysql servers to upgrade."