Added Kitchen tests and Travis + moved Kibana repo info to pillar (#17)
* Added Kitchen tests and Travis + moved Kibana repo info to pillar
* show 'make test' errors in Travis
* Update .travis.yml and notififcations
* Moved repo install to separate file
diff --git a/.kitchen.yml b/.kitchen.yml
new file mode 100644
index 0000000..1342bad
--- /dev/null
+++ b/.kitchen.yml
@@ -0,0 +1,51 @@
+---
+driver:
+ name: docker
+ hostname: kibana.ci.local
+ use_sudo: false
+
+provisioner:
+ name: salt_solo
+ salt_install: bootstrap
+ salt_bootstrap_url: https://bootstrap.saltstack.com
+ salt_version: latest
+ require_chef: false
+ log_level: error
+ formula: kibana
+ grains:
+ noservices: True
+ state_top:
+ base:
+ "*":
+ - linux
+ - kibana
+ pillars:
+ top.sls:
+ base:
+ "*":
+ - kibana
+ - kibana_debian_repo
+ pillars-from-files:
+ kibana_debian_repo.sls: tests/pillar/kibana_debian_repo.sls
+ dependencies:
+ - name: linux
+ repo: git
+ source: https://github.com/salt-formulas/salt-formula-linux.git
+
+verifier:
+ name: inspec
+ sudo: true
+
+platforms:
+ - name: <%=ENV['PLATFORM'] || 'ubuntu-xenial'%>
+ driver_config:
+ image: <%=ENV['PLATFORM'] || 'trevorj/salty-whales:xenial'%>
+ platform: ubuntu
+
+suites:
+
+ - name: kibana_server
+ provisioner:
+ pillars-from-files:
+ kibana.sls: tests/pillar/kibana_server.sls
+# vim: ft=yaml sw=2 ts=2 sts=2 tw=125