File tree 2 files changed +1
-13
lines changed
packaging/tests/deployments/salt/images
2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change 68
68
69
69
salt-test :
70
70
name : salt-test
71
- # Amazon Linux 2 uses cgroup v1
72
- # Ubuntu 24.04 uses cgroup v2
73
- # Fallback to Ubuntu 20.04 when needed
74
- runs-on : ${{ fromJSON('["ubuntu-24.04", "ubuntu-20.04"]')[matrix.DISTRO == 'amazonlinux-2'] }}
71
+ runs-on : ubuntu-24.04
75
72
timeout-minutes : 60
76
73
needs : [salt-lint-test, salt-test-matrix]
77
74
strategy :
96
93
continue-on-error : true
97
94
run : |
98
95
distro="${{ matrix.DISTRO }}"
99
- if [[ "$distro" = "amazonlinux-2" ]]; then
100
- # workaround for pytest substring matching
101
- distro="amazonlinux-2 and not amazonlinux-2023"
102
- fi
103
96
python3 -u -m pytest -s --verbose -k "$distro and ${{ matrix.CONFIG }}" \
104
97
packaging/tests/deployments/salt/salt_test.py
105
98
@@ -108,10 +101,6 @@ jobs:
108
101
if : ${{ steps.pytest.outcome == 'failure' }}
109
102
run : |
110
103
distro="${{ matrix.DISTRO }}"
111
- if [[ "$distro" = "amazonlinux-2" ]]; then
112
- # workaround for pytest substring matching
113
- distro="amazonlinux-2 and not amazonlinux-2023"
114
- fi
115
104
python3 -u -m pytest -s --verbose -k "$distro and ${{ matrix.CONFIG }}" \
116
105
--last-failed \
117
106
packaging/tests/deployments/salt/salt_test.py
Original file line number Diff line number Diff line change 4
4
ubuntu-jammy : ["DISTRO_IMAGE=ubuntu:22.04"]
5
5
6
6
rpm :
7
- amazonlinux-2 : ["DISTRO_IMAGE=amazonlinux:2", "PKG_MGR=yum"]
8
7
amazonlinux-2023 : ["DISTRO_IMAGE=amazonlinux:2023"]
9
8
centos-8 : ["DISTRO_IMAGE=quay.io/centos/centos:stream8"]
10
9
centos-9 : ["DISTRO_IMAGE=quay.io/centos/centos:stream9"]
You can’t perform that action at this time.
0 commit comments