blob: e6fb6d52860d30ae22480b7ad413810baac86be2 [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'
62
63 STACK_TEMPLATE_URL:
64 type: string
65 default: "${_param:jenkins_gerrit_url}/mk/heat-templates"
66 STACK_TEMPLATE_CREDENTIALS:
67 type: string
68 default: "gerrit"
69 STACK_TEMPLATE_BRANCH:
70 type: string
71 default: "master"
Jakub Josefca7e4562017-05-24 11:40:35 +020072 STACK_CLEANUP_JOB:
73 type: string
Tomáš Kukrálfa6aa472017-06-01 10:27:59 +020074 default: 'deploy-stack-cleanup'
Ales Komareke3a6ff62017-05-22 16:56:09 +020075
76 # salt master
77 SALT_MASTER_CREDENTIALS:
78 type: string
79 default: "salt-qa-credentials"
80 SALT_MASTER_URL:
81 type: string
82 default: ""
83
Tomáš Kukráleaa0e252017-05-25 12:14:39 +020084 # aws api
Ales Komareke3a6ff62017-05-22 16:56:09 +020085 AWS_STACK_REGION:
86 type: string
87 default: "us-west-2"
88 AWS_API_CREDENTIALS:
89 type: string
Tomáš Kukráleaa0e252017-05-25 12:14:39 +020090 default: "aws-credentials"
91 AWS_SSH_KEY:
92 type: string
93 default: "jenkins-mk"
94
Ales Komareke3a6ff62017-05-22 16:56:09 +020095
96 # openstack api
97 OPENSTACK_API_URL:
98 type: string
Jakub Josef04f33202017-05-30 17:53:21 +020099 default: "https://vpc.tcpisek.cz:5000"
Ales Komareke3a6ff62017-05-22 16:56:09 +0200100 OPENSTACK_API_CREDENTIALS:
101 type: string
102 default: "openstack-qa-credentials"
103 OPENSTACK_API_PROJECT:
104 type: string
105 default: "mirantis_mk20_qa"
106 OPENSTACK_API_CLIENT:
107 type: string
108 default: "liberty"
109 OPENSTACK_API_VERSION:
110 type: string
111 default: "2"
Matthew Mosesohnc72219b2017-06-02 16:48:58 +0300112 OPENSTACK_API_PROJECT_DOMAIN:
Ales Komareke3a6ff62017-05-22 16:56:09 +0200113 type: string
114 default: "default"
115 OPENSTACK_API_USER_DOMAIN_ID:
116 type: string
117 default: "default"
Matthew Mosesohnc72219b2017-06-02 16:48:58 +0300118 OPENSTACK_API_PROJECT_ID:
119 type: string
120 default: ""
121 OPENSTACK_API_USER_DOMAIN:
122 type: string
123 default: "default"
Ales Komareke3a6ff62017-05-22 16:56:09 +0200124
125 # heat
126 HEAT_STACK_ENVIRONMENT:
127 type: string
128 default: "tcpisek"
129 HEAT_STACK_ZONE:
130 type: string
131 default: "workshop-sunnyvale"
132 HEAT_STACK_PUBLIC_NET:
133 type: string
134 default: "mirantis-private"
135
136 # k8s setttings
137 K8S_API_SERVER:
138 type: string
139 default: "http://127.0.0.1:8080"
140 K8S_CONFORMANCE_IMAGE:
141 type: string
142 default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.5.1-3_1482332392819"
143
Tomáš Kukrálfa6aa472017-06-01 10:27:59 +0200144 # Openstack settings
145 TEMPEST_IMAGE:
Ales Komareke3a6ff62017-05-22 16:56:09 +0200146 type: string
147 default: "sandbox-docker-prod-local.docker.mirantis.net/mirantis/rally_tempest:0.1"
148