blob: cbbcd34aca8dec459f0426448872bab09ea63038 [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"
67
68 # salt master
69 SALT_MASTER_CREDENTIALS:
70 type: string
71 default: "salt-qa-credentials"
72 SALT_MASTER_URL:
73 type: string
74 default: ""
75
76 # openstack api
77 AWS_STACK_REGION:
78 type: string
79 default: "us-west-2"
80 AWS_API_CREDENTIALS:
81 type: string
82 default: "aws-qa-credentials"
83
84 # openstack api
85 OPENSTACK_API_URL:
86 type: string
87 default: "https://vpc.tcpisek.cz:5000/v2.0"
88 OPENSTACK_API_CREDENTIALS:
89 type: string
90 default: "openstack-qa-credentials"
91 OPENSTACK_API_PROJECT:
92 type: string
93 default: "mirantis_mk20_qa"
94 OPENSTACK_API_CLIENT:
95 type: string
96 default: "liberty"
97 OPENSTACK_API_VERSION:
98 type: string
99 default: "2"
100 OPENSTACK_API_PROJECT_DOMAIN_ID:
101 type: string
102 default: "default"
103 OPENSTACK_API_USER_DOMAIN_ID:
104 type: string
105 default: "default"
106
107 # heat
108 HEAT_STACK_ENVIRONMENT:
109 type: string
110 default: "tcpisek"
111 HEAT_STACK_ZONE:
112 type: string
113 default: "workshop-sunnyvale"
114 HEAT_STACK_PUBLIC_NET:
115 type: string
116 default: "mirantis-private"
117
118 # k8s setttings
119 K8S_API_SERVER:
120 type: string
121 default: "http://127.0.0.1:8080"
122 K8S_CONFORMANCE_IMAGE:
123 type: string
124 default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.5.1-3_1482332392819"
125
126 # Tempest settings
127 TEMPEST_IMAGE_LINK:
128 type: string
129 default: "sandbox-docker-prod-local.docker.mirantis.net/mirantis/rally_tempest:0.1"
130
131 ASK_ON_ERROR:
132 type: boolean
133 default: 'false'
134