blob: a79414b754c042f5ac71dce7f885ca904038fc21 [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
Tomáš Kukrálfa6aa472017-06-01 10:27:59 +02006 stack_install: core,k8s,calico
Ales Komareke3a6ff62017-05-22 16:56:09 +02007 job_timer: ""
8 - stack_name: k8s_calico
9 stack_type: aws
Tomáš Kukrálfa6aa472017-06-01 10:27:59 +020010 stack_install: core,k8s,calico
11 job_timer: "H H * * *"
Ales Komareke3a6ff62017-05-22 16:56:09 +020012 jenkins:
13 client:
14 job_template:
15 cloud_deploy_heat_template:
Tomáš Kukráleaa0e252017-05-25 12:14:39 +020016 name: deploy-{{stack_type}}-{{stack_name}}
Ales Komareke3a6ff62017-05-22 16:56:09 +020017 jobs: ${_param:jenkins_cloud_deploy_pipelines}
18 template:
19 type: workflow-scm
20 discard:
21 build:
22 keep_num: 20
23 concurrent: true
Tomáš Kukrálfa6aa472017-06-01 10:27:59 +020024 display_name: "Deploy - {{stack_name}} {{stack_type}}"
Ales Komareke3a6ff62017-05-22 16:56:09 +020025 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:
Tomáš Kukrálfa6aa472017-06-01 10:27:59 +020034 # general parameters
35 ASK_ON_ERROR:
36 type: boolean
37 default: 'false'
38
39 # deployments
Ales Komareke3a6ff62017-05-22 16:56:09 +020040 STACK_NAME:
41 type: string
42 description: Heat stack name. Will be generated if missing.
43 STACK_TEMPLATE:
44 type: string
45 default: "{{stack_name}}"
46 STACK_TYPE:
47 type: string
48 default: "{{stack_type}}"
49 STACK_INSTALL:
50 type: string
51 default: "{{stack_install}}"
52 STACK_TEST:
53 type: string
54 default: ""
55 STACK_DELETE:
56 type: boolean
57 default: 'true'
58 description: "Don't enable it if you need to use the lab after"
59 STACK_REUSE:
60 type: boolean
61 default: 'false'
Tomáš Kukrálc113ac62017-06-05 15:26:55 +020062 STACK_COMPUTE_COUNT:
63 type: string
64 default: '2'
Ales Komareke3a6ff62017-05-22 16:56:09 +020065
66 STACK_TEMPLATE_URL:
67 type: string
68 default: "${_param:jenkins_gerrit_url}/mk/heat-templates"
69 STACK_TEMPLATE_CREDENTIALS:
70 type: string
71 default: "gerrit"
72 STACK_TEMPLATE_BRANCH:
73 type: string
74 default: "master"
Jakub Josefca7e4562017-05-24 11:40:35 +020075 STACK_CLEANUP_JOB:
76 type: string
Tomáš Kukrálfa6aa472017-06-01 10:27:59 +020077 default: 'deploy-stack-cleanup'
Ales Komareke3a6ff62017-05-22 16:56:09 +020078
79 # salt master
80 SALT_MASTER_CREDENTIALS:
81 type: string
82 default: "salt-qa-credentials"
83 SALT_MASTER_URL:
84 type: string
85 default: ""
86
Tomáš Kukráleaa0e252017-05-25 12:14:39 +020087 # aws api
Ales Komareke3a6ff62017-05-22 16:56:09 +020088 AWS_STACK_REGION:
89 type: string
90 default: "us-west-2"
91 AWS_API_CREDENTIALS:
92 type: string
Tomáš Kukráleaa0e252017-05-25 12:14:39 +020093 default: "aws-credentials"
94 AWS_SSH_KEY:
95 type: string
96 default: "jenkins-mk"
97
Ales Komareke3a6ff62017-05-22 16:56:09 +020098
99 # openstack api
100 OPENSTACK_API_URL:
101 type: string
Jakub Josef04f33202017-05-30 17:53:21 +0200102 default: "https://vpc.tcpisek.cz:5000"
Ales Komareke3a6ff62017-05-22 16:56:09 +0200103 OPENSTACK_API_CREDENTIALS:
104 type: string
105 default: "openstack-qa-credentials"
106 OPENSTACK_API_PROJECT:
107 type: string
108 default: "mirantis_mk20_qa"
109 OPENSTACK_API_CLIENT:
110 type: string
111 default: "liberty"
112 OPENSTACK_API_VERSION:
113 type: string
114 default: "2"
Matthew Mosesohnc72219b2017-06-02 16:48:58 +0300115 OPENSTACK_API_PROJECT_DOMAIN:
Ales Komareke3a6ff62017-05-22 16:56:09 +0200116 type: string
117 default: "default"
118 OPENSTACK_API_USER_DOMAIN_ID:
119 type: string
120 default: "default"
Matthew Mosesohnc72219b2017-06-02 16:48:58 +0300121 OPENSTACK_API_PROJECT_ID:
122 type: string
123 default: ""
124 OPENSTACK_API_USER_DOMAIN:
125 type: string
126 default: "default"
Ales Komareke3a6ff62017-05-22 16:56:09 +0200127
128 # heat
129 HEAT_STACK_ENVIRONMENT:
130 type: string
131 default: "tcpisek"
132 HEAT_STACK_ZONE:
133 type: string
134 default: "workshop-sunnyvale"
135 HEAT_STACK_PUBLIC_NET:
136 type: string
137 default: "mirantis-private"
138
139 # k8s setttings
140 K8S_API_SERVER:
141 type: string
142 default: "http://127.0.0.1:8080"
143 K8S_CONFORMANCE_IMAGE:
144 type: string
145 default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.5.1-3_1482332392819"
146
Tomáš Kukrálfa6aa472017-06-01 10:27:59 +0200147 # Openstack settings
148 TEMPEST_IMAGE:
Ales Komareke3a6ff62017-05-22 16:56:09 +0200149 type: string
150 default: "sandbox-docker-prod-local.docker.mirantis.net/mirantis/rally_tempest:0.1"
151