1
+ # -*- coding: utf-8 -*-
2
+ # vim: ft=yaml
3
+ ---
1
4
stages :
2
5
- test
3
6
- commitlint
@@ -7,52 +10,38 @@ stages:
7
10
sudo : required
8
11
cache : bundler
9
12
language : ruby
13
+ dist : xenial
10
14
11
15
services :
12
16
- docker
13
17
14
18
# Make sure the instances listed below match up with
15
19
# the `platforms` defined in `kitchen.yml`
16
- # NOTE: Please try to select up to six instances that add some meaningful
17
- # testing of the formula's behaviour. If possible, try to refrain from
18
- # the classical "chosing all the instances because I want to test on
19
- # another/all distro/s" trap: it will just add time to the testing (see
20
- # the discussion on #121). As an example, the set chosen below covers
21
- # the most used distros families, systemd and non-systemd and the latest
22
- # three supported Saltstack versions with python2 and 3."
23
- # As for `kitchen.yml`, that should still contain all of the platforms,
24
- # to allow for comprehensive local testing
25
- # Ref: https://github.com/saltstack-formulas/template-formula/issues/118
26
- # Ref: https://github.com/saltstack-formulas/template-formula/issues/121
27
20
env :
28
21
matrix :
29
- - INSTANCE : default-debian-9-develop-py3
30
- # - INSTANCE: default-ubuntu-1804-develop-py3
31
- # - INSTANCE: default-centos-7-develop-py3
32
- # - INSTANCE: default-fedora-29-develop-py3
33
- # - INSTANCE: default-opensuse-leap-15-develop-py3
34
- # - INSTANCE: default-debian-9-2019-2-py3
35
- - INSTANCE : default-ubuntu-1804-2019-2-py3
36
- - INSTANCE : default-centos-7-2019-2-py3
37
- # - INSTANCE: default-fedora-29-2019-2-py3
38
- # - INSTANCE: default-opensuse-leap-15-2019-2-py3
39
- # - INSTANCE: default-debian-9-2018-3-py2
40
- # - INSTANCE: default-ubuntu-1604-2018-3-py2
41
- # - INSTANCE: default-centos-7-2018-3-py2
42
- - INSTANCE : default-fedora-29-2018-3-py2
43
- # TODO: Use this when fixed instead of `opensuse-leap-42`
44
- # Ref: https://github.com/netmanagers/salt-image-builder/issues/2
45
- # - INSTANCE: default-opensuse-leap-15-2018-3-py2
46
- - INSTANCE : default-opensuse-leap-42-2018-3-py2
47
- # - INSTANCE: default-debian-8-2017-7-py2
48
- # - INSTANCE: default-ubuntu-1604-2017-7-py2
49
- # TODO: Enable after improving the formula to work with other than `systemd`
50
- - INSTANCE : default-centos-6-2017-7-py2
51
- # - INSTANCE: default-fedora-28-2017-7-py2
52
- # - INSTANCE: default-opensuse-leap-42-2017-7-py2
22
+ - INSTANCE : debian-debian-9-develop-py3
23
+ # - INSTANCE: debian-ubuntu-1804-develop-py3
24
+ # - INSTANCE: redhat-centos-7-develop-py3
25
+ # - INSTANCE: redhat-fedora-29-develop-py3
26
+ # - INSTANCE: suse-opensuse-leap-15-develop-py3
27
+ # - INSTANCE: debian-debian-9-2019-2-py3
28
+ - INSTANCE : debian-ubuntu-1804-2019-2-py3
29
+ - INSTANCE : redhat-centos-7-2019-2-py3
30
+ # - INSTANCE: redhat-fedora-29-2019-2-py3
31
+ # - INSTANCE: suse-opensuse-leap-15-2019-2-py3
32
+ # - INSTANCE: debian-debian-9-2018-3-py2
33
+ # - INSTANCE: debian-ubuntu-1604-2018-3-py2
34
+ # - INSTANCE: redhat-centos-7-2018-3-py2
35
+ - INSTANCE : redhat-fedora-29-2018-3-py2
36
+ - INSTANCE : suse-opensuse-leap-42-2018-3-py2
37
+ # - INSTANCE: debian-debian-8-2017-7-py2
38
+ # - INSTANCE: debian-ubuntu-1604-2017-7-py2
39
+ - INSTANCE : redhat-centos-6-2017-7-py2
40
+ # - INSTANCE: redhat-fedora-28-2017-7-py2
41
+ # - INSTANCE: suse-opensuse-leap-42-2017-7-py2
53
42
54
43
script :
55
- - bundle exec kitchen verify ${INSTANCE}
44
+ - bin/ kitchen verify ${INSTANCE}
56
45
57
46
jobs :
58
47
include :
0 commit comments