Oleksandr Bryndzii | 149c56e | 2019-05-08 17:18:21 +0300 | [diff] [blame] | 1 | # |
| 2 | # Jobs to upgrade RabbitMQ packages on given Salt master environment |
| 3 | # |
| 4 | parameters: |
| 5 | jenkins: |
| 6 | client: |
| 7 | job: |
| 8 | deploy-upgrade-rabbitmq: |
| 9 | type: workflow-scm |
| 10 | concurrent: true |
| 11 | discard: |
| 12 | build: |
| 13 | keep_num: 10 |
| 14 | artifact: |
| 15 | keep_num: 10 |
| 16 | display_name: "Deploy - upgrade RabbitMQ server" |
| 17 | scm: |
| 18 | type: git |
| 19 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 20 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | 4cf87b9 | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 21 | credentials: ${_param:jenkins_gerrit_credentials} |
Oleksandr Bryndzii | 149c56e | 2019-05-08 17:18:21 +0300 | [diff] [blame] | 22 | script: openstack-rabbitmq-upgrade.groovy |
| 23 | param: |
| 24 | SALT_MASTER_URL: |
| 25 | type: string |
| 26 | default: "${_param:jenkins_salt_api_url}" |
| 27 | SALT_MASTER_CREDENTIALS: |
| 28 | type: string |
| 29 | default: "salt" |
| 30 | OS_DIST_UPGRADE: |
| 31 | type: boolean |
| 32 | default: 'false' |
| 33 | description: "Upgrade system packages including kernel (apt-get dist-upgrade)" |
| 34 | OS_UPGRADE: |
| 35 | type: boolean |
| 36 | default: 'false' |
| 37 | description: "Upgrade all installed applications (apt-get upgrade)" |
| 38 | INTERACTIVE: |
| 39 | type: boolean |
| 40 | default: 'true' |
| 41 | description: "Ask interactive questions during pipeline run (bool)" |
| 42 | TARGET_SERVERS: |
| 43 | type: string |
| 44 | default: 'msg*' |
| 45 | description: "Salt compound expression to get messaging servers to upgrade." |
| 46 | |