blob: d7279a62795bec33606cb1adb9d5da8b296895ed [file] [log] [blame]
vitalyguseve9f137f2018-09-26 15:45:25 +04001#
2# Jobs to process Stacklight update
3#
4parameters:
5 _param:
6 jenkins_salt_api_url: "http://${_param:salt_master_host}:6969"
7 jenkins:
8 client:
9 job:
10 stacklight-upgrade:
11 type: workflow-scm
12 concurrent: true
13 display_name: "Deploy - upgrade Stacklight"
14 discard:
15 build:
16 keep_num: 50
17 scm:
18 type: git
19 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
20 branch: "${_param:jenkins_pipelines_branch}"
21 credentials: "gerrit"
22 script: stacklight-upgrade.groovy
23 param:
24 SALT_MASTER_URL:
25 type: string
26 description: URL of Salt master
27 default: "${_param:jenkins_salt_api_url}"
28 SALT_MASTER_CREDENTIALS:
29 type: string
30 description: "Credentials for login to Salt API"
31 default: salt
32 STAGE_UPGRADE_SYSTEM_PART:
33 type: boolean
34 default: 'true'
35 description: "Set to True if upgrade of system part (telegraf, fluentd, prometheus-relay) is desired"
36 STAGE_UPGRADE_ES_KIBANA:
37 type: boolean
38 default: 'true'
39 description: "Set to True if Elasticsearch and Kibana upgrade is desired"
40 STAGE_UPGRADE_DOCKER_COMPONENTS:
41 type: boolean
42 default: 'true'
43 description: "Set to True if upgrade for components running in Docker Swarm is desired"