mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-08-03 16:59:52 +00:00
Migrate svcpolicies E2E test to docker
Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
6
.github/workflows/e2e.yaml
vendored
6
.github/workflows/e2e.yaml
vendored
@@ -160,7 +160,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
dtest: [autoimport, basics, bootstraptoken, cacerts, etcd, hardened, lazypull, skew, secretsencryption, snapshotrestore, token, upgrade]
|
||||
dtest: [autoimport, basics, bootstraptoken, cacerts, etcd, hardened, lazypull, skew, secretsencryption, snapshotrestore, svcpoliciesandfirewall, token, upgrade]
|
||||
arch: [amd64, arm64]
|
||||
exclude:
|
||||
- dtest: autoimport
|
||||
@@ -169,6 +169,8 @@ jobs:
|
||||
arch: arm64
|
||||
- dtest: snapshotrestore
|
||||
arch: arm64
|
||||
- dtest: svcpoliciesandfirewall
|
||||
arch: arm64
|
||||
runs-on: ${{ matrix.arch == 'arm64' && 'ubuntu-24.04-arm' || 'ubuntu-latest' }}
|
||||
env:
|
||||
CHANNEL: ${{ needs.build-go-tests.outputs.channel }}
|
||||
@@ -209,7 +211,7 @@ jobs:
|
||||
cd ./tests/docker/${{ matrix.dtest }}
|
||||
|
||||
# These tests use rancher/systemd-node and have different flags.
|
||||
CI_TESTS="autoimport hardened secretsencryption snapshotrestore token"
|
||||
CI_TESTS="autoimport hardened secretsencryption snapshotrestore svcpoliciesandfirewall token"
|
||||
if [ ${{ matrix.dtest }} = "upgrade" ] || [ ${{ matrix.dtest }} = "skew" ]; then
|
||||
./${{ matrix.dtest }}.test -test.timeout=0 -test.v -ginkgo.v -k3sImage=$K3S_IMAGE -channel=$CHANNEL
|
||||
elif [[ $CI_TESTS =~ ${{ matrix.dtest }} ]]; then
|
||||
|
||||
Reference in New Issue
Block a user