Commit 19ec0eb 1 parent 7b64755 commit 19ec0eb Copy full SHA for 19ec0eb
File tree 1 file changed +37
-26
lines changed
1 file changed +37
-26
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
name : ci
3
3
4
- on :
4
+ " on " :
5
5
pull_request :
6
6
push :
7
7
branches :
8
- - master
8
+ - main
9
9
10
10
jobs :
11
11
delivery :
@@ -18,47 +18,58 @@ jobs:
18
18
env :
19
19
CHEF_LICENSE : accept-no-persist
20
20
21
- dokken :
22
- needs : [delivery]
21
+ yamllint :
23
22
runs-on : ubuntu-latest
23
+ steps :
24
+ - name : Check out code
25
+ uses : actions/checkout@main
26
+ - name : Run yaml Lint
27
+ uses : actionshub/yamllint@main
28
+
29
+ mdl :
30
+ runs-on : ubuntu-latest
31
+ steps :
32
+ - name : Check out code
33
+ uses : actions/checkout@main
34
+ - name : Run Markdown Lint
35
+ uses : actionshub/markdownlint@main
36
+
37
+ integration :
38
+ needs : [mdl, yamllint, delivery]
39
+ runs-on : macos-latest
24
40
strategy :
25
41
matrix :
26
42
os :
27
- - ' amazonlinux-2'
28
- - ' debian-9'
29
- - ' debian-10'
30
- - ' centos-6'
31
- - ' centos-7'
32
- - ' centos-8'
33
- - ' centos-stream-8'
34
- - ' fedora-latest'
35
- - ' ubuntu-1604'
36
- - ' ubuntu-1804'
37
- - ' ubuntu-2004'
38
-
43
+ - centos-7
44
+ - centos-8
45
+ - centos-stream-8
46
+ # - fedora-latest # TODO: reenable once https://github.com/chef/bento/issues/1333 is fixed
47
+ - debian-10
48
+ - ubuntu-1804
49
+ - ubuntu-2004
39
50
suite :
40
- - ' all-tables'
41
- - ' install-and-remove'
42
- - ' rule-line-number'
43
- - ' rule-line'
44
- - ' rules'
51
+ - enforcing
52
+ - permissive
53
+ - disabled
54
+ exclude :
55
+ - os : ubuntu-1804
56
+ suite : enforcing
45
57
fail-fast : false
46
58
47
59
steps :
48
60
- name : Check out code
49
- uses : actions/checkout@main
61
+ uses : actions/checkout@v2
50
62
- name : Install Chef
51
63
uses : actionshub/chef-install@main
52
- - name : Dokken
53
- uses : actionshub/kitchen-dokken @main
64
+ - name : test-kitchen
65
+ uses : actionshub/test-kitchen @main
54
66
env :
55
67
CHEF_LICENSE : accept-no-persist
56
- KITCHEN_LOCAL_YAML : kitchen.dokken.yml
57
68
with :
58
69
suite : ${{ matrix.suite }}
59
70
os : ${{ matrix.os }}
60
71
- name : Print debug output on failure
61
- if : failure()
72
+ if : ${{ failure() }}
62
73
run : |
63
74
set -x
64
75
sudo journalctl -l --since today
You can’t perform that action at this time.
0 commit comments