blob: 7d659e8bd5b2f4b3c88945f7425b94f69c382d71 [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
67 - name: keystone
68 - name: kibana
69 - name: kubernetes
70 - name: letsencrypt
71 - name: libvirt
72 - name: linux
Martin Polreichcc310eb2017-04-20 10:57:39 +020073 - name: lldp
Filip Pytloun7af94b32017-03-14 18:38:52 +010074 - name: logrotate
75 - name: maas
76 - name: magnum
Vasyl Saienko3dc15992018-01-26 13:52:07 +020077 - name: manila
Filip Pytloun7af94b32017-03-14 18:38:52 +010078 - name: memcached
79 - name: midonet
Dmitry Teselkin53106462017-12-19 15:44:17 +030080 - name: mirascan
Filip Pytloun7af94b32017-03-14 18:38:52 +010081 - name: monasca
82 - name: mongodb
83 - name: murano
84 - name: mysql
85 - name: nagios
86 - name: network
87 - name: neutron
88 - name: nfs
89 - name: nginx
90 - name: nodejs
91 - name: nova
92 - name: ntp
Elena Ezhova16facaa2017-06-05 16:19:35 +040093 - name: octavia
Filip Pytloun7af94b32017-03-14 18:38:52 +010094 - name: opencontrail
Filip Pytloune5c94182017-03-28 12:17:09 +020095 - name: openldap
Ivan Suzdalfd6ef4b2018-06-12 10:32:03 +040096 - name: openscap
Filip Pytloun7af94b32017-03-14 18:38:52 +010097 - name: openssh
98 - name: openvpn
99 - name: openvstorage
Vasyl Saienko4c6ae872018-02-19 11:01:44 +0200100 - name: oslo-templates
Filip Pytloun7af94b32017-03-14 18:38:52 +0100101 - name: owncloud
Petr Jedinýbd2e7602017-06-12 13:31:17 +0200102 - name: panko
Filip Pytloun7af94b32017-03-14 18:38:52 +0100103 - name: postfix
104 - name: postgresql
Mykyta Karpin2fef76f2017-06-12 11:28:58 +0300105 - name: powerdns
Filip Pytloun7af94b32017-03-14 18:38:52 +0100106 - name: pritunl
Ales Komareka383d442017-03-17 10:26:47 +0100107 - name: prometheus
Filip Pytloun7af94b32017-03-14 18:38:52 +0100108 - name: python
109 - name: rabbitmq
110 - name: reclass
111 - name: redis
112 - name: roundcube
113 - name: rsync
114 - name: rsyslog
Filip Pytlouna517fcc2017-05-15 15:10:27 +0200115 - name: rundeck
Vasyl Saienko28f0d602018-01-12 11:02:42 +0200116 - name: runtest
Filip Pytloun7af94b32017-03-14 18:38:52 +0100117 - name: sahara
118 - name: salt
119 - name: sensu
120 - name: sentry
Jakub Josefae5bac02018-05-03 15:08:09 +0200121 - name: shibboleth
Filip Pytloun7af94b32017-03-14 18:38:52 +0100122 - name: sphinx
Filip Pytloune32a5eb2017-04-10 11:10:03 +0200123 - name: spinnaker
Filip Pytloun7af94b32017-03-14 18:38:52 +0100124 - name: statsd
125 - name: supervisor
126 - name: swift
127 - name: taiga
Ales Komareka383d442017-03-17 10:26:47 +0100128 - name: telegraf
Jakub Josef41cdfd32017-11-15 16:45:28 +0100129 - name: tinyproxy
Filip Pytlound36dffa2017-04-26 16:59:40 +0200130 - name: tftpd-hpa
Filip Pytloun7af94b32017-03-14 18:38:52 +0100131 - name: varnish
Petr Ruzicka15a4e042018-01-31 16:30:46 +0100132 - name: watchdog
Jiri Broulik3e984b32017-06-01 11:50:25 +0200133 - name: xtrabackup
Filip Pytloun7af94b32017-03-14 18:38:52 +0100134 - name: zookeeper
135 template:
136 discard:
137 build:
138 keep_num: 25
139 artifact:
140 keep_num: 25
141 type: workflow-scm
142 concurrent: true
143 scm:
144 type: git
145 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +0100146 branch: "${_param:jenkins_pipelines_branch}"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100147 credentials: "gerrit"
148 script: test-salt-formulas-pipeline.groovy
149 trigger:
150 gerrit:
151 project:
152 salt-formulas/{{name}}:
153 branches:
154 - master
155 event:
Filip Pytloun7af94b32017-03-14 18:38:52 +0100156 comment:
157 - addedContains:
Jakub Josefedf88f12017-06-26 13:07:32 +0200158 commentAddedCommentContains: '^(?s:Patch Set \d+:.*(test|recheck|reverify)\s*)$'
Filip Pytloun7af94b32017-03-14 18:38:52 +0100159 param:
160 SALT_VERSION:
161 type: string
Jakub Josefe14c23d2018-02-06 18:33:38 +0100162 default: ""
163 description: "Version of salt for use in test, empty string means latest (default)"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100164 SALT_OPTS:
165 type: string
166 default: "--force-color"
167 CREDENTIALS_ID:
168 type: string
169 default: "gerrit"
Jakub Josef9da39f42017-03-29 18:05:33 +0200170 DEFAULT_GIT_URL:
171 type: string
172 description: "Run against alternate system reclass"
173 default: "${_param:jenkins_gerrit_url}/salt-formulas/{{name}}"
174 DEFAULT_GIT_REF:
175 type: string
176 default: master
Martin Polreichafb3d6c2017-07-18 13:56:10 +0200177 CUSTOM_KITCHEN_ENVS:
178 type: text
Martin Polreichac5f1752017-08-22 14:09:52 +0200179 PARALLEL_GROUP_SIZE:
180 type: string
Martin Polreich357c9772017-08-30 12:15:32 +0200181 default: "8"
Sergey Otpuschennikov87d8d9c2018-05-15 19:35:50 +0400182 RUN_TEST_IN_DOCKER:
183 type: boolean
184 description: "Run test stage in docker environment"
185 SMOKE_TEST_DOCKER_IMG:
186 type: string
187 default: "ubuntu:16.04"
chnyda02926002017-08-29 17:39:24 +0200188 job:
189 test-salt-formulas-env:
190 name: test-salt-formulas-env
191 discard:
192 build:
Jakub Josef04943bd2017-12-20 17:59:08 +0100193 keep_num: 1000
chnyda02926002017-08-29 17:39:24 +0200194 artifact:
195 keep_num: 10
196 type: workflow-scm
197 concurrent: true
Jakub Josef3ebe0662018-02-05 18:24:26 +0100198 plugin_properties:
199 throttleconcurrents:
200 enabled: true
201 throttle_option: category
202 categories:
203 - test-formula
chnyda02926002017-08-29 17:39:24 +0200204 scm:
205 type: git
206 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +0100207 branch: "${_param:jenkins_pipelines_branch}"
chnyda02926002017-08-29 17:39:24 +0200208 credentials: "gerrit"
209 script: test-salt-formulas-env.groovy
210 param:
211 SALT_VERSION:
212 type: string
213 default: "latest"
214 SALT_OPTS:
215 type: string
216 default: "--force-color"
217 CREDENTIALS_ID:
218 type: string
219 default: "gerrit"
220 DEFAULT_GIT_URL:
221 type: string
222 description: "Run against alternate system reclass"
223 default: "${_param:jenkins_gerrit_url}/salt-formulas/{{name}}"
224 DEFAULT_GIT_REF:
225 type: string
226 default: master
227 KITCHEN_ENV:
228 type: text