blob: 0aa442ed4acf44bec531403f7e5ecb3f22bf2eeb [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
21 HEAT_TEMPLATE_URL:
22 type: string
23 default: "git@github.com:Mirantis/mk-lab-heat-templates.git"
24 HEAT_TEMPLATE_CREDENTIALS:
25 type: string
26 default: "gerrit"
27 HEAT_TEMPLATE_BRANCH:
28 type: string
29 default: "master"
30 HEAT_STACK_NAME:
31 type: string
32 description: Heat stack name. Will be generated if missing.
33 HEAT_STACK_TEMPLATE:
34 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"
45 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"
53
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
65 default: "https://vpc.tcpisek.cz:5000/v2.0"
66 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"