introduce test-kitchen
Change-Id: I374cb4a534e260c00a3cca178ec1d03c2faebcbf
Implements: blueprint service-level-testing
diff --git a/.kitchen.yml b/.kitchen.yml
new file mode 100644
index 0000000..71ecdb3
--- /dev/null
+++ b/.kitchen.yml
@@ -0,0 +1,53 @@
+---
+driver:
+ name: vagrant
+ vm_hostname: horizon.ci.local
+ use_sudo: false
+ customize:
+ memory: 512
+
+
+provisioner:
+ name: salt_solo
+ salt_install: bootstrap
+ salt_bootstrap_url: https://bootstrap.saltstack.com
+ salt_version: latest
+ formula: horizon
+ log_level: info
+ state_top:
+ base:
+ "*":
+ - horizon
+ pillars:
+ top.sls:
+ base:
+ "*":
+ - horizon
+ grains:
+ noservices: False
+
+
+verifier:
+ name: inspec
+ sudo: true
+
+
+platforms:
+ - name: ubuntu-14.04
+ - name: ubuntu-16.04
+ #- name: centos-7.1
+
+
+suites:
+
+ - name: cluster
+ provisioner:
+ pillars-from-files:
+ horizon.sls: tests/pillar/cluster.sls
+
+ - name: single
+ provisioner:
+ pillars-from-files:
+ horizon.sls: tests/pillar/single.sls
+
+# vim: ft=yaml sw=2 ts=2 sts=2 tw=125