blob: 1c9f4fbcac34272e2729fc09a5ed2651bd622c24 [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
Filip Pytloun7af94b32017-03-14 18:38:52 +010013 - name: avinetworks
Petr Jediný9d934b82017-08-10 23:27:30 +020014 - name: backupninja
15 - name: barbican
Vasyl Saienko474a5ab2017-09-26 12:19:10 +030016 - name: baremetal-simulator
Filip Pytloun7af94b32017-03-14 18:38:52 +010017 - name: billometer
18 - name: bind
19 - name: bird
20 - name: cadf
21 - name: calico
22 - name: cassandra
23 - name: ccp
24 - name: ceilometer
25 - name: ceph
26 - name: chrony
27 - name: cinder
28 - name: collectd
Jakub Josef71c941d2017-04-19 18:24:07 +020029 - name: designate
alexzac2bcf52018-02-15 12:38:15 +010030 - name: debmirror
Filip Pytloun7af94b32017-03-14 18:38:52 +010031 - name: dekapod
Ilya Kharinaef689a2017-03-24 19:44:40 +040032 - name: devops-portal
Filip Pytloun7af94b32017-03-14 18:38:52 +010033 - name: docker
Oleg Iurchenkofba5c9b2017-11-08 16:03:47 +020034 - name: dogtag
Filip Pytloun7af94b32017-03-14 18:38:52 +010035 - name: dovecot
36 - name: elasticsearch
37 - name: etcd
chnyda0a565062017-10-04 10:43:18 +020038 - name: fluentbit
Bartosz Kupidura11ead6b2017-11-03 10:23:04 +010039 - name: fluentd
Filip Pytloun7af94b32017-03-14 18:38:52 +010040 - name: foreman
41 - name: freeipa
42 - name: galera
43 - name: gerrit
44 - name: git
45 - name: gitlab
46 - name: glance
47 - name: glusterfs
Petr Jedinýbd2e7602017-06-12 13:31:17 +020048 - name: gnocchi
Filip Pytloun7af94b32017-03-14 18:38:52 +010049 - name: grafana
50 - name: graphite
51 - name: haproxy
52 - name: heat
53 - name: heka
Jakub Josef106452d2018-02-20 15:26:49 +010054 - name: heketi
Yuriy Taradayee4aaaa2017-06-29 19:25:39 +040055 - name: helm
Filip Pytloun7af94b32017-03-14 18:38:52 +010056 - name: horizon
Dmitry Teselkinfc46e7f2018-06-07 15:44:55 +030057 - name: hubble
Filip Pytloun7af94b32017-03-14 18:38:52 +010058 - name: influxdb
59 - name: iptables
Vasyl Saienko05674792017-06-06 09:44:40 +030060 - name: ironic
Filip Pytloun7af94b32017-03-14 18:38:52 +010061 - name: isc-dhcp
62 - name: java
63 - name: jenkins
64 - name: kedb
65 - name: keepalived
66 - name: keystone
67 - name: kibana
68 - name: kubernetes
69 - name: letsencrypt
70 - name: libvirt
71 - name: linux
Martin Polreichcc310eb2017-04-20 10:57:39 +020072 - name: lldp
Filip Pytloun7af94b32017-03-14 18:38:52 +010073 - name: logrotate
74 - name: maas
75 - name: magnum
Vasyl Saienko3dc15992018-01-26 13:52:07 +020076 - name: manila
Filip Pytloun7af94b32017-03-14 18:38:52 +010077 - name: memcached
78 - name: midonet
Dmitry Teselkin53106462017-12-19 15:44:17 +030079 - name: mirascan
Filip Pytloun7af94b32017-03-14 18:38:52 +010080 - name: monasca
81 - name: mongodb
82 - name: murano
83 - name: mysql
84 - name: nagios
85 - name: network
86 - name: neutron
87 - name: nfs
88 - name: nginx
89 - name: nodejs
90 - name: nova
91 - name: ntp
Elena Ezhova16facaa2017-06-05 16:19:35 +040092 - name: octavia
Filip Pytloun7af94b32017-03-14 18:38:52 +010093 - name: opencontrail
Filip Pytloune5c94182017-03-28 12:17:09 +020094 - name: openldap
Ivan Suzdalfd6ef4b2018-06-12 10:32:03 +040095 - name: openscap
Filip Pytloun7af94b32017-03-14 18:38:52 +010096 - name: openssh
97 - name: openvpn
98 - name: openvstorage
Vasyl Saienko4c6ae872018-02-19 11:01:44 +020099 - name: oslo-templates
Filip Pytloun7af94b32017-03-14 18:38:52 +0100100 - name: owncloud
Petr Jedinýbd2e7602017-06-12 13:31:17 +0200101 - name: panko
Filip Pytloun7af94b32017-03-14 18:38:52 +0100102 - name: postfix
103 - name: postgresql
Mykyta Karpin2fef76f2017-06-12 11:28:58 +0300104 - name: powerdns
Filip Pytloun7af94b32017-03-14 18:38:52 +0100105 - name: pritunl
Ales Komareka383d442017-03-17 10:26:47 +0100106 - name: prometheus
Filip Pytloun7af94b32017-03-14 18:38:52 +0100107 - name: python
108 - name: rabbitmq
109 - name: reclass
110 - name: redis
111 - name: roundcube
112 - name: rsync
113 - name: rsyslog
Filip Pytlouna517fcc2017-05-15 15:10:27 +0200114 - name: rundeck
Vasyl Saienko28f0d602018-01-12 11:02:42 +0200115 - name: runtest
Filip Pytloun7af94b32017-03-14 18:38:52 +0100116 - name: sahara
117 - name: salt
118 - name: sensu
119 - name: sentry
Jakub Josefae5bac02018-05-03 15:08:09 +0200120 - name: shibboleth
Filip Pytloun7af94b32017-03-14 18:38:52 +0100121 - name: sphinx
Filip Pytloune32a5eb2017-04-10 11:10:03 +0200122 - name: spinnaker
Filip Pytloun7af94b32017-03-14 18:38:52 +0100123 - name: statsd
124 - name: supervisor
125 - name: swift
126 - name: taiga
Ales Komareka383d442017-03-17 10:26:47 +0100127 - name: telegraf
Jakub Josef41cdfd32017-11-15 16:45:28 +0100128 - name: tinyproxy
Filip Pytlound36dffa2017-04-26 16:59:40 +0200129 - name: tftpd-hpa
Filip Pytloun7af94b32017-03-14 18:38:52 +0100130 - name: varnish
Petr Ruzicka15a4e042018-01-31 16:30:46 +0100131 - name: watchdog
Jiri Broulik3e984b32017-06-01 11:50:25 +0200132 - name: xtrabackup
Filip Pytloun7af94b32017-03-14 18:38:52 +0100133 - name: zookeeper
134 template:
135 discard:
136 build:
137 keep_num: 25
138 artifact:
139 keep_num: 25
140 type: workflow-scm
141 concurrent: true
142 scm:
143 type: git
144 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +0100145 branch: "${_param:jenkins_pipelines_branch}"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100146 credentials: "gerrit"
147 script: test-salt-formulas-pipeline.groovy
148 trigger:
149 gerrit:
150 project:
151 salt-formulas/{{name}}:
152 branches:
153 - master
154 event:
Filip Pytloun7af94b32017-03-14 18:38:52 +0100155 comment:
156 - addedContains:
Jakub Josefedf88f12017-06-26 13:07:32 +0200157 commentAddedCommentContains: '^(?s:Patch Set \d+:.*(test|recheck|reverify)\s*)$'
Filip Pytloun7af94b32017-03-14 18:38:52 +0100158 param:
159 SALT_VERSION:
160 type: string
Jakub Josefe14c23d2018-02-06 18:33:38 +0100161 default: ""
162 description: "Version of salt for use in test, empty string means latest (default)"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100163 SALT_OPTS:
164 type: string
165 default: "--force-color"
166 CREDENTIALS_ID:
167 type: string
168 default: "gerrit"
Jakub Josef9da39f42017-03-29 18:05:33 +0200169 DEFAULT_GIT_URL:
170 type: string
171 description: "Run against alternate system reclass"
172 default: "${_param:jenkins_gerrit_url}/salt-formulas/{{name}}"
173 DEFAULT_GIT_REF:
174 type: string
175 default: master
Martin Polreichafb3d6c2017-07-18 13:56:10 +0200176 CUSTOM_KITCHEN_ENVS:
177 type: text
Martin Polreichac5f1752017-08-22 14:09:52 +0200178 PARALLEL_GROUP_SIZE:
179 type: string
Martin Polreich357c9772017-08-30 12:15:32 +0200180 default: "8"
Sergey Otpuschennikov87d8d9c2018-05-15 19:35:50 +0400181 RUN_TEST_IN_DOCKER:
182 type: boolean
183 description: "Run test stage in docker environment"
184 SMOKE_TEST_DOCKER_IMG:
185 type: string
186 default: "ubuntu:16.04"
chnyda02926002017-08-29 17:39:24 +0200187 job:
188 test-salt-formulas-env:
189 name: test-salt-formulas-env
190 discard:
191 build:
Jakub Josef04943bd2017-12-20 17:59:08 +0100192 keep_num: 1000
chnyda02926002017-08-29 17:39:24 +0200193 artifact:
194 keep_num: 10
195 type: workflow-scm
196 concurrent: true
Jakub Josef3ebe0662018-02-05 18:24:26 +0100197 plugin_properties:
198 throttleconcurrents:
199 enabled: true
200 throttle_option: category
201 categories:
202 - test-formula
chnyda02926002017-08-29 17:39:24 +0200203 scm:
204 type: git
205 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +0100206 branch: "${_param:jenkins_pipelines_branch}"
chnyda02926002017-08-29 17:39:24 +0200207 credentials: "gerrit"
208 script: test-salt-formulas-env.groovy
209 param:
210 SALT_VERSION:
211 type: string
212 default: "latest"
213 SALT_OPTS:
214 type: string
215 default: "--force-color"
216 CREDENTIALS_ID:
217 type: string
218 default: "gerrit"
219 DEFAULT_GIT_URL:
220 type: string
221 description: "Run against alternate system reclass"
222 default: "${_param:jenkins_gerrit_url}/salt-formulas/{{name}}"
223 DEFAULT_GIT_REF:
224 type: string
225 default: master
226 KITCHEN_ENV:
227 type: text