Filip Pytloun | 4bd7023 | 2017-07-03 11:11:39 +0200 | [diff] [blame] | 1 | parameters: |
| 2 | jenkins: |
| 3 | client: |
| 4 | job: |
| 5 | deploy_k8s_control: |
| 6 | type: workflow-scm |
| 7 | name: deploy-k8s-control |
| 8 | display_name: "Deploy - k8s control" |
| 9 | discard: |
| 10 | build: |
| 11 | keep_num: 20 |
| 12 | concurrent: false |
| 13 | scm: |
| 14 | type: git |
| 15 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Jakub Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame^] | 16 | branch: "${_param:jenkins_pipelines_branch}" |
Filip Pytloun | 4bd7023 | 2017-07-03 11:11:39 +0200 | [diff] [blame] | 17 | credentials: "gerrit" |
| 18 | script: deploy-k8s-deployments.groovy |
| 19 | param: |
| 20 | # deployments and test settings |
| 21 | TARGET_MINIONS: |
| 22 | type: string |
| 23 | default: "E@k8s-ctl01.*" |
Filip Pytloun | 74d5a5a | 2017-07-03 11:20:33 +0200 | [diff] [blame] | 24 | description: "Salt compound target to match nodes to be updated [*, G@osfamily:debian]." |
Filip Pytloun | 4684eaa | 2017-07-03 12:21:56 +0200 | [diff] [blame] | 25 | EXTRA_COMMAND: |
| 26 | type: string |
| 27 | default: "" |
| 28 | description: "Extra command to run before update" |
Filip Pytloun | 4bd7023 | 2017-07-03 11:11:39 +0200 | [diff] [blame] | 29 | # salt master |
| 30 | SALT_MASTER_CREDENTIALS: |
| 31 | type: string |
| 32 | default: "salt" |
| 33 | SALT_MASTER_URL: |
| 34 | type: string |
Filip Pytloun | 74d5a5a | 2017-07-03 11:20:33 +0200 | [diff] [blame] | 35 | default: "${_param:jenkins_salt_api_url}" |