blob: b5b286d8a089bd01b00b87ce06ffa8b55213b824 [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
Martin Polreich7c808402018-09-27 10:28:11 +0200156 - '2018.8.1'
Filip Pytloun7af94b32017-03-14 18:38:52 +0100157 event:
Filip Pytloun7af94b32017-03-14 18:38:52 +0100158 comment:
159 - addedContains:
Jakub Josefedf88f12017-06-26 13:07:32 +0200160 commentAddedCommentContains: '^(?s:Patch Set \d+:.*(test|recheck|reverify)\s*)$'
Filip Pytloun7af94b32017-03-14 18:38:52 +0100161 param:
162 SALT_VERSION:
163 type: string
Oleksandr Shyshkoc3cb4512018-08-17 17:33:36 +0300164 default: "2017.7.7"
Jakub Josefe14c23d2018-02-06 18:33:38 +0100165 description: "Version of salt for use in test, empty string means latest (default)"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100166 SALT_OPTS:
167 type: string
168 default: "--force-color"
169 CREDENTIALS_ID:
170 type: string
171 default: "gerrit"
Jakub Josef9da39f42017-03-29 18:05:33 +0200172 DEFAULT_GIT_URL:
173 type: string
174 description: "Run against alternate system reclass"
175 default: "${_param:jenkins_gerrit_url}/salt-formulas/{{name}}"
176 DEFAULT_GIT_REF:
177 type: string
178 default: master
Martin Polreichafb3d6c2017-07-18 13:56:10 +0200179 CUSTOM_KITCHEN_ENVS:
180 type: text
Martin Polreichac5f1752017-08-22 14:09:52 +0200181 PARALLEL_GROUP_SIZE:
182 type: string
Martin Polreich357c9772017-08-30 12:15:32 +0200183 default: "8"
Sergey Otpuschennikov87d8d9c2018-05-15 19:35:50 +0400184 RUN_TEST_IN_DOCKER:
185 type: boolean
186 description: "Run test stage in docker environment"
azvyagintsev873f9402018-08-10 17:55:03 +0200187 default: 'true'
Sergey Otpuschennikov87d8d9c2018-05-15 19:35:50 +0400188 SMOKE_TEST_DOCKER_IMG:
189 type: string
190 default: "ubuntu:16.04"
chnyda02926002017-08-29 17:39:24 +0200191 job:
192 test-salt-formulas-env:
193 name: test-salt-formulas-env
194 discard:
195 build:
Jakub Josef04943bd2017-12-20 17:59:08 +0100196 keep_num: 1000
chnyda02926002017-08-29 17:39:24 +0200197 artifact:
198 keep_num: 10
199 type: workflow-scm
200 concurrent: true
Jakub Josef3ebe0662018-02-05 18:24:26 +0100201 plugin_properties:
202 throttleconcurrents:
203 enabled: true
204 throttle_option: category
205 categories:
206 - test-formula
chnyda02926002017-08-29 17:39:24 +0200207 scm:
208 type: git
209 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +0100210 branch: "${_param:jenkins_pipelines_branch}"
chnyda02926002017-08-29 17:39:24 +0200211 credentials: "gerrit"
212 script: test-salt-formulas-env.groovy
213 param:
214 SALT_VERSION:
215 type: string
216 default: "latest"
217 SALT_OPTS:
218 type: string
219 default: "--force-color"
220 CREDENTIALS_ID:
221 type: string
222 default: "gerrit"
223 DEFAULT_GIT_URL:
224 type: string
225 description: "Run against alternate system reclass"
226 default: "${_param:jenkins_gerrit_url}/salt-formulas/{{name}}"
227 DEFAULT_GIT_REF:
228 type: string
229 default: master
230 KITCHEN_ENV:
231 type: text