Enable kitchen tests
Change-Id: I8dfebeb3ae4d7428e026a826b381cc7d10d9a017
diff --git a/.kitchen.yml b/.kitchen.yml
index 333c426..2c7c727 100644
--- a/.kitchen.yml
+++ b/.kitchen.yml
@@ -4,8 +4,8 @@
hostname: debmirror.ci.local
#socket: tcp://127.0.0.1:2376
use_sudo: false
-
-
+ build_options:
+ build-arg: --ulimit nofile=4096:8192 # debmirror req
provisioner:
name: salt_solo
@@ -27,20 +27,20 @@
grains:
noservices: True
-
platforms:
- - name: ubuntu-16.04
-
+ - name: <%=ENV['PLATFORM'] || 'saltstack-ubuntu-xenial-salt-stable' %>
+ driver_config:
+ image: <%=ENV['PLATFORM'] || 'epcim/salt-formulas:saltstack-ubuntu-xenial-salt-stable'%>
+ platform: ubuntu
verifier:
name: inspec
sudo: true
-
suites:
- - name: default
- # provisioner:
- # pillars-from-files:
- # debmirror.sls: tests/pillar/default.sls
+ - name: debmirror-client
+ provisioner:
+ pillars-from-files:
+ debmirror.sls: tests/pillar/client.sls
# vim: ft=yaml sw=2 ts=2 sts=2 tw=125