Alena Kiseleva | dd07801 | 2018-12-13 17:28:08 +0300 | [diff] [blame] | 1 | # |
| 2 | # Jobs to run given states on given Salt master environment's |
| 3 | # |
| 4 | parameters: |
| 5 | _param: |
| 6 | jenkins_salt_api_url: "http://${_param:salt_master_host}:6969" |
| 7 | jenkins: |
| 8 | client: |
| 9 | job: |
| 10 | ceph-update: |
| 11 | type: workflow-scm |
| 12 | concurrent: true |
| 13 | discard: |
| 14 | build: |
| 15 | keep_num: 10 |
| 16 | artifact: |
| 17 | keep_num: 10 |
| 18 | display_name: "Update ceph packages" |
| 19 | scm: |
| 20 | type: git |
| 21 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 22 | branch: "${_param:jenkins_pipelines_branch}" |
| 23 | credentials: "gerrit" |
| 24 | script: update-ceph.groovy |
| 25 | param: |
| 26 | SALT_MASTER_URL: |
| 27 | type: string |
| 28 | default: "${_param:jenkins_salt_api_url}" |
| 29 | description: Full Salt API address [https://10.10.10.1:8000]. |
| 30 | SALT_MASTER_CREDENTIALS: |
| 31 | type: string |
| 32 | default: "salt" |
| 33 | description: Credentials to the Salt API. |
| 34 | TARGET_SERVERS: |
| 35 | type: string |
| 36 | default: "*" |
| 37 | description: Salt compound target to match nodes to be updated [*, G@osfamily:debian]. |