blob: 57747e49df57ff778f3cf1be3b6bfbfa964ba3a7 [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"