blob: 751089a03717ba231931710dd2b666f5a0ac4713 [file] [log] [blame]
Filip Pytloun7af94b32017-03-14 18:38:52 +01001parameters:
Filip Pytloun260a9502017-03-16 12:47:22 +01002 _param:
Tomáš Kukrále15675c2017-08-03 10:54:00 +02003 jenkins_deploy_jobs: []
Filip Pytloun7af94b32017-03-14 18:38:52 +01004 jenkins:
5 client:
6 job_template:
Tomáš Kukrále15675c2017-08-03 10:54:00 +02007 deploy_template:
8 name: deploy-{{stack_type}}-{{stack_name}}
9 jobs: ${_param:jenkins_deploy_jobs}
Filip Pytloun7af94b32017-03-14 18:38:52 +010010 template:
11 type: workflow-scm
Filip Pytloun260a9502017-03-16 12:47:22 +010012 discard:
13 build:
14 keep_num: 20
Filip Pytloun7af94b32017-03-14 18:38:52 +010015 concurrent: true
Tomáš Kukrále15675c2017-08-03 10:54:00 +020016 display_name: "Deploy - {{stack_name}} {{stack_type}}"
Filip Pytloun7af94b32017-03-14 18:38:52 +010017 scm:
18 type: git
19 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010020 branch: "${_param:jenkins_pipelines_branch}"
Filip Pytloun7af94b32017-03-14 18:38:52 +010021 credentials: "gerrit"
Tomáš Kukrále0870442017-07-27 18:28:11 +020022 script: cloud-deploy-pipeline.groovy
Tomáš Kukrál903a7f62017-04-13 13:21:30 +020023 trigger:
24 timer:
Tomáš Kukrále15675c2017-08-03 10:54:00 +020025 spec: "{{job_timer}}"
Filip Pytloun7af94b32017-03-14 18:38:52 +010026 param:
Tomáš Kukrále0870442017-07-27 18:28:11 +020027 # general parameters
28 ASK_ON_ERROR:
29 type: boolean
30 default: 'false'
Oleg Grigorov7aee3582017-10-31 16:02:19 +020031 SLAVE_NODE:
32 type: string
33 default: 'python'
Tomáš Kukrále0870442017-07-27 18:28:11 +020034
35 # deployments
36 STACK_NAME:
37 type: string
38 description: Heat stack name. Will be generated if missing.
Filip Pytloun260a9502017-03-16 12:47:22 +010039 STACK_TYPE:
40 type: string
41 default: "{{stack_type}}"
Jakub Josefca7e4562017-05-24 11:40:35 +020042 STACK_INSTALL:
Filip Pytloun260a9502017-03-16 12:47:22 +010043 type: string
Tomáš Kukrále15675c2017-08-03 10:54:00 +020044 default: "{{stack_install}}"
Jakub Josefca7e4562017-05-24 11:40:35 +020045 STACK_TEST:
Filip Pytloun260a9502017-03-16 12:47:22 +010046 type: string
Tomáš Kukrále15675c2017-08-03 10:54:00 +020047 default: "{{stack_test}}"
Tomáš Kukrále0870442017-07-27 18:28:11 +020048 STACK_REUSE:
49 type: boolean
50 default: 'false'
51 STACK_DELETE:
52 type: boolean
53 default: 'true'
54 description: "Don't enable it if you need to use the lab after"
55 STACK_COMPUTE_COUNT:
56 type: string
57 default: '2'
Filip Pytloun260a9502017-03-16 12:47:22 +010058
Tomáš Kukrále0870442017-07-27 18:28:11 +020059 STACK_TEMPLATE:
60 type: string
Tomáš Kukrále15675c2017-08-03 10:54:00 +020061 default: "{{stack_name}}"
Jakub Josef43f34432017-05-23 19:16:49 +020062 STACK_TEMPLATE_URL:
Filip Pytloun7af94b32017-03-14 18:38:52 +010063 type: string
Tomáš Kukrálcf72c8d2017-04-19 21:50:05 +020064 default: "${_param:jenkins_gerrit_url}/mk/heat-templates"
Jakub Josef43f34432017-05-23 19:16:49 +020065 STACK_TEMPLATE_CREDENTIALS:
Filip Pytloun7af94b32017-03-14 18:38:52 +010066 type: string
67 default: "gerrit"
Jakub Josef43f34432017-05-23 19:16:49 +020068 STACK_TEMPLATE_BRANCH:
Filip Pytloun7af94b32017-03-14 18:38:52 +010069 type: string
Tomáš Kukrál394cdbf2017-03-29 16:35:37 +020070 default: "master"
Jakub Josefca7e4562017-05-24 11:40:35 +020071 STACK_CLEANUP_JOB:
72 type: string
Jakub Josef1c271232017-06-05 11:39:34 +020073 default: 'deploy-stack-cleanup'
Filip Pytloun7af94b32017-03-14 18:38:52 +010074
Mykyta Karpinc54ab522017-11-30 12:48:29 +010075 STACK_RECLASS_ADDRESS:
76 type: string
77 default: ""
ibumarskovff68f412017-09-11 13:20:15 +040078 STACK_RECLASS_BRANCH:
79 type: string
80 default: ""
81
Tomáš Kukrále0870442017-07-27 18:28:11 +020082 # salt
Filip Pytloun7af94b32017-03-14 18:38:52 +010083 SALT_MASTER_CREDENTIALS:
84 type: string
85 default: "salt-qa-credentials"
Filip Pytloun260a9502017-03-16 12:47:22 +010086 SALT_MASTER_URL:
Filip Pytloun7af94b32017-03-14 18:38:52 +010087 type: string
Filip Pytlounaa456012017-03-24 12:49:25 +010088 default: ""
Vasyl Saienkobfe884f2017-07-27 14:50:23 +030089 SALT_OVERRIDES:
Vasyl Saienko47f23472017-07-27 14:19:00 +030090 type: text
91 default: ""
92 description: "YAML with overrides for Salt deployment"
Mykyta Karpin46590842017-10-03 11:34:02 +030093 FORMULA_PKG_REVISION:
94 type: string
95 default: ""
96 description: "Formulas revision to install on Salt Master bootstrap stage"
ibumarskov401fe452017-11-22 11:42:14 +040097 EXTRA_FORMULAS:
98 type: string
Jiri Broulik52b73152017-12-19 15:37:50 +010099 default: "maas memcached ntp nginx collectd sensu heka sphinx mysql grafana libvirt rsyslog glusterfs postfix xtrabackup freeipa prometheus telegraf elasticsearch kibana rundeck devops-portal rsync docker keepalived aptly jenkins gerrit artifactory influxdb horizon ceph"
100 STATIC_MGMT_NETWORK:
101 type: boolean
102 default: 'false'
103 description: "Check if model contains static IP address definitions for all nodes"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100104
Tomáš Kukrále0870442017-07-27 18:28:11 +0200105 # aws api
106 AWS_STACK_REGION:
107 type: string
Tomáš Kukrál1de34e32017-11-29 10:15:37 +0100108 default: "eu-central-1"
Tomáš Kukrále0870442017-07-27 18:28:11 +0200109 AWS_API_CREDENTIALS:
110 type: string
111 default: "aws-credentials"
112 AWS_SSH_KEY:
113 type: string
114 default: "jenkins-mk"
115
116 # heat
117 HEAT_STACK_ENVIRONMENT:
118 type: string
Ales Komarek4d74ebb2017-08-07 12:57:14 +0200119 default: "{{stack_env}}"
Tomáš Kukrále0870442017-07-27 18:28:11 +0200120 HEAT_STACK_ZONE:
121 type: string
122 default: "mcp-mk"
123 HEAT_STACK_PUBLIC_NET:
124 type: string
125 default: "public"
126
Filip Pytloun7af94b32017-03-14 18:38:52 +0100127 # openstack api
128 OPENSTACK_API_URL:
129 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200130 default: "https://cloud-cz.bud.mirantis.net:5000"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100131 OPENSTACK_API_CREDENTIALS:
132 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200133 default: "openstack-devcloud-credentials"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100134 OPENSTACK_API_PROJECT:
135 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200136 default: "mcp-mk"
Tomáš Kukrále0870442017-07-27 18:28:11 +0200137 OPENSTACK_API_PROJECT_DOMAIN:
138 type: string
Tomáš Kukrálb6f15222017-08-02 11:11:56 +0200139 default: "default"
Tomáš Kukrále0870442017-07-27 18:28:11 +0200140 OPENSTACK_API_PROJECT_ID:
141 type: string
142 default: ""
143 OPENSTACK_API_USER_DOMAIN:
144 type: string
145 default: "default"
146
Filip Pytloun7af94b32017-03-14 18:38:52 +0100147 OPENSTACK_API_CLIENT:
148 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200149 default: ""
Filip Pytloun7af94b32017-03-14 18:38:52 +0100150 OPENSTACK_API_VERSION:
151 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200152 default: "3"
Filip Pytloun260a9502017-03-16 12:47:22 +0100153
Tomáš Kukrále15675c2017-08-03 10:54:00 +0200154 # test
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200155 TEST_K8S_API_SERVER:
Filip Pytloun260a9502017-03-16 12:47:22 +0100156 type: string
157 default: "http://127.0.0.1:8080"
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200158 TEST_K8S_CONFORMANCE_IMAGE:
Filip Pytloun260a9502017-03-16 12:47:22 +0100159 type: string
vrovachev7e709802017-09-15 20:04:26 +0400160 default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.7.5-2_1504192939316"
Filip Pytloun260a9502017-03-16 12:47:22 +0100161
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200162 TEST_TEMPEST_IMAGE:
Filip Pytloun260a9502017-03-16 12:47:22 +0100163 type: string
Tomáš Kukrále15675c2017-08-03 10:54:00 +0200164 description: "Tempest docker image"
Oleksandr Kosse05a98112017-09-28 17:38:55 +0300165 default: "docker-prod-local.artifactory.mirantis.com/mirantis/oscore/rally-tempest"
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200166 TEST_TEMPEST_TARGET:
Vasyl Saienko68f2e4b2017-07-20 12:40:24 +0300167 type: string
168 description: "Node to run tests"
169 default: ""
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200170 TEST_DOCKER_INSTALL:
Vasyl Saienko68f2e4b2017-07-20 12:40:24 +0300171 type: boolean
172 description: "Install docker on the target if true"
173 default: "true"
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200174 TEST_TEMPEST_PATTERN:
Vasyl Saienko68f2e4b2017-07-20 12:40:24 +0300175 type: string
176 description: "Run tests matched to pattern only"
177 default: ""
Filip Pytloun260a9502017-03-16 12:47:22 +0100178