blob: 5e6b195433f602d0c71a9e62c3e171fbf10d1315 [file] [log] [blame]
Petr Michalec57dcfb72017-01-10 23:53:54 +01001---
2driver:
3 name: docker
4 #socket: tcp://127.0.0.1:2376
5 hostname: git.ci.local
6 use_sudo: true
7
8provisioner:
9 name: salt_solo
10 salt_install: bootstrap
11 salt_bootstrap_url: https://bootstrap.saltstack.com
12 salt_version: latest
13 require_chef: false
14 #init_environment: |
15 # # apt pkg required
16 # SALT_ROOT=${SALT_ROOT:-/tmp/kitchen/srv/salt}
17 # mkdir -p $SALT_ROOT;
18 # ln -fs /usr/share/salt-formulas/env/* $SALT_ROOT/
19 # # reclass required
20 # #mkdir -p $SALT_ROOT/reclass/classes
21 # #ln -fs /usr/share/salt-formulas/reclass/* $SALT_ROOT/reclass/
22 # #find $SALT_ROOT/git -name metadata -type d | xargs -I'{}' \
23 # # cp -fa {}/service $SALT_ROOT/reclass/classes/
24 vendor_repo:
25 - type: apt
26 url: http://apt.tcpcloud.eu/nightly
27 key_url: http://apt.tcpcloud.eu/public.gpg
28 components: main tcp-salt
29 dependencies:
30 - name: linux
31 repo: apt
32 package: salt-formula-linux
33 # Test of git external dependencies that are not directly required
34 - name: nginx
35 repo: git
36 source: https://github.com/tcpcloud/salt-formula-nginx.git
37 - name: postfix
38 repo: git
39 source: https://github.com/tcpcloud/salt-formula-postfix
40 #- name: salt
41 #repo: apt
42 #package: salt-formula-salt
43 log_level: error
44 formula: git
45 grains:
46 noservices: True
47 state_top:
48 base:
49 "*":
50 - git
51 pillars:
52 top.sls:
53 base:
54 "*":
55 - git
56verifier:
57 name: inspec
58 sudo: true
59
60
61platforms:
62 - name: ubuntu-14.04
63 - name: ubuntu-16.04
64 - name: centos-7.1
65
66
67suites:
68
69 - name: client_single
70 provisioner:
71 pillars-from-files:
72 git.sls: tests/pillar/client_single.sls
73
74
75# vim: ft=yaml sw=2 ts=2 sts=2 tw=125