blob: f043de8fd8e3c062c6b7c914e04971fec31f4b63 [file] [log] [blame]
vitalyguseve9f137f2018-09-26 15:45:25 +04001#
2# Jobs to process Stacklight update
3#
4parameters:
vitalyguseve9f137f2018-09-26 15:45:25 +04005 jenkins:
6 client:
7 job:
8 stacklight-upgrade:
9 type: workflow-scm
10 concurrent: true
11 display_name: "Deploy - upgrade Stacklight"
12 discard:
13 build:
14 keep_num: 50
15 scm:
16 type: git
17 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
18 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +040019 credentials: ${_param:jenkins_gerrit_credentials}
vitalyguseve9f137f2018-09-26 15:45:25 +040020 script: stacklight-upgrade.groovy
21 param:
22 SALT_MASTER_URL:
23 type: string
24 description: URL of Salt master
25 default: "${_param:jenkins_salt_api_url}"
26 SALT_MASTER_CREDENTIALS:
27 type: string
28 description: "Credentials for login to Salt API"
29 default: salt
30 STAGE_UPGRADE_SYSTEM_PART:
31 type: boolean
32 default: 'true'
33 description: "Set to True if upgrade of system part (telegraf, fluentd, prometheus-relay) is desired"
34 STAGE_UPGRADE_ES_KIBANA:
35 type: boolean
36 default: 'true'
37 description: "Set to True if Elasticsearch and Kibana upgrade is desired"
38 STAGE_UPGRADE_DOCKER_COMPONENTS:
39 type: boolean
40 default: 'true'
41 description: "Set to True if upgrade for components running in Docker Swarm is desired"
Ivan Berezovskiy4800ead2020-03-20 14:07:54 +040042 OS_UPGRADE:
43 type: boolean
44 default: 'false'
45 description: 'Run apt-get upgrade on Stacklight nodes'
46 OS_DIST_UPGRADE:
47 type: boolean
48 default: 'false'
49 description: 'Run apt-get dist-upgrade on Stacklight nodes and reboot to apply changes'