blob: 5520bc1d38ea23cfc2728ffcd6d5c9d09ca66bc9 [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
ibumarskovff68f412017-09-11 13:20:15 +040074 STACK_RECLASS_BRANCH:
75 type: string
76 default: ""
77
Tomáš Kukrále0870442017-07-27 18:28:11 +020078 # salt
Filip Pytloun7af94b32017-03-14 18:38:52 +010079 SALT_MASTER_CREDENTIALS:
80 type: string
81 default: "salt-qa-credentials"
Filip Pytloun260a9502017-03-16 12:47:22 +010082 SALT_MASTER_URL:
Filip Pytloun7af94b32017-03-14 18:38:52 +010083 type: string
Filip Pytlounaa456012017-03-24 12:49:25 +010084 default: ""
Vasyl Saienkobfe884f2017-07-27 14:50:23 +030085 SALT_OVERRIDES:
Vasyl Saienko47f23472017-07-27 14:19:00 +030086 type: text
87 default: ""
88 description: "YAML with overrides for Salt deployment"
Mykyta Karpin46590842017-10-03 11:34:02 +030089 FORMULA_PKG_REVISION:
90 type: string
91 default: ""
92 description: "Formulas revision to install on Salt Master bootstrap stage"
ibumarskov401fe452017-11-22 11:42:14 +040093 EXTRA_FORMULAS:
94 type: string
95 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 +010096
Tomáš Kukrále0870442017-07-27 18:28:11 +020097 # aws api
98 AWS_STACK_REGION:
99 type: string
Tomáš Kukrál1de34e32017-11-29 10:15:37 +0100100 default: "eu-central-1"
Tomáš Kukrále0870442017-07-27 18:28:11 +0200101 AWS_API_CREDENTIALS:
102 type: string
103 default: "aws-credentials"
104 AWS_SSH_KEY:
105 type: string
106 default: "jenkins-mk"
107
108 # heat
109 HEAT_STACK_ENVIRONMENT:
110 type: string
Ales Komarek4d74ebb2017-08-07 12:57:14 +0200111 default: "{{stack_env}}"
Tomáš Kukrále0870442017-07-27 18:28:11 +0200112 HEAT_STACK_ZONE:
113 type: string
114 default: "mcp-mk"
115 HEAT_STACK_PUBLIC_NET:
116 type: string
117 default: "public"
118
Filip Pytloun7af94b32017-03-14 18:38:52 +0100119 # openstack api
120 OPENSTACK_API_URL:
121 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200122 default: "https://cloud-cz.bud.mirantis.net:5000"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100123 OPENSTACK_API_CREDENTIALS:
124 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200125 default: "openstack-devcloud-credentials"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100126 OPENSTACK_API_PROJECT:
127 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200128 default: "mcp-mk"
Tomáš Kukrále0870442017-07-27 18:28:11 +0200129 OPENSTACK_API_PROJECT_DOMAIN:
130 type: string
Tomáš Kukrálb6f15222017-08-02 11:11:56 +0200131 default: "default"
Tomáš Kukrále0870442017-07-27 18:28:11 +0200132 OPENSTACK_API_PROJECT_ID:
133 type: string
134 default: ""
135 OPENSTACK_API_USER_DOMAIN:
136 type: string
137 default: "default"
138
Filip Pytloun7af94b32017-03-14 18:38:52 +0100139 OPENSTACK_API_CLIENT:
140 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200141 default: ""
Filip Pytloun7af94b32017-03-14 18:38:52 +0100142 OPENSTACK_API_VERSION:
143 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200144 default: "3"
Filip Pytloun260a9502017-03-16 12:47:22 +0100145
Tomáš Kukrále15675c2017-08-03 10:54:00 +0200146 # test
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200147 TEST_K8S_API_SERVER:
Filip Pytloun260a9502017-03-16 12:47:22 +0100148 type: string
149 default: "http://127.0.0.1:8080"
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200150 TEST_K8S_CONFORMANCE_IMAGE:
Filip Pytloun260a9502017-03-16 12:47:22 +0100151 type: string
vrovachev7e709802017-09-15 20:04:26 +0400152 default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.7.5-2_1504192939316"
Filip Pytloun260a9502017-03-16 12:47:22 +0100153
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200154 TEST_TEMPEST_IMAGE:
Filip Pytloun260a9502017-03-16 12:47:22 +0100155 type: string
Tomáš Kukrále15675c2017-08-03 10:54:00 +0200156 description: "Tempest docker image"
Oleksandr Kosse05a98112017-09-28 17:38:55 +0300157 default: "docker-prod-local.artifactory.mirantis.com/mirantis/oscore/rally-tempest"
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200158 TEST_TEMPEST_TARGET:
Vasyl Saienko68f2e4b2017-07-20 12:40:24 +0300159 type: string
160 description: "Node to run tests"
161 default: ""
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200162 TEST_DOCKER_INSTALL:
Vasyl Saienko68f2e4b2017-07-20 12:40:24 +0300163 type: boolean
164 description: "Install docker on the target if true"
165 default: "true"
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200166 TEST_TEMPEST_PATTERN:
Vasyl Saienko68f2e4b2017-07-20 12:40:24 +0300167 type: string
168 description: "Run tests matched to pattern only"
169 default: ""
Filip Pytloun260a9502017-03-16 12:47:22 +0100170