blob: e67ca3f2b8f155ccb67abe5ee2a5ce2e8062cfe4 [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
61 default: 'deploy-heat-cleanup'
Jakub Josef43f34432017-05-23 19:16:49 +020062 # heat
Filip Pytloun7af94b32017-03-14 18:38:52 +010063 HEAT_STACK_ENVIRONMENT:
64 type: string
65 default: "tcpisek"
66 HEAT_STACK_ZONE:
67 type: string
68 default: "mirantis-zone-qa"
69 HEAT_STACK_PUBLIC_NET:
70 type: string
71 default: "mirantis-private"
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: ""
Filip Pytloun7af94b32017-03-14 18:38:52 +010080
81 # openstack api
82 OPENSTACK_API_URL:
83 type: string
84 default: "https://vpc.tcpisek.cz:5000/v2.0"
85 OPENSTACK_API_CREDENTIALS:
86 type: string
87 default: "openstack-qa-credentials"
88 OPENSTACK_API_PROJECT:
89 type: string
90 default: "mirantis_mk20_qa"
91 OPENSTACK_API_CLIENT:
92 type: string
93 default: "liberty"
94 OPENSTACK_API_VERSION:
95 type: string
96 default: "2"
Matthew Mosesohn3401f0d2017-05-30 12:28:59 +030097 OPENSTACK_API_PROJECT_DOMAIN:
98 type: string
99 default: "default"
100 OPENSTACK_API_PROJECT_ID:
101 type: string
102 default: ""
103 OPENSTACK_USER_DOMAIN:
kairat_kushaev12b8d1f2017-05-18 17:49:33 +0400104 type: string
105 default: "default"
106 OPENSTACK_API_USER_DOMAIN_ID:
107 type: string
108 default: "default"
Filip Pytloun260a9502017-03-16 12:47:22 +0100109
110 # k8s setttings
111 K8S_API_SERVER:
112 type: string
113 default: "http://127.0.0.1:8080"
114 K8S_CONFORMANCE_IMAGE:
115 type: string
116 default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.5.1-3_1482332392819"
117
118 # Tempest settings
119 TEMPEST_IMAGE_LINK:
120 type: string
121 default: "sandbox-docker-prod-local.docker.mirantis.net/mirantis/rally_tempest:0.1"
122
Jakub Josef89d22cb2017-03-23 16:05:30 +0100123 ASK_ON_ERROR:
124 type: boolean
125 default: 'false'
126