add PV storageclass
Change-Id: I58702cc02925ab7a5b492d04551274e96efeab74
diff --git a/.kitchen.travis.yml b/.kitchen.travis.yml
index 32d5bae..645a273 100644
--- a/.kitchen.travis.yml
+++ b/.kitchen.travis.yml
@@ -3,4 +3,15 @@
- name: <%= ENV['SUITE'] %>
provisioner:
pillars-from-files:
- kubernetes.sls: tests/pillar/<%= ENV['SUITE'] %>.sls
+ <%# to parse SUITE=kubernetes:pillar1,kubernetes_extra:pillar2 %>
+ <%- ENV['SUITE'].split(',').each |suite| %>
+ <%- set suite = [suite.split(':')].flatten %>
+ <%- if suite.length > 1 %>
+ <%- set key=suite[0] %>
+ <%- set file=suite[1] %>
+ <%- else %>
+ <%- set key='kubernetes' %>
+ <%- set file=suite[0] %>
+ <%- end %>
+ <%= key %>.sls: tests/pillar/<%= file %>.sls
+ <%- end %>