blob: 0fc26f7aad015165607370a3fb5c055c8a987524 [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
Filip Pytloun7af94b32017-03-14 18:38:52 +010022 param:
Filip Pytloun260a9502017-03-16 12:47:22 +010023 # deployments and test settings
24 STACK_TYPE:
25 type: string
26 default: "{{stack_type}}"
27 INSTALL:
28 type: string
29 default: "{{install}}"
30 TEST:
31 type: string
Victor Ryzhenkin6670f052017-03-22 14:59:18 +040032 default: "{{test}}"
Filip Pytloun260a9502017-03-16 12:47:22 +010033
Filip Pytloun7af94b32017-03-14 18:38:52 +010034 # heat
35 HEAT_TEMPLATE_URL:
36 type: string
37 default: "git@github.com:Mirantis/mk-lab-heat-templates.git"
38 HEAT_TEMPLATE_CREDENTIALS:
39 type: string
40 default: "gerrit"
41 HEAT_TEMPLATE_BRANCH:
42 type: string
Tomáš Kukrál394cdbf2017-03-29 16:35:37 +020043 default: "master"
Filip Pytloun7af94b32017-03-14 18:38:52 +010044 HEAT_STACK_NAME:
45 type: string
46 description: Heat stack name. Will be generated if missing.
47 HEAT_STACK_TEMPLATE:
48 type: string
49 default: "{{lab}}"
50 HEAT_STACK_ENVIRONMENT:
51 type: string
52 default: "tcpisek"
53 HEAT_STACK_ZONE:
54 type: string
55 default: "mirantis-zone-qa"
56 HEAT_STACK_PUBLIC_NET:
57 type: string
58 default: "mirantis-private"
59 HEAT_STACK_DELETE:
60 type: boolean
61 default: 'true'
chnyda6160e992017-04-05 14:29:18 +020062 description: "Don't enable it if you need to use the lab after"
Filip Pytloun7af94b32017-03-14 18:38:52 +010063 HEAT_STACK_REUSE:
64 type: boolean
65 default: 'false'
Filip Pytloun7af94b32017-03-14 18:38:52 +010066
67 # salt master
68 SALT_MASTER_CREDENTIALS:
69 type: string
70 default: "salt-qa-credentials"
Filip Pytloun260a9502017-03-16 12:47:22 +010071 SALT_MASTER_URL:
Filip Pytloun7af94b32017-03-14 18:38:52 +010072 type: string
Filip Pytlounaa456012017-03-24 12:49:25 +010073 default: ""
Filip Pytloun7af94b32017-03-14 18:38:52 +010074
75 # openstack api
76 OPENSTACK_API_URL:
77 type: string
78 default: "https://vpc.tcpisek.cz:5000/v2.0"
79 OPENSTACK_API_CREDENTIALS:
80 type: string
81 default: "openstack-qa-credentials"
82 OPENSTACK_API_PROJECT:
83 type: string
84 default: "mirantis_mk20_qa"
85 OPENSTACK_API_CLIENT:
86 type: string
87 default: "liberty"
88 OPENSTACK_API_VERSION:
89 type: string
90 default: "2"
Filip Pytloun260a9502017-03-16 12:47:22 +010091
92 # k8s setttings
93 K8S_API_SERVER:
94 type: string
95 default: "http://127.0.0.1:8080"
96 K8S_CONFORMANCE_IMAGE:
97 type: string
98 default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.5.1-3_1482332392819"
99
100 # Tempest settings
101 TEMPEST_IMAGE_LINK:
102 type: string
103 default: "sandbox-docker-prod-local.docker.mirantis.net/mirantis/rally_tempest:0.1"
104
Jakub Josef89d22cb2017-03-23 16:05:30 +0100105 ASK_ON_ERROR:
106 type: boolean
107 default: 'false'
108