blob: b25fd031e8c9ce0a0409619e76918375853ede25 [file] [log] [blame]
Filip Pytloun7af94b32017-03-14 18:38:52 +01001parameters:
Filip Pytloun260a9502017-03-16 12:47:22 +01002 _param:
3 jenkins_deploy_lab_mk_jobs: []
Filip Pytloun7af94b32017-03-14 18:38:52 +01004 jenkins:
5 client:
6 job_template:
Filip Pytloun260a9502017-03-16 12:47:22 +01007 deploy_heat_template:
8 name: deploy-{{stack_type}}-{{lab}}
9 jobs: ${_param:jenkins_deploy_lab_mk_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
Filip Pytloun260a9502017-03-16 12:47:22 +010016 display_name: "Deploy - {{lab}} {{stack_type}} lab"
Filip Pytloun7af94b32017-03-14 18:38:52 +010017 scm:
18 type: git
19 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
20 credentials: "gerrit"
Filip Pytloun260a9502017-03-16 12:47:22 +010021 script: lab-pipeline.groovy
Tomáš Kukrál903a7f62017-04-13 13:21:30 +020022 trigger:
23 timer:
24 spec: "{{timer}}"
Filip Pytloun7af94b32017-03-14 18:38:52 +010025 param:
Filip Pytloun260a9502017-03-16 12:47:22 +010026 # deployments and test settings
27 STACK_TYPE:
28 type: string
29 default: "{{stack_type}}"
Jakub Josefca7e4562017-05-24 11:40:35 +020030 STACK_INSTALL:
Filip Pytloun260a9502017-03-16 12:47:22 +010031 type: string
32 default: "{{install}}"
Jakub Josefca7e4562017-05-24 11:40:35 +020033 STACK_TEST:
Filip Pytloun260a9502017-03-16 12:47:22 +010034 type: string
Victor Ryzhenkin6670f052017-03-22 14:59:18 +040035 default: "{{test}}"
Filip Pytloun260a9502017-03-16 12:47:22 +010036
Jakub Josef43f34432017-05-23 19:16:49 +020037 STACK_TEMPLATE_URL:
Filip Pytloun7af94b32017-03-14 18:38:52 +010038 type: string
Tomáš Kukrálcf72c8d2017-04-19 21:50:05 +020039 default: "${_param:jenkins_gerrit_url}/mk/heat-templates"
Jakub Josef43f34432017-05-23 19:16:49 +020040 STACK_TEMPLATE_CREDENTIALS:
Filip Pytloun7af94b32017-03-14 18:38:52 +010041 type: string
42 default: "gerrit"
Jakub Josef43f34432017-05-23 19:16:49 +020043 STACK_TEMPLATE_BRANCH:
Filip Pytloun7af94b32017-03-14 18:38:52 +010044 type: string
Tomáš Kukrál394cdbf2017-03-29 16:35:37 +020045 default: "master"
Jakub Josef43f34432017-05-23 19:16:49 +020046 STACK_NAME:
Filip Pytloun7af94b32017-03-14 18:38:52 +010047 type: string
48 description: Heat stack name. Will be generated if missing.
Jakub Josef43f34432017-05-23 19:16:49 +020049 STACK_TEMPLATE:
Filip Pytloun7af94b32017-03-14 18:38:52 +010050 type: string
51 default: "{{lab}}"
Jakub Josef43f34432017-05-23 19:16:49 +020052 STACK_DELETE:
53 type: boolean
54 default: 'true'
55 description: "Don't enable it if you need to use the lab after"
56 STACK_REUSE:
57 type: boolean
58 default: 'false'
Jakub Josefca7e4562017-05-24 11:40:35 +020059 STACK_CLEANUP_JOB:
60 type: string
Jakub Josef1c271232017-06-05 11:39:34 +020061 default: 'deploy-stack-cleanup'
Jakub Josef43f34432017-05-23 19:16:49 +020062 # heat
Filip Pytloun7af94b32017-03-14 18:38:52 +010063 HEAT_STACK_ENVIRONMENT:
64 type: string
Tomáš Kukrál4773a492017-06-22 17:35:04 +020065 default: "devcloud"
Filip Pytloun7af94b32017-03-14 18:38:52 +010066 HEAT_STACK_ZONE:
67 type: string
Tomáš Kukrál4773a492017-06-22 17:35:04 +020068 default: "mcp-mk"
Filip Pytloun7af94b32017-03-14 18:38:52 +010069 HEAT_STACK_PUBLIC_NET:
70 type: string
Tomáš Kukrál4773a492017-06-22 17:35:04 +020071 default: "public"
Filip Pytloun7af94b32017-03-14 18:38:52 +010072
73 # salt master
74 SALT_MASTER_CREDENTIALS:
75 type: string
76 default: "salt-qa-credentials"
Filip Pytloun260a9502017-03-16 12:47:22 +010077 SALT_MASTER_URL:
Filip Pytloun7af94b32017-03-14 18:38:52 +010078 type: string
Filip Pytlounaa456012017-03-24 12:49:25 +010079 default: ""
Vasyl Saienkobfe884f2017-07-27 14:50:23 +030080 SALT_OVERRIDES:
Vasyl Saienko47f23472017-07-27 14:19:00 +030081 type: text
82 default: ""
83 description: "YAML with overrides for Salt deployment"
Filip Pytloun7af94b32017-03-14 18:38:52 +010084
85 # openstack api
86 OPENSTACK_API_URL:
87 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +020088 default: "https://cloud-cz.bud.mirantis.net:5000"
Filip Pytloun7af94b32017-03-14 18:38:52 +010089 OPENSTACK_API_CREDENTIALS:
90 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +020091 default: "openstack-devcloud-credentials"
Filip Pytloun7af94b32017-03-14 18:38:52 +010092 OPENSTACK_API_PROJECT:
93 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +020094 default: "mcp-mk"
Filip Pytloun7af94b32017-03-14 18:38:52 +010095 OPENSTACK_API_CLIENT:
96 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +020097 default: ""
Filip Pytloun7af94b32017-03-14 18:38:52 +010098 OPENSTACK_API_VERSION:
99 type: string
Tomáš Kukrálf083e812017-06-21 19:14:11 +0200100 default: "3"
Matthew Mosesohn3401f0d2017-05-30 12:28:59 +0300101 OPENSTACK_API_PROJECT_DOMAIN:
102 type: string
103 default: "default"
104 OPENSTACK_API_PROJECT_ID:
105 type: string
106 default: ""
107 OPENSTACK_USER_DOMAIN:
kairat_kushaev12b8d1f2017-05-18 17:49:33 +0400108 type: string
109 default: "default"
Matthew Mosesohn480aa322017-06-01 18:46:12 +0300110 OPENSTACK_API_USER_DOMAIN:
kairat_kushaev12b8d1f2017-05-18 17:49:33 +0400111 type: string
112 default: "default"
Filip Pytloun260a9502017-03-16 12:47:22 +0100113
114 # k8s setttings
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200115 TEST_K8S_API_SERVER:
Filip Pytloun260a9502017-03-16 12:47:22 +0100116 type: string
117 default: "http://127.0.0.1:8080"
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200118 TEST_K8S_CONFORMANCE_IMAGE:
Filip Pytloun260a9502017-03-16 12:47:22 +0100119 type: string
120 default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.5.1-3_1482332392819"
121
122 # Tempest settings
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200123 TEST_TEMPEST_IMAGE:
Filip Pytloun260a9502017-03-16 12:47:22 +0100124 type: string
Vasyl Saienko68f2e4b2017-07-20 12:40:24 +0300125 description: "Tempest image link"
Filip Pytloun260a9502017-03-16 12:47:22 +0100126 default: "sandbox-docker-prod-local.docker.mirantis.net/mirantis/rally_tempest:0.1"
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200127 TEST_TEMPEST_TARGET:
Vasyl Saienko68f2e4b2017-07-20 12:40:24 +0300128 type: string
129 description: "Node to run tests"
130 default: ""
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200131 TEST_DOCKER_INSTALL:
Vasyl Saienko68f2e4b2017-07-20 12:40:24 +0300132 type: boolean
133 description: "Install docker on the target if true"
134 default: "true"
Tomáš Kukrál93484d62017-07-26 10:09:35 +0200135 TEST_TEMPEST_PATTERN:
Vasyl Saienko68f2e4b2017-07-20 12:40:24 +0300136 type: string
137 description: "Run tests matched to pattern only"
138 default: ""
Filip Pytloun260a9502017-03-16 12:47:22 +0100139
Jakub Josef89d22cb2017-03-23 16:05:30 +0100140 ASK_ON_ERROR:
141 type: boolean
142 default: 'false'
143