blob: d2bd1f7c88325a405dee9507a587af7e0c9c7e43 [file] [log] [blame]
Filip Pytloun7af94b32017-03-14 18:38:52 +01001parameters:
2 jenkins:
3 client:
4 job_template:
5 deploy_heat_cicd:
6 name: deploy-heat-{{name}}
7 jobs:
8 - name: cicd-lab-dev
9 lab: cicd_lab_dev
10 template:
11 type: workflow-scm
12 concurrent: true
13 display_name: "Deploy {{name}} heat stack"
14 scm:
15 type: git
16 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
17 credentials: "gerrit"
18 script: cicd-lab-pipeline.groovy
19 param:
20 # heat
Jakub Josefca1bb042017-05-25 15:54:41 +020021 HEAT_TEMPLATE_URL:
Filip Pytloun7af94b32017-03-14 18:38:52 +010022 type: string
23 default: "git@github.com:Mirantis/mk-lab-heat-templates.git"
Jakub Josefca1bb042017-05-25 15:54:41 +020024 HEAT_TEMPLATE_CREDENTIALS:
Filip Pytloun7af94b32017-03-14 18:38:52 +010025 type: string
26 default: "gerrit"
Jakub Josefca1bb042017-05-25 15:54:41 +020027 HEAT_TEMPLATE_BRANCH:
Filip Pytloun7af94b32017-03-14 18:38:52 +010028 type: string
29 default: "master"
Jakub Josefca1bb042017-05-25 15:54:41 +020030 HEAT_STACK_NAME:
Filip Pytloun7af94b32017-03-14 18:38:52 +010031 type: string
32 description: Heat stack name. Will be generated if missing.
Jakub Josefca1bb042017-05-25 15:54:41 +020033 HEAT_STACK_TEMPLATE:
Filip Pytloun7af94b32017-03-14 18:38:52 +010034 type: string
35 default: "{{lab}}"
36 HEAT_STACK_ENVIRONMENT:
37 type: string
38 default: "tcpisek"
39 HEAT_STACK_ZONE:
40 type: string
41 default: "mirantis-zone-qa"
42 HEAT_STACK_PUBLIC_NET:
43 type: string
44 default: "mirantis-private"
Jakub Josefca1bb042017-05-25 15:54:41 +020045 HEAT_STACK_DELETE:
46 type: boolean
47 default: 'true'
48 description: "Delete heat stack at the end of job"
49 HEAT_STACK_REUSE:
50 type: boolean
51 default: 'false'
52 description: "Reuse existing stack and only orchestrate deployment"
Filip Pytloun7af94b32017-03-14 18:38:52 +010053
54 # salt master
55 SALT_MASTER_CREDENTIALS:
56 type: string
57 default: "salt-qa-credentials"
58 SSH_PUBLIC_KEY:
59 type: string
60 description: "User's public SSH key to be able to login when stack is deployed"
61
62 # openstack api
63 OPENSTACK_API_URL:
64 type: string
Jakub Josef04f33202017-05-30 17:53:21 +020065 default: "https://vpc.tcpisek.cz:5000"
Filip Pytloun7af94b32017-03-14 18:38:52 +010066 OPENSTACK_API_CREDENTIALS:
67 type: string
68 default: "openstack-qa-credentials"
69 OPENSTACK_API_PROJECT:
70 type: string
71 default: "mirantis_mk20_qa"
72 OPENSTACK_API_CLIENT:
73 type: string
74 default: "liberty"
75 OPENSTACK_API_VERSION:
76 type: string
77 default: "2"
kairat_kushaev12b8d1f2017-05-18 17:49:33 +040078 OPENSTACK_API_PROJECT_DOMAIN_ID:
79 type: string
80 default: "default"
81 OPENSTACK_API_USER_DOMAIN_ID:
82 type: string
83 default: "default"