blob: d1dc00b47f00d3ed47284902dae87db058a28e5f [file] [log] [blame]
Filip Pytloun7af94b32017-03-14 18:38:52 +01001parameters:
2 jenkins:
3 client:
4 job_template:
5 test-salt-formula:
6 name: test-salt-formula-{{name}}-latest
7 jobs:
8 - name: aodh
9 - name: apache
Filip Pytloun2e9da1e2017-03-27 11:09:38 +020010 - name: aptcacher
Filip Pytloun7af94b32017-03-14 18:38:52 +010011 - name: aptly
12 - name: artifactory
Ivan Suzdal45294602018-07-18 11:13:06 +040013 - name: auditd
Filip Pytloun7af94b32017-03-14 18:38:52 +010014 - name: avinetworks
Petr Jediný9d934b82017-08-10 23:27:30 +020015 - name: backupninja
16 - name: barbican
Vasyl Saienko474a5ab2017-09-26 12:19:10 +030017 - name: baremetal-simulator
Filip Pytloun7af94b32017-03-14 18:38:52 +010018 - name: billometer
19 - name: bind
20 - name: bird
21 - name: cadf
22 - name: calico
23 - name: cassandra
24 - name: ccp
25 - name: ceilometer
26 - name: ceph
27 - name: chrony
28 - name: cinder
29 - name: collectd
Jakub Josef71c941d2017-04-19 18:24:07 +020030 - name: designate
alexzac2bcf52018-02-15 12:38:15 +010031 - name: debmirror
Filip Pytloun7af94b32017-03-14 18:38:52 +010032 - name: dekapod
Ilya Kharinaef689a2017-03-24 19:44:40 +040033 - name: devops-portal
Filip Pytloun7af94b32017-03-14 18:38:52 +010034 - name: docker
Oleg Iurchenkofba5c9b2017-11-08 16:03:47 +020035 - name: dogtag
Filip Pytloun7af94b32017-03-14 18:38:52 +010036 - name: dovecot
37 - name: elasticsearch
38 - name: etcd
chnyda0a565062017-10-04 10:43:18 +020039 - name: fluentbit
Bartosz Kupidura11ead6b2017-11-03 10:23:04 +010040 - name: fluentd
Filip Pytloun7af94b32017-03-14 18:38:52 +010041 - name: foreman
42 - name: freeipa
43 - name: galera
44 - name: gerrit
45 - name: git
46 - name: gitlab
47 - name: glance
48 - name: glusterfs
Petr Jedinýbd2e7602017-06-12 13:31:17 +020049 - name: gnocchi
Filip Pytloun7af94b32017-03-14 18:38:52 +010050 - name: grafana
51 - name: graphite
52 - name: haproxy
53 - name: heat
54 - name: heka
Jakub Josef106452d2018-02-20 15:26:49 +010055 - name: heketi
Yuriy Taradayee4aaaa2017-06-29 19:25:39 +040056 - name: helm
Filip Pytloun7af94b32017-03-14 18:38:52 +010057 - name: horizon
Dmitry Teselkinfc46e7f2018-06-07 15:44:55 +030058 - name: hubble
Filip Pytloun7af94b32017-03-14 18:38:52 +010059 - name: influxdb
60 - name: iptables
Vasyl Saienko05674792017-06-06 09:44:40 +030061 - name: ironic
Filip Pytloun7af94b32017-03-14 18:38:52 +010062 - name: isc-dhcp
63 - name: java
64 - name: jenkins
65 - name: kedb
66 - name: keepalived
Mikhail Ivanov0f0ff282018-05-28 16:31:14 +040067 - name: keycloak
Filip Pytloun7af94b32017-03-14 18:38:52 +010068 - name: keystone
69 - name: kibana
70 - name: kubernetes
71 - name: letsencrypt
72 - name: libvirt
73 - name: linux
Martin Polreichcc310eb2017-04-20 10:57:39 +020074 - name: lldp
Filip Pytloun7af94b32017-03-14 18:38:52 +010075 - name: logrotate
76 - name: maas
77 - name: magnum
Vasyl Saienko3dc15992018-01-26 13:52:07 +020078 - name: manila
Filip Pytloun7af94b32017-03-14 18:38:52 +010079 - name: memcached
80 - name: midonet
Dmitry Teselkin53106462017-12-19 15:44:17 +030081 - name: mirascan
Filip Pytloun7af94b32017-03-14 18:38:52 +010082 - name: monasca
83 - name: mongodb
84 - name: murano
85 - name: mysql
86 - name: nagios
87 - name: network
88 - name: neutron
89 - name: nfs
90 - name: nginx
91 - name: nodejs
92 - name: nova
93 - name: ntp
Elena Ezhova16facaa2017-06-05 16:19:35 +040094 - name: octavia
Filip Pytloun7af94b32017-03-14 18:38:52 +010095 - name: opencontrail
Filip Pytloune5c94182017-03-28 12:17:09 +020096 - name: openldap
Ivan Suzdalfd6ef4b2018-06-12 10:32:03 +040097 - name: openscap
Filip Pytloun7af94b32017-03-14 18:38:52 +010098 - name: openssh
99 - name: openvpn
100 - name: openvstorage
Vasyl Saienko4c6ae872018-02-19 11:01:44 +0200101 - name: oslo-templates
Filip Pytloun7af94b32017-03-14 18:38:52 +0100102 - name: owncloud
Petr Jedinýbd2e7602017-06-12 13:31:17 +0200103 - name: panko
Filip Pytloun7af94b32017-03-14 18:38:52 +0100104 - name: postfix
105 - name: postgresql
Mykyta Karpin2fef76f2017-06-12 11:28:58 +0300106 - name: powerdns
Filip Pytloun7af94b32017-03-14 18:38:52 +0100107 - name: pritunl
Ales Komareka383d442017-03-17 10:26:47 +0100108 - name: prometheus
Filip Pytloun7af94b32017-03-14 18:38:52 +0100109 - name: python
110 - name: rabbitmq
111 - name: reclass
112 - name: redis
113 - name: roundcube
114 - name: rsync
115 - name: rsyslog
Filip Pytlouna517fcc2017-05-15 15:10:27 +0200116 - name: rundeck
Vasyl Saienko28f0d602018-01-12 11:02:42 +0200117 - name: runtest
Filip Pytloun7af94b32017-03-14 18:38:52 +0100118 - name: sahara
119 - name: salt
120 - name: sensu
121 - name: sentry
Jakub Josefae5bac02018-05-03 15:08:09 +0200122 - name: shibboleth
Filip Pytloun7af94b32017-03-14 18:38:52 +0100123 - name: sphinx
Filip Pytloune32a5eb2017-04-10 11:10:03 +0200124 - name: spinnaker
Filip Pytloun7af94b32017-03-14 18:38:52 +0100125 - name: statsd
126 - name: supervisor
127 - name: swift
128 - name: taiga
Ales Komareka383d442017-03-17 10:26:47 +0100129 - name: telegraf
Jakub Josef41cdfd32017-11-15 16:45:28 +0100130 - name: tinyproxy
Filip Pytlound36dffa2017-04-26 16:59:40 +0200131 - name: tftpd-hpa
Filip Pytloun7af94b32017-03-14 18:38:52 +0100132 - name: varnish
Petr Ruzicka15a4e042018-01-31 16:30:46 +0100133 - name: watchdog
Jiri Broulik3e984b32017-06-01 11:50:25 +0200134 - name: xtrabackup
Filip Pytloun7af94b32017-03-14 18:38:52 +0100135 - name: zookeeper
136 template:
137 discard:
138 build:
139 keep_num: 25
140 artifact:
141 keep_num: 25
142 type: workflow-scm
143 concurrent: true
144 scm:
145 type: git
146 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +0100147 branch: "${_param:jenkins_pipelines_branch}"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100148 credentials: "gerrit"
149 script: test-salt-formulas-pipeline.groovy
150 trigger:
151 gerrit:
152 project:
153 salt-formulas/{{name}}:
154 branches:
155 - master
156 event:
Filip Pytloun7af94b32017-03-14 18:38:52 +0100157 comment:
158 - addedContains:
Jakub Josefedf88f12017-06-26 13:07:32 +0200159 commentAddedCommentContains: '^(?s:Patch Set \d+:.*(test|recheck|reverify)\s*)$'
Filip Pytloun7af94b32017-03-14 18:38:52 +0100160 param:
161 SALT_VERSION:
162 type: string
Aleksey Zvyagintsevdb3ec0f2018-08-03 12:13:55 +0000163 default: ""
Jakub Josefe14c23d2018-02-06 18:33:38 +0100164 description: "Version of salt for use in test, empty string means latest (default)"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100165 SALT_OPTS:
166 type: string
167 default: "--force-color"
168 CREDENTIALS_ID:
169 type: string
170 default: "gerrit"
Jakub Josef9da39f42017-03-29 18:05:33 +0200171 DEFAULT_GIT_URL:
172 type: string
173 description: "Run against alternate system reclass"
174 default: "${_param:jenkins_gerrit_url}/salt-formulas/{{name}}"
175 DEFAULT_GIT_REF:
176 type: string
177 default: master
Martin Polreichafb3d6c2017-07-18 13:56:10 +0200178 CUSTOM_KITCHEN_ENVS:
179 type: text
Martin Polreichac5f1752017-08-22 14:09:52 +0200180 PARALLEL_GROUP_SIZE:
181 type: string
Martin Polreich357c9772017-08-30 12:15:32 +0200182 default: "8"
Sergey Otpuschennikov87d8d9c2018-05-15 19:35:50 +0400183 RUN_TEST_IN_DOCKER:
184 type: boolean
185 description: "Run test stage in docker environment"
186 SMOKE_TEST_DOCKER_IMG:
187 type: string
188 default: "ubuntu:16.04"
chnyda02926002017-08-29 17:39:24 +0200189 job:
190 test-salt-formulas-env:
191 name: test-salt-formulas-env
192 discard:
193 build:
Jakub Josef04943bd2017-12-20 17:59:08 +0100194 keep_num: 1000
chnyda02926002017-08-29 17:39:24 +0200195 artifact:
196 keep_num: 10
197 type: workflow-scm
198 concurrent: true
Jakub Josef3ebe0662018-02-05 18:24:26 +0100199 plugin_properties:
200 throttleconcurrents:
201 enabled: true
202 throttle_option: category
203 categories:
204 - test-formula
chnyda02926002017-08-29 17:39:24 +0200205 scm:
206 type: git
207 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +0100208 branch: "${_param:jenkins_pipelines_branch}"
chnyda02926002017-08-29 17:39:24 +0200209 credentials: "gerrit"
210 script: test-salt-formulas-env.groovy
211 param:
212 SALT_VERSION:
213 type: string
214 default: "latest"
215 SALT_OPTS:
216 type: string
217 default: "--force-color"
218 CREDENTIALS_ID:
219 type: string
220 default: "gerrit"
221 DEFAULT_GIT_URL:
222 type: string
223 description: "Run against alternate system reclass"
224 default: "${_param:jenkins_gerrit_url}/salt-formulas/{{name}}"
225 DEFAULT_GIT_REF:
226 type: string
227 default: master
228 KITCHEN_ENV:
229 type: text