blob: 645a273c6fe05fe907fb15553326e2846bb5c1fe [file] [log] [blame]
Martin Polreichc25959a2017-08-24 16:09:28 +02001suites:
2
3 - name: <%= ENV['SUITE'] %>
4 provisioner:
5 pillars-from-files:
Petr Michalec52d4e1f2017-09-11 17:50:54 +02006 <%# to parse SUITE=kubernetes:pillar1,kubernetes_extra:pillar2 %>
7 <%- ENV['SUITE'].split(',').each |suite| %>
8 <%- set suite = [suite.split(':')].flatten %>
9 <%- if suite.length > 1 %>
10 <%- set key=suite[0] %>
11 <%- set file=suite[1] %>
12 <%- else %>
13 <%- set key='kubernetes' %>
14 <%- set file=suite[0] %>
15 <%- end %>
16 <%= key %>.sls: tests/pillar/<%= file %>.sls
17 <%- end %>