vitalygusev | e9f137f | 2018-09-26 15:45:25 +0400 | [diff] [blame] | 1 | # |
| 2 | # Jobs to process Stacklight update |
| 3 | # |
| 4 | parameters: |
vitalygusev | e9f137f | 2018-09-26 15:45:25 +0400 | [diff] [blame] | 5 | 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 Galkin | ef9eabf | 2019-06-19 17:53:07 +0400 | [diff] [blame^] | 19 | credentials: ${_param:jenkins_gerrit_credentials} |
vitalygusev | e9f137f | 2018-09-26 15:45:25 +0400 | [diff] [blame] | 20 | 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" |