Add job for stacklight upgrade
Closes-Bug: PROD-21754 (PROD:21754)
Change-Id: I31b8268f7275c00826578e06a9052cda0ba3f125
diff --git a/jenkins/client/job/deploy/update/upgrade_stacklight.yml b/jenkins/client/job/deploy/update/upgrade_stacklight.yml
new file mode 100644
index 0000000..d7279a6
--- /dev/null
+++ b/jenkins/client/job/deploy/update/upgrade_stacklight.yml
@@ -0,0 +1,43 @@
+#
+# Jobs to process Stacklight update
+#
+parameters:
+ _param:
+ jenkins_salt_api_url: "http://${_param:salt_master_host}:6969"
+ jenkins:
+ client:
+ job:
+ stacklight-upgrade:
+ type: workflow-scm
+ concurrent: true
+ display_name: "Deploy - upgrade Stacklight"
+ discard:
+ build:
+ keep_num: 50
+ scm:
+ type: git
+ url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
+ branch: "${_param:jenkins_pipelines_branch}"
+ credentials: "gerrit"
+ script: stacklight-upgrade.groovy
+ param:
+ SALT_MASTER_URL:
+ type: string
+ description: URL of Salt master
+ default: "${_param:jenkins_salt_api_url}"
+ SALT_MASTER_CREDENTIALS:
+ type: string
+ description: "Credentials for login to Salt API"
+ default: salt
+ STAGE_UPGRADE_SYSTEM_PART:
+ type: boolean
+ default: 'true'
+ description: "Set to True if upgrade of system part (telegraf, fluentd, prometheus-relay) is desired"
+ STAGE_UPGRADE_ES_KIBANA:
+ type: boolean
+ default: 'true'
+ description: "Set to True if Elasticsearch and Kibana upgrade is desired"
+ STAGE_UPGRADE_DOCKER_COMPONENTS:
+ type: boolean
+ default: 'true'
+ description: "Set to True if upgrade for components running in Docker Swarm is desired"