-
-
Notifications
You must be signed in to change notification settings - Fork 248
157 lines (147 loc) · 3.73 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
---
name: ci
"on":
pull_request:
push:
branches:
- main
jobs:
lint-unit:
uses: sous-chefs/.github/.github/workflows/[email protected]
permissions:
actions: write
checks: write
pull-requests: write
statuses: write
issues: write
integration:
needs: lint-unit
runs-on: ubuntu-latest
strategy:
matrix:
os:
- "debian-11"
- "debian-12"
- "ubuntu-2004"
- "ubuntu-2204"
- "centos-stream-8"
- "centos-stream-9"
- "fedora-latest"
suite:
- config-2
- config-3
- config-acl
- config-array
- config-backend-search
- config-custom-template
- config-fastcgi
- config-resolver
- config-ssl-redirect
- "package"
- "source-24"
- "source-26"
- "source-28"
- "source-29"
- "source-lua"
- "source-default"
# - "source-openssl"
# OpenSSSL libraries are not currently compiling correctly
# see https://github.com/sous-chefs/haproxy/issues/503
fail-fast: false
steps:
- name: Check out code
uses: actions/checkout@v4 # v4
- name: Install Chef
uses: actionshub/chef-install@main
- name: Dokken
uses: actionshub/test-kitchen@main
env:
CHEF_LICENSE: accept-no-persist
KITCHEN_LOCAL_YAML: kitchen.dokken.yml
with:
suite: ${{ matrix.suite }}
os: ${{ matrix.os }}
integration-amazonlinux:
needs: lint-unit
runs-on: ubuntu-24.04
strategy:
matrix:
os:
- "amazonlinux-2023"
suite:
- "package"
- "source-24"
- "source-26"
- "source-28"
- "source-29"
- "source-default"
fail-fast: false
steps:
- name: Check out code
uses: actions/checkout@v4 # v4
- name: Install Chef
uses: actionshub/[email protected]
- name: Dokken
uses: actionshub/[email protected]
env:
CHEF_LICENSE: accept-no-persist
KITCHEN_LOCAL_YAML: kitchen.dokken.yml
with:
suite: ${{ matrix.suite }}
os: ${{ matrix.os }}
lua_test:
needs: lint-unit
runs-on: ubuntu-latest
strategy:
matrix:
os:
- "centos-7"
suite:
- "source-lua"
fail-fast: false
steps:
- name: Check out code
uses: actions/checkout@v4 # v4
- name: Install Chef
uses: actionshub/[email protected]
- name: Dokken
uses: actionshub/[email protected]
env:
CHEF_LICENSE: accept-no-persist
KITCHEN_LOCAL_YAML: kitchen.dokken.yml
with:
suite: ${{ matrix.suite }}
os: ${{ matrix.os }}
configtest:
needs: lint-unit
runs-on: ubuntu-latest
strategy:
matrix:
os:
- "centos-7"
- "centos-stream-8"
suite:
- "config-2"
- "config-3"
- "config-backend-search"
- "config-acl"
- "config-resolver"
- "config-ssl-redirect"
- "config-custom-template"
- "config-custom-template"
- "config-array"
- "config-fastcgi"
fail-fast: false
steps:
- name: Check out code
uses: actions/checkout@v4 # v4
- name: Install Chef
uses: actionshub/[email protected]
- name: Dokken
uses: actionshub/[email protected]
env:
CHEF_LICENSE: accept-no-persist
KITCHEN_LOCAL_YAML: kitchen.dokken.yml
with:
suite: ${{ matrix.suite }}
os: ${{ matrix.os }}