blob: 308b61302fbb8f64eda7fe0b5fc18af32972c2ae [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"
20 credentials: "gerrit"
Tomáš Kukrále0870442017-07-27 18:28:11 +020021 script: cloud-deploy-pipeline.groovy
Tomáš Kukrál903a7f62017-04-13 13:21:30 +020022 trigger:
23 timer:
Tomáš Kukrále15675c2017-08-03 10:54:00 +020024 spec: "{{job_timer}}"
Filip Pytloun7af94b32017-03-14 18:38:52 +010025 param:
Tomáš Kukrále0870442017-07-27 18:28:11 +020026 # general parameters
27 ASK_ON_ERROR:
28 type: boolean
29 default: 'false'
Oleg Grigorov7aee3582017-10-31 16:02:19 +020030 SLAVE_NODE:
31 type: string
32 default: 'python'
Tomáš Kukrále0870442017-07-27 18:28:11 +020033
34 # deployments
35 STACK_NAME:
36 type: string
37 description: Heat stack name. Will be generated if missing.
Filip Pytloun260a9502017-03-16 12:47:22 +010038 STACK_TYPE:
39 type: string
40 default: "{{stack_type}}"
Jakub Josefca7e4562017-05-24 11:40:35 +020041 STACK_INSTALL:
Filip Pytloun260a9502017-03-16 12:47:22 +010042 type: string
Tomáš Kukrále15675c2017-08-03 10:54:00 +020043 default: "{{stack_install}}"
Jakub Josefca7e4562017-05-24 11:40:35 +020044 STACK_TEST:
Filip Pytloun260a9502017-03-16 12:47:22 +010045 type: string
Tomáš Kukrále15675c2017-08-03 10:54:00 +020046 default: "{{stack_test}}"
Tomáš Kukrále0870442017-07-27 18:28:11 +020047 STACK_REUSE:
48 type: boolean
49 default: 'false'
50 STACK_DELETE:
51 type: boolean
52 default: 'true'
53 description: "Don't enable it if you need to use the lab after"
54 STACK_COMPUTE_COUNT:
55 type: string
56 default: '2'
Filip Pytloun260a9502017-03-16 12:47:22 +010057
Tomáš Kukrále0870442017-07-27 18:28:11 +020058 STACK_TEMPLATE:
59 type: string
Tomáš Kukrále15675c2017-08-03 10:54:00 +020060 default: "{{stack_name}}"
Jakub Josef43f34432017-05-23 19:16:49 +020061 STACK_TEMPLATE_URL:
Filip Pytloun7af94b32017-03-14 18:38:52 +010062 type: string
Tomáš Kukrálcf72c8d2017-04-19 21:50:05 +020063 default: "${_param:jenkins_gerrit_url}/mk/heat-templates"
Jakub Josef43f34432017-05-23 19:16:49 +020064 STACK_TEMPLATE_CREDENTIALS:
Filip Pytloun7af94b32017-03-14 18:38:52 +010065 type: string
66 default: "gerrit"
Jakub Josef43f34432017-05-23 19:16:49 +020067 STACK_TEMPLATE_BRANCH:
Filip Pytloun7af94b32017-03-14 18:38:52 +010068 type: string
Tomáš Kukrál394cdbf2017-03-29 16:35:37 +020069 default: "master"
Jakub Josefca7e4562017-05-24 11:40:35 +020070 STACK_CLEANUP_JOB:
71 type: string
Jakub Josef1c271232017-06-05 11:39:34 +020072 default: 'deploy-stack-cleanup'
Filip Pytloun7af94b32017-03-14 18:38:52 +010073
Mykyta Karpinc54ab522017-11-30 12:48:29 +010074 STACK_RECLASS_ADDRESS:
75 type: string
76 default: ""
ibumarskovff68f412017-09-11 13:20:15 +040077 STACK_RECLASS_BRANCH:
78 type: string
79 default: ""
80
Tomáš Kukrále0870442017-07-27 18:28:11 +020081 # salt
Filip Pytloun7af94b32017-03-14 18:38:52 +010082 SALT_MASTER_CREDENTIALS:
83 type: string
84 default: "salt-qa-credentials"
Filip Pytloun260a9502017-03-16 12:47:22 +010085 SALT_MASTER_URL:
Filip Pytloun7af94b32017-03-14 18:38:52 +010086 type: string
Filip Pytlounaa456012017-03-24 12:49:25 +010087 default: ""
Vasyl Saienkobfe884f2017-07-27 14:50:23 +030088 SALT_OVERRIDES:
Vasyl Saienko47f23472017-07-27 14:19:00 +030089 type: text
90 default: ""
91 description: "YAML with overrides for Salt deployment"
Mykyta Karpin46590842017-10-03 11:34:02 +030092 FORMULA_PKG_REVISION:
93 type: string
94 default: ""
95 description: "Formulas revision to install on Salt Master bootstrap stage"
ibumarskov401fe452017-11-22 11:42:14 +040096 EXTRA_FORMULAS:
97 type: string
98 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"
Filip Pytloun7af94b32017-03-14 18:38:52 +010099
Tomáš Kukrále0870442017-07-27 18:28:11 +0200100 # aws api
101 AWS_STACK_REGION:
102 type: string
Tomáš Kukrál1de34e32017-11-29 10:15:37 +0100103 default: "eu-central-1"
Tomáš Kukrále0870442017-07-27 18:28:11 +0200104 AWS_API_CREDENTIALS:
105 type: string
106 default: "aws-credentials"
107 AWS_SSH_KEY:
108 type: string
109 default: "jenkins-mk"
110
111 # heat
112 HEAT_STACK_ENVIRONMENT:
113 type: string
Ales Komarek4d74ebb2017-08-07 12:57:14 +0200114 default: "{{stack_env}}"
Tomáš Kukrále0870442017-07-27 18:28:11 +0200115 HEAT_STACK_ZONE:
116 type: string
117 default: "mcp-mk"
118 HEAT_STACK_PUBLIC_NET:
119 type: string
120 default: "public"
121
Filip Pytloun7af94b32017-03-14 18:38:52 +0100122 # openstack api
123 OPENSTACK_API_URL:
124 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200125 default: "https://cloud-cz.bud.mirantis.net:5000"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100126 OPENSTACK_API_CREDENTIALS:
127 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200128 default: "openstack-devcloud-credentials"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100129 OPENSTACK_API_PROJECT:
130 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200131 default: "mcp-mk"
Tomáš Kukrále0870442017-07-27 18:28:11 +0200132 OPENSTACK_API_PROJECT_DOMAIN:
133 type: string
Tomáš Kukrálb6f15222017-08-02 11:11:56 +0200134 default: "default"
Tomáš Kukrále0870442017-07-27 18:28:11 +0200135 OPENSTACK_API_PROJECT_ID:
136 type: string
137 default: ""
138 OPENSTACK_API_USER_DOMAIN:
139 type: string
140 default: "default"
141
Filip Pytloun7af94b32017-03-14 18:38:52 +0100142 OPENSTACK_API_CLIENT:
143 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200144 default: ""
Filip Pytloun7af94b32017-03-14 18:38:52 +0100145 OPENSTACK_API_VERSION:
146 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200147 default: "3"
Filip Pytloun260a9502017-03-16 12:47:22 +0100148
Tomáš Kukrále15675c2017-08-03 10:54:00 +0200149 # test
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200150 TEST_K8S_API_SERVER:
Filip Pytloun260a9502017-03-16 12:47:22 +0100151 type: string
152 default: "http://127.0.0.1:8080"
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200153 TEST_K8S_CONFORMANCE_IMAGE:
Filip Pytloun260a9502017-03-16 12:47:22 +0100154 type: string
vrovachev7e709802017-09-15 20:04:26 +0400155 default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.7.5-2_1504192939316"
Filip Pytloun260a9502017-03-16 12:47:22 +0100156
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200157 TEST_TEMPEST_IMAGE:
Filip Pytloun260a9502017-03-16 12:47:22 +0100158 type: string
Tomáš Kukrále15675c2017-08-03 10:54:00 +0200159 description: "Tempest docker image"
Oleksandr Kosse05a98112017-09-28 17:38:55 +0300160 default: "docker-prod-local.artifactory.mirantis.com/mirantis/oscore/rally-tempest"
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200161 TEST_TEMPEST_TARGET:
Vasyl Saienko68f2e4b2017-07-20 12:40:24 +0300162 type: string
163 description: "Node to run tests"
164 default: ""
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200165 TEST_DOCKER_INSTALL:
Vasyl Saienko68f2e4b2017-07-20 12:40:24 +0300166 type: boolean
167 description: "Install docker on the target if true"
168 default: "true"
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200169 TEST_TEMPEST_PATTERN:
Vasyl Saienko68f2e4b2017-07-20 12:40:24 +0300170 type: string
171 description: "Run tests matched to pattern only"
172 default: ""
Filip Pytloun260a9502017-03-16 12:47:22 +0100173