blob: f8511767b15e630ba29f40e98bf038ce11d6967f [file] [log] [blame]
Filip Pytloun4bd70232017-07-03 11:11:39 +02001parameters:
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 Josef7938b532017-12-12 18:02:03 +010016 branch: "${_param:jenkins_pipelines_branch}"
Filip Pytloun4bd70232017-07-03 11:11:39 +020017 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 Pytloun74d5a5a2017-07-03 11:20:33 +020024 description: "Salt compound target to match nodes to be updated [*, G@osfamily:debian]."
Filip Pytloun4684eaa2017-07-03 12:21:56 +020025 EXTRA_COMMAND:
26 type: string
27 default: ""
28 description: "Extra command to run before update"
Filip Pytloun4bd70232017-07-03 11:11:39 +020029 # salt master
30 SALT_MASTER_CREDENTIALS:
31 type: string
32 default: "salt"
33 SALT_MASTER_URL:
34 type: string
Filip Pytloun74d5a5a2017-07-03 11:20:33 +020035 default: "${_param:jenkins_salt_api_url}"