blob: 44b4b3d146c2d841efd272b213c5eb86c7200587 [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 Pytloun0798bcb2017-03-16 12:55:06 +01004 jenkins_salt_api_url: "http://${_param:salt_master_host}:6969"
Filip Pytloun7af94b32017-03-14 18:38:52 +01005 jenkins:
6 client:
7 job_template:
Filip Pytloun260a9502017-03-16 12:47:22 +01008 deploy_heat_template:
9 name: deploy-{{stack_type}}-{{lab}}
10 jobs: ${_param:jenkins_deploy_lab_mk_jobs}
Filip Pytloun7af94b32017-03-14 18:38:52 +010011 template:
12 type: workflow-scm
Filip Pytloun260a9502017-03-16 12:47:22 +010013 discard:
14 build:
15 keep_num: 20
Filip Pytloun7af94b32017-03-14 18:38:52 +010016 concurrent: true
Filip Pytloun260a9502017-03-16 12:47:22 +010017 display_name: "Deploy - {{lab}} {{stack_type}} lab"
Filip Pytloun7af94b32017-03-14 18:38:52 +010018 scm:
19 type: git
20 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
21 credentials: "gerrit"
Filip Pytloun260a9502017-03-16 12:47:22 +010022 script: lab-pipeline.groovy
Filip Pytloun7af94b32017-03-14 18:38:52 +010023 param:
Filip Pytloun260a9502017-03-16 12:47:22 +010024 # deployments and test settings
25 STACK_TYPE:
26 type: string
27 default: "{{stack_type}}"
28 INSTALL:
29 type: string
30 default: "{{install}}"
31 TEST:
32 type: string
33 default: ""
34
Filip Pytloun7af94b32017-03-14 18:38:52 +010035 # heat
36 HEAT_TEMPLATE_URL:
37 type: string
38 default: "git@github.com:Mirantis/mk-lab-heat-templates.git"
39 HEAT_TEMPLATE_CREDENTIALS:
40 type: string
41 default: "gerrit"
42 HEAT_TEMPLATE_BRANCH:
43 type: string
Filip Pytloun260a9502017-03-16 12:47:22 +010044 default: "composite"
Filip Pytloun7af94b32017-03-14 18:38:52 +010045 HEAT_STACK_NAME:
46 type: string
47 description: Heat stack name. Will be generated if missing.
48 HEAT_STACK_TEMPLATE:
49 type: string
50 default: "{{lab}}"
51 HEAT_STACK_ENVIRONMENT:
52 type: string
53 default: "tcpisek"
54 HEAT_STACK_ZONE:
55 type: string
56 default: "mirantis-zone-qa"
57 HEAT_STACK_PUBLIC_NET:
58 type: string
59 default: "mirantis-private"
60 HEAT_STACK_DELETE:
61 type: boolean
62 default: 'true'
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 Pytloun0798bcb2017-03-16 12:55:06 +010073 default: "${_param:jenkins_salt_api_url}"
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