Skip to content

Commit ba0a5f2

Browse files
committed
Added back more containers to test on, revised git usage due to Salt git errors, see saltstack/salt#67070
1 parent 6629b40 commit ba0a5f2

3 files changed

Lines changed: 64 additions & 20 deletions

File tree

.github/workflows/ci.yml

Lines changed: 50 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,51 @@ jobs:
180180

181181

182182

183+
amazonlinux-2:
184+
name: Amazon 2
185+
if: github.event_name == 'push' || needs.collect-changed-files.outputs.run-tests == 'true'
186+
uses: ./.github/workflows/test-linux.yml
187+
needs:
188+
- lint
189+
- generate-actions-workflow
190+
with:
191+
distro-slug: amazonlinux-2
192+
display-name: Amazon 2
193+
container-slug: systemd-amazonlinux-2
194+
timeout: 20
195+
instances: '["stable-3006", "onedir-3006", "stable-3006-8", "stable-3007", "onedir-3007", "stable-3007-1", "latest", "default"]'
196+
197+
198+
amazonlinux-2023:
199+
name: Amazon 2023
200+
if: github.event_name == 'push' || needs.collect-changed-files.outputs.run-tests == 'true'
201+
uses: ./.github/workflows/test-linux.yml
202+
needs:
203+
- lint
204+
- generate-actions-workflow
205+
with:
206+
distro-slug: amazonlinux-2023
207+
display-name: Amazon 2023
208+
container-slug: systemd-amazonlinux-2023
209+
timeout: 20
210+
instances: '["stable-3006", "onedir-3006", "stable-3006-8", "stable-3007", "onedir-3007", "stable-3007-1", "latest", "default"]'
211+
212+
213+
debian-11:
214+
name: Debian 11
215+
if: github.event_name == 'push' || needs.collect-changed-files.outputs.run-tests == 'true'
216+
uses: ./.github/workflows/test-linux.yml
217+
needs:
218+
- lint
219+
- generate-actions-workflow
220+
with:
221+
distro-slug: debian-11
222+
display-name: Debian 11
223+
container-slug: systemd-debian-11
224+
timeout: 20
225+
instances: '["stable-3006", "onedir-3006", "stable-3006-8", "stable-3007", "onedir-3007", "stable-3007-1", "latest", "default"]'
226+
227+
183228
debian-12:
184229
name: Debian 12
185230
if: github.event_name == 'push' || needs.collect-changed-files.outputs.run-tests == 'true'
@@ -192,7 +237,7 @@ jobs:
192237
display-name: Debian 12
193238
container-slug: systemd-debian-12
194239
timeout: 20
195-
instances: '["git-3006", "stable-3007", "git-3007", "onedir-3007", "stable-3007-1", "git-master", "latest", "default"]'
240+
instances: '["stable-3007", "onedir-3007", "stable-3007-1", "git-master", "latest", "default"]'
196241

197242

198243
photon-5:
@@ -237,7 +282,7 @@ jobs:
237282
display-name: Rocky Linux 9
238283
container-slug: systemd-rockylinux-9
239284
timeout: 20
240-
instances: '["stable-3006", "git-3006", "onedir-3006", "stable-3006-8", "stable-3007", "git-3007", "onedir-3007", "stable-3007-1", "git-master", "latest", "default"]'
285+
instances: '["stable-3006", "onedir-3006", "stable-3006-8", "stable-3007", "onedir-3007", "stable-3007-1", "git-master", "latest", "default"]'
241286

242287

243288
ubuntu-2204:
@@ -267,6 +312,9 @@ jobs:
267312
- macos-13
268313
- macos-14
269314
- windows-2022
315+
- amazonlinux-2
316+
- amazonlinux-2023
317+
- debian-11
270318
- debian-12
271319
- photon-5
272320
- rockylinux-8

.github/workflows/templates/generate.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
88

99
# only test against current containers with systemd
1010
# will add these when they become available with systemd
11-
# "amazonlinux-2",
12-
# "amazonlinux-2023",
13-
# "debian-11",
1411
# "debian-12",
1512
# "debian-13",
1613
# "fedora-40",
1714
# "photon-4",
1815
# "ubuntu-2004",
1916
# "ubuntu-2404",
2017
LINUX_DISTROS = [
18+
"amazonlinux-2",
19+
"amazonlinux-2023",
20+
"debian-11",
2121
"debian-12",
2222
"photon-5",
2323
"rockylinux-8",
@@ -37,15 +37,15 @@
3737

3838
# only test against current containers with systemd
3939
# will add these when they become available with systemd
40-
# "amazonlinux-2",
41-
# "amazonlinux-2023",
42-
# "debian-11",
4340
# "debian-13",
4441
# "fedora-40",
4542
# "photon-4",
4643
# "ubuntu-2004",
4744
# "ubuntu-2404",
4845
STABLE_DISTROS = [
46+
"amazonlinux-2",
47+
"amazonlinux-2023",
48+
"debian-11",
4949
"debian-12",
5050
"photon-5",
5151
"rockylinux-8",
@@ -55,15 +55,15 @@
5555

5656
# only test against current containers with systemd
5757
# will add these when they become available with systemd
58-
# "amazonlinux-2",
59-
# "amazonlinux-2023",
60-
# "debian-11",
6158
# "debian-13",
6259
# "fedora-40",
6360
# "photon-4",
6461
# "ubuntu-2004",
6562
# "ubuntu-2404",
6663
ONEDIR_DISTROS = [
64+
"amazonlinux-2",
65+
"amazonlinux-2023",
66+
"debian-11",
6767
"debian-12",
6868
"photon-5",
6969
"rockylinux-8",
@@ -97,31 +97,31 @@
9797
"photon-5",
9898
]
9999

100-
# "debian-12",
101-
# "rockylinux-9",
102100
# "ubuntu-2204",
103101
BLACKLIST_GIT_3006 = [
104102
"amazonlinux-2",
105103
"amazonlinux-2023",
106104
"debian-11",
105+
"debian-12",
107106
"fedora-40",
108107
"photon-4",
109108
"photon-5",
109+
"rockylinux-9",
110110
"ubuntu-2004",
111111
"ubuntu-2404",
112112
]
113113

114-
# "debian-12",
115-
# "rockylinux-9",
116114
# "ubuntu-2204",
117115
BLACKLIST_GIT_3007 = [
118116
"amazonlinux-2",
119117
"amazonlinux-2023",
120118
"debian-11",
119+
"debian-12",
121120
"debian-13",
122121
"fedora-40",
123122
"photon-4",
124123
"photon-5",
124+
"rockylinux-9",
125125
"ubuntu-2004",
126126
"ubuntu-2404",
127127
]

bootstrap-salt.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2817,11 +2817,7 @@ EOM
28172817

28182818
echoinfo "Downloading Salt Dependencies from PyPi"
28192819
echodebug "Running '${_pip_cmd} download -d /tmp/git/deps ${_PIP_DOWNLOAD_ARGS} .'"
2820-
if [ "${OS_NAME}" = "Linux" ]; then
2821-
${_pip_cmd} download -d /tmp/git/deps ${_PIP_DOWNLOAD_ARGS} -r "requirements/static/pkg/py${_py_version}/linux.txt"
2822-
else
2823-
${_pip_cmd} download -d /tmp/git/deps ${_PIP_DOWNLOAD_ARGS} .
2824-
fi
2820+
${_pip_cmd} download -d /tmp/git/deps ${_PIP_DOWNLOAD_ARGS} .
28252821
# shellcheck disable=SC2181
28262822
if [ $? -ne 0 ]; then
28272823
echo "Failed to download salt dependencies"

0 commit comments

Comments
 (0)