blob: a625bf60600548637a5f4a7143b0c6ac8da38a63 [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
32 default: ""
33
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
Filip Pytloun260a9502017-03-16 12:47:22 +010043 default: "composite"
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'
Filip Pytloun7af94b32017-03-14 18:38:52 +010062 HEAT_STACK_REUSE:
63 type: boolean
64 default: 'false'
Filip Pytloun7af94b32017-03-14 18:38:52 +010065
66 # salt master
67 SALT_MASTER_CREDENTIALS:
68 type: string
69 default: "salt-qa-credentials"
Filip Pytloun260a9502017-03-16 12:47:22 +010070 SALT_MASTER_URL:
Filip Pytloun7af94b32017-03-14 18:38:52 +010071 type: string
Filip Pytloun260a9502017-03-16 12:47:22 +010072 default: ""
Filip Pytloun7af94b32017-03-14 18:38:52 +010073
74 # openstack api
75 OPENSTACK_API_URL:
76 type: string
77 default: "https://vpc.tcpisek.cz:5000/v2.0"
78 OPENSTACK_API_CREDENTIALS:
79 type: string
80 default: "openstack-qa-credentials"
81 OPENSTACK_API_PROJECT:
82 type: string
83 default: "mirantis_mk20_qa"
84 OPENSTACK_API_CLIENT:
85 type: string
86 default: "liberty"
87 OPENSTACK_API_VERSION:
88 type: string
89 default: "2"
Filip Pytloun260a9502017-03-16 12:47:22 +010090
91 # k8s setttings
92 K8S_API_SERVER:
93 type: string
94 default: "http://127.0.0.1:8080"
95 K8S_CONFORMANCE_IMAGE:
96 type: string
97 default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.5.1-3_1482332392819"
98
99 # Tempest settings
100 TEMPEST_IMAGE_LINK:
101 type: string
102 default: "sandbox-docker-prod-local.docker.mirantis.net/mirantis/rally_tempest:0.1"
103