Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 1 | parameters: |
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 Pytloun | 2e9da1e | 2017-03-27 11:09:38 +0200 | [diff] [blame] | 10 | - name: aptcacher |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 11 | - name: aptly |
12 | - name: artifactory | ||||
Ivan Suzdal | 4529460 | 2018-07-18 11:13:06 +0400 | [diff] [blame] | 13 | - name: auditd |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 14 | - name: avinetworks |
Petr Jediný | 9d934b8 | 2017-08-10 23:27:30 +0200 | [diff] [blame] | 15 | - name: backupninja |
16 | - name: barbican | ||||
Vasyl Saienko | 474a5ab | 2017-09-26 12:19:10 +0300 | [diff] [blame] | 17 | - name: baremetal-simulator |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 18 | - 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 Josef | 71c941d | 2017-04-19 18:24:07 +0200 | [diff] [blame] | 30 | - name: designate |
alexz | ac2bcf5 | 2018-02-15 12:38:15 +0100 | [diff] [blame] | 31 | - name: debmirror |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 32 | - name: dekapod |
Ilya Kharin | aef689a | 2017-03-24 19:44:40 +0400 | [diff] [blame] | 33 | - name: devops-portal |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 34 | - name: docker |
Oleg Iurchenko | fba5c9b | 2017-11-08 16:03:47 +0200 | [diff] [blame] | 35 | - name: dogtag |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 36 | - name: dovecot |
37 | - name: elasticsearch | ||||
38 | - name: etcd | ||||
chnyda | 0a56506 | 2017-10-04 10:43:18 +0200 | [diff] [blame] | 39 | - name: fluentbit |
Bartosz Kupidura | 11ead6b | 2017-11-03 10:23:04 +0100 | [diff] [blame] | 40 | - name: fluentd |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 41 | - 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ý | bd2e760 | 2017-06-12 13:31:17 +0200 | [diff] [blame] | 49 | - name: gnocchi |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 50 | - name: grafana |
51 | - name: graphite | ||||
52 | - name: haproxy | ||||
53 | - name: heat | ||||
54 | - name: heka | ||||
Jakub Josef | 106452d | 2018-02-20 15:26:49 +0100 | [diff] [blame] | 55 | - name: heketi |
Yuriy Taraday | ee4aaaa | 2017-06-29 19:25:39 +0400 | [diff] [blame] | 56 | - name: helm |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 57 | - name: horizon |
Dmitry Teselkin | fc46e7f | 2018-06-07 15:44:55 +0300 | [diff] [blame] | 58 | - name: hubble |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 59 | - name: influxdb |
60 | - name: iptables | ||||
Vasyl Saienko | 0567479 | 2017-06-06 09:44:40 +0300 | [diff] [blame] | 61 | - name: ironic |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 62 | - name: isc-dhcp |
63 | - name: java | ||||
64 | - name: jenkins | ||||
65 | - name: kedb | ||||
66 | - name: keepalived | ||||
Mikhail Ivanov | 0f0ff28 | 2018-05-28 16:31:14 +0400 | [diff] [blame] | 67 | - name: keycloak |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 68 | - name: keystone |
69 | - name: kibana | ||||
70 | - name: kubernetes | ||||
71 | - name: letsencrypt | ||||
72 | - name: libvirt | ||||
73 | - name: linux | ||||
Martin Polreich | cc310eb | 2017-04-20 10:57:39 +0200 | [diff] [blame] | 74 | - name: lldp |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 75 | - name: logrotate |
76 | - name: maas | ||||
77 | - name: magnum | ||||
Vasyl Saienko | 3dc1599 | 2018-01-26 13:52:07 +0200 | [diff] [blame] | 78 | - name: manila |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 79 | - name: memcached |
80 | - name: midonet | ||||
Dmitry Teselkin | 5310646 | 2017-12-19 15:44:17 +0300 | [diff] [blame] | 81 | - name: mirascan |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 82 | - 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 Ezhova | 16facaa | 2017-06-05 16:19:35 +0400 | [diff] [blame] | 94 | - name: octavia |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 95 | - name: opencontrail |
Filip Pytloun | e5c9418 | 2017-03-28 12:17:09 +0200 | [diff] [blame] | 96 | - name: openldap |
Ivan Suzdal | fd6ef4b | 2018-06-12 10:32:03 +0400 | [diff] [blame] | 97 | - name: openscap |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 98 | - name: openssh |
99 | - name: openvpn | ||||
100 | - name: openvstorage | ||||
Vasyl Saienko | 4c6ae87 | 2018-02-19 11:01:44 +0200 | [diff] [blame] | 101 | - name: oslo-templates |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 102 | - name: owncloud |
Petr Jediný | bd2e760 | 2017-06-12 13:31:17 +0200 | [diff] [blame] | 103 | - name: panko |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 104 | - name: postfix |
105 | - name: postgresql | ||||
Mykyta Karpin | 2fef76f | 2017-06-12 11:28:58 +0300 | [diff] [blame] | 106 | - name: powerdns |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 107 | - name: pritunl |
Ales Komarek | a383d44 | 2017-03-17 10:26:47 +0100 | [diff] [blame] | 108 | - name: prometheus |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 109 | - name: python |
110 | - name: rabbitmq | ||||
111 | - name: reclass | ||||
112 | - name: redis | ||||
113 | - name: roundcube | ||||
114 | - name: rsync | ||||
115 | - name: rsyslog | ||||
Filip Pytloun | a517fcc | 2017-05-15 15:10:27 +0200 | [diff] [blame] | 116 | - name: rundeck |
Vasyl Saienko | 28f0d60 | 2018-01-12 11:02:42 +0200 | [diff] [blame] | 117 | - name: runtest |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 118 | - name: sahara |
119 | - name: salt | ||||
120 | - name: sensu | ||||
121 | - name: sentry | ||||
Jakub Josef | ae5bac0 | 2018-05-03 15:08:09 +0200 | [diff] [blame] | 122 | - name: shibboleth |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 123 | - name: sphinx |
Filip Pytloun | e32a5eb | 2017-04-10 11:10:03 +0200 | [diff] [blame] | 124 | - name: spinnaker |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 125 | - name: statsd |
126 | - name: supervisor | ||||
127 | - name: swift | ||||
128 | - name: taiga | ||||
Ales Komarek | a383d44 | 2017-03-17 10:26:47 +0100 | [diff] [blame] | 129 | - name: telegraf |
Jakub Josef | 41cdfd3 | 2017-11-15 16:45:28 +0100 | [diff] [blame] | 130 | - name: tinyproxy |
Filip Pytloun | d36dffa | 2017-04-26 16:59:40 +0200 | [diff] [blame] | 131 | - name: tftpd-hpa |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 132 | - name: varnish |
Petr Ruzicka | 15a4e04 | 2018-01-31 16:30:46 +0100 | [diff] [blame] | 133 | - name: watchdog |
Jiri Broulik | 3e984b3 | 2017-06-01 11:50:25 +0200 | [diff] [blame] | 134 | - name: xtrabackup |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 135 | - 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 Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 147 | branch: "${_param:jenkins_pipelines_branch}" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 148 | 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 Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 157 | comment: |
158 | - addedContains: | ||||
Jakub Josef | edf88f1 | 2017-06-26 13:07:32 +0200 | [diff] [blame] | 159 | commentAddedCommentContains: '^(?s:Patch Set \d+:.*(test|recheck|reverify)\s*)$' |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 160 | param: |
161 | SALT_VERSION: | ||||
162 | type: string | ||||
Aleksey Zvyagintsev | db3ec0f | 2018-08-03 12:13:55 +0000 | [diff] [blame] | 163 | default: "" |
Jakub Josef | e14c23d | 2018-02-06 18:33:38 +0100 | [diff] [blame] | 164 | description: "Version of salt for use in test, empty string means latest (default)" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 165 | SALT_OPTS: |
166 | type: string | ||||
167 | default: "--force-color" | ||||
168 | CREDENTIALS_ID: | ||||
169 | type: string | ||||
170 | default: "gerrit" | ||||
Jakub Josef | 9da39f4 | 2017-03-29 18:05:33 +0200 | [diff] [blame] | 171 | 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 Polreich | afb3d6c | 2017-07-18 13:56:10 +0200 | [diff] [blame] | 178 | CUSTOM_KITCHEN_ENVS: |
179 | type: text | ||||
Martin Polreich | ac5f175 | 2017-08-22 14:09:52 +0200 | [diff] [blame] | 180 | PARALLEL_GROUP_SIZE: |
181 | type: string | ||||
Martin Polreich | 357c977 | 2017-08-30 12:15:32 +0200 | [diff] [blame] | 182 | default: "8" |
Sergey Otpuschennikov | 87d8d9c | 2018-05-15 19:35:50 +0400 | [diff] [blame] | 183 | 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" | ||||
chnyda | 0292600 | 2017-08-29 17:39:24 +0200 | [diff] [blame] | 189 | job: |
190 | test-salt-formulas-env: | ||||
191 | name: test-salt-formulas-env | ||||
192 | discard: | ||||
193 | build: | ||||
Jakub Josef | 04943bd | 2017-12-20 17:59:08 +0100 | [diff] [blame] | 194 | keep_num: 1000 |
chnyda | 0292600 | 2017-08-29 17:39:24 +0200 | [diff] [blame] | 195 | artifact: |
196 | keep_num: 10 | ||||
197 | type: workflow-scm | ||||
198 | concurrent: true | ||||
Jakub Josef | 3ebe066 | 2018-02-05 18:24:26 +0100 | [diff] [blame] | 199 | plugin_properties: |
200 | throttleconcurrents: | ||||
201 | enabled: true | ||||
202 | throttle_option: category | ||||
203 | categories: | ||||
204 | - test-formula | ||||
chnyda | 0292600 | 2017-08-29 17:39:24 +0200 | [diff] [blame] | 205 | scm: |
206 | type: git | ||||
207 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" | ||||
Jakub Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 208 | branch: "${_param:jenkins_pipelines_branch}" |
chnyda | 0292600 | 2017-08-29 17:39:24 +0200 | [diff] [blame] | 209 | 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 |