Jiri Broulik | 132578e | 2017-06-02 12:26:25 +0200 | [diff] [blame] | 1 | # |
| 2 | # Jobs to update packages on given Salt master environment |
| 3 | # |
| 4 | parameters: |
| 5 | _param: |
| 6 | jenkins_salt_api_url: "http://${_param:salt_master_host}:6969" |
| 7 | jenkins: |
| 8 | client: |
| 9 | job: |
Jiri Broulik | 0c2b843 | 2017-06-16 12:04:32 +0200 | [diff] [blame] | 10 | deploy-upgrade-compute: |
Jiri Broulik | 132578e | 2017-06-02 12:26:25 +0200 | [diff] [blame] | 11 | type: workflow-scm |
| 12 | concurrent: true |
| 13 | display_name: "Deploy - upgrade computes" |
| 14 | scm: |
| 15 | type: git |
| 16 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Jakub Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 17 | branch: "${_param:jenkins_pipelines_branch}" |
Jiri Broulik | 132578e | 2017-06-02 12:26:25 +0200 | [diff] [blame] | 18 | credentials: "gerrit" |
| 19 | script: openstack-compute-upgrade.groovy |
| 20 | param: |
| 21 | SALT_MASTER_URL: |
| 22 | type: string |
| 23 | default: "${_param:jenkins_salt_api_url}" |
| 24 | SALT_MASTER_CREDENTIALS: |
| 25 | type: string |
| 26 | default: "salt" |
| 27 | TARGET_SERVERS: |
| 28 | type: string |
Jiri Broulik | b339451 | 2017-07-13 12:27:48 +0200 | [diff] [blame] | 29 | default: "cmp*" |
Jiri Broulik | 132578e | 2017-06-02 12:26:25 +0200 | [diff] [blame] | 30 | description: Salt compound target to match nodes to be updated [*, G@osfamily:debian]. |
Jiri Broulik | 132578e | 2017-06-02 12:26:25 +0200 | [diff] [blame] | 31 | TARGET_SUBSET_TEST: |
| 32 | type: string |
| 33 | description: Number of nodes to list package updates, empty string means all targetted nodes. |
| 34 | TARGET_SUBSET_LIVE: |
| 35 | type: string |
| 36 | default: '1' |
Jiri Broulik | b339451 | 2017-07-13 12:27:48 +0200 | [diff] [blame] | 37 | description: Number of selected nodes to live apply upgrade. |