blob: ff4a35feb0acb684765e909c93ad1df049d080cf [file] [log] [blame]
Jakub Josefbd98e6b2018-01-10 14:15:07 +01001parameters:
2 jenkins:
3 client:
4 job:
5 deploy_aws_k8s_kqueen_job:
6 name: deploy-aws-k8s-kqueen
7 type: workflow-scm
8 discard:
9 build:
Jakub Josef1a828962018-01-23 12:33:34 +010010 keep_num: 50
Jakub Josefbd98e6b2018-01-10 14:15:07 +010011 concurrent: true
12 display_name: "Deploy AWS K8S using kqueen"
13 scm:
14 type: git
15 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
16 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +040017 credentials: ${_param:jenkins_gerrit_credentials}
Jakub Josefbd98e6b2018-01-10 14:15:07 +010018 script: deploy-aws-k8s-kqueen-pipeline.groovy
19 param:
20 # deployments
21 STACK_NAME:
22 type: string
23 description: "AWS stack name - mandatory param, will be used as is"
24 STACK_COMPUTE_COUNT:
25 type: string
26 default: '2'
27
28 STACK_TEMPLATE:
29 type: string
30 default: "k8s_ha_calico_sm"
31 STACK_TEMPLATE_URL:
32 type: string
33 default: "${_param:jenkins_gerrit_url}/mk/heat-templates"
34 STACK_TEMPLATE_CREDENTIALS:
35 type: string
Ivan Berezovskiy76889ed2019-07-08 19:31:50 +040036 default: ${_param:jenkins_gerrit_credentials}
Jakub Josefbd98e6b2018-01-10 14:15:07 +010037 STACK_TEMPLATE_BRANCH:
38 type: string
39 default: "master"
40
41 # salt
42 SALT_MASTER_CREDENTIALS:
43 type: string
44 default: "salt-qa-credentials"
45 SALT_MASTER_URL:
46 type: string
47 default: ""
vnaumov3a8c0e82018-04-25 15:10:35 +040048 SALT_OVERRIDES:
49 type: text
50 default: ""
51 description: YAML with overrides for Salt deployment
Jakub Josefbd98e6b2018-01-10 14:15:07 +010052
53 # aws api
54 AWS_STACK_REGION:
55 type: string
vnaumovad916012018-05-11 18:26:30 +040056 default: "us-west-2"
Jakub Josefbd98e6b2018-01-10 14:15:07 +010057 AWS_API_CREDENTIALS:
58 type: string
vnaumovb7316cf2018-05-08 14:56:00 +040059 default: "kqueen-aws"
Jakub Josefbd98e6b2018-01-10 14:15:07 +010060 AWS_SSH_KEY:
61 type: string
62 default: "jenkins-mk"
63 KQUEEN_BUILD_ID:
64 type: string
Jakub Joseff2980bc2018-02-01 14:03:00 +010065 deploy_heat_k8s_kqueen_job:
66 name: deploy-heat-k8s-kqueen
67 type: workflow-scm
68 discard:
69 build:
70 keep_num: 50
71 concurrent: true
72 display_name: "Deploy Heat K8S using kqueen"
73 scm:
74 type: git
75 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
76 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +040077 credentials: ${_param:jenkins_gerrit_credentials}
Jakub Joseff2980bc2018-02-01 14:03:00 +010078 script: deploy-heat-k8s-kqueen-pipeline.groovy
79 param:
80 # deployments
81 STACK_NAME:
82 type: string
83 description: "AWS stack name - mandatory param, will be used as is"
84 STACK_COMPUTE_COUNT:
85 type: string
86 default: '2'
Jakub Josefbd98e6b2018-01-10 14:15:07 +010087
Jakub Joseff2980bc2018-02-01 14:03:00 +010088 STACK_TEMPLATE:
89 type: string
Jakub Josefeb372ea2018-02-01 17:34:42 +010090 default: "k8s_ha_calico"
Jakub Joseff2980bc2018-02-01 14:03:00 +010091 STACK_TEMPLATE_URL:
92 type: string
93 default: "${_param:jenkins_gerrit_url}/mk/heat-templates"
94 STACK_TEMPLATE_CREDENTIALS:
95 type: string
Ivan Berezovskiy76889ed2019-07-08 19:31:50 +040096 default: ${_param:jenkins_gerrit_credentials}
Jakub Joseff2980bc2018-02-01 14:03:00 +010097 STACK_TEMPLATE_BRANCH:
98 type: string
99 default: "master"
100
101 # salt
102 SALT_MASTER_CREDENTIALS:
103 type: string
104 default: "salt-qa-credentials"
105 SALT_MASTER_URL:
106 type: string
107 default: ""
108
109 # heat
110 HEAT_STACK_ENVIRONMENT:
111 type: string
112 default: "devcloud"
113 HEAT_STACK_ZONE:
114 type: string
115 default: "mcp-mk"
116 HEAT_STACK_PUBLIC_NET:
117 type: string
118 default: "public"
119
120 # openstack api
121 OPENSTACK_API_URL:
122 type: string
123 default: "https://cloud-cz.bud.mirantis.net:5000"
124 OPENSTACK_API_CREDENTIALS:
125 type: string
126 default: "openstack-devcloud-credentials"
127 OPENSTACK_API_PROJECT:
128 type: string
129 default: "mcp-mk"
Jakub Josef7c8a8282018-02-01 18:09:08 +0100130 KQUEEN_BUILD_ID:
131 type: string