blob: 80d7c5847a0f1961013e4aa334ccf8d31b3c92b9 [file] [log] [blame]
Ales Komareke3a6ff62017-05-22 16:56:09 +02001parameters:
2 _param:
3 jenkins_cloud_deploy_pipelines:
4 - stack_name: k8s_calico
5 stack_type: heat
6 stack_install: core,k8s
7 job_timer: ""
8 - stack_name: k8s_calico
9 stack_type: aws
10 stack_install: core,k8s
11 job_timer: ""
12 jenkins:
13 client:
14 job_template:
15 cloud_deploy_heat_template:
16 name: cloud-deploy-{{stack_type}}-{{stack_name}}
17 jobs: ${_param:jenkins_cloud_deploy_pipelines}
18 template:
19 type: workflow-scm
20 discard:
21 build:
22 keep_num: 20
23 concurrent: true
24 display_name: "Deploy {{stack_type}} {{stack_name}} stack"
25 scm:
26 type: git
27 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
28 credentials: "gerrit"
29 script: cloud-deploy-pipeline.groovy
30 trigger:
31 timer:
32 spec: "{{job_timer}}"
33 param:
34 # deployments and test settings
35 STACK_NAME:
36 type: string
37 description: Heat stack name. Will be generated if missing.
38 STACK_TEMPLATE:
39 type: string
40 default: "{{stack_name}}"
41 STACK_TYPE:
42 type: string
43 default: "{{stack_type}}"
44 STACK_INSTALL:
45 type: string
46 default: "{{stack_install}}"
47 STACK_TEST:
48 type: string
49 default: ""
50 STACK_DELETE:
51 type: boolean
52 default: 'true'
53 description: "Don't enable it if you need to use the lab after"
54 STACK_REUSE:
55 type: boolean
56 default: 'false'
57
58 STACK_TEMPLATE_URL:
59 type: string
60 default: "${_param:jenkins_gerrit_url}/mk/heat-templates"
61 STACK_TEMPLATE_CREDENTIALS:
62 type: string
63 default: "gerrit"
64 STACK_TEMPLATE_BRANCH:
65 type: string
66 default: "master"
Jakub Josefca7e4562017-05-24 11:40:35 +020067 STACK_CLEANUP_JOB:
68 type: string
69 default: ''
Ales Komareke3a6ff62017-05-22 16:56:09 +020070
71 # salt master
72 SALT_MASTER_CREDENTIALS:
73 type: string
74 default: "salt-qa-credentials"
75 SALT_MASTER_URL:
76 type: string
77 default: ""
78
79 # openstack api
80 AWS_STACK_REGION:
81 type: string
82 default: "us-west-2"
83 AWS_API_CREDENTIALS:
84 type: string
85 default: "aws-qa-credentials"
86
87 # openstack api
88 OPENSTACK_API_URL:
89 type: string
90 default: "https://vpc.tcpisek.cz:5000/v2.0"
91 OPENSTACK_API_CREDENTIALS:
92 type: string
93 default: "openstack-qa-credentials"
94 OPENSTACK_API_PROJECT:
95 type: string
96 default: "mirantis_mk20_qa"
97 OPENSTACK_API_CLIENT:
98 type: string
99 default: "liberty"
100 OPENSTACK_API_VERSION:
101 type: string
102 default: "2"
103 OPENSTACK_API_PROJECT_DOMAIN_ID:
104 type: string
105 default: "default"
106 OPENSTACK_API_USER_DOMAIN_ID:
107 type: string
108 default: "default"
109
110 # heat
111 HEAT_STACK_ENVIRONMENT:
112 type: string
113 default: "tcpisek"
114 HEAT_STACK_ZONE:
115 type: string
116 default: "workshop-sunnyvale"
117 HEAT_STACK_PUBLIC_NET:
118 type: string
119 default: "mirantis-private"
120
121 # k8s setttings
122 K8S_API_SERVER:
123 type: string
124 default: "http://127.0.0.1:8080"
125 K8S_CONFORMANCE_IMAGE:
126 type: string
127 default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.5.1-3_1482332392819"
128
129 # Tempest settings
130 TEMPEST_IMAGE_LINK:
131 type: string
132 default: "sandbox-docker-prod-local.docker.mirantis.net/mirantis/rally_tempest:0.1"
133
134 ASK_ON_ERROR:
135 type: boolean
136 default: 'false'
137