mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-07-28 20:59:30 +00:00
Move test-compat to GHA (#10414)
Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
5
.github/workflows/e2e.yaml
vendored
5
.github/workflows/e2e.yaml
vendored
@@ -7,6 +7,7 @@ on:
|
||||
- "install.sh"
|
||||
- "tests/**"
|
||||
- "!tests/e2e**"
|
||||
- "!tests/docker**"
|
||||
- ".github/**"
|
||||
- "!.github/workflows/e2e.yaml"
|
||||
pull_request:
|
||||
@@ -16,6 +17,7 @@ on:
|
||||
- "install.sh"
|
||||
- "tests/**"
|
||||
- "!tests/e2e**"
|
||||
- "!tests/docker**"
|
||||
- ".github/**"
|
||||
- "!.github/workflows/e2e.yaml"
|
||||
workflow_dispatch: {}
|
||||
@@ -97,7 +99,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
dtest: [basics, bootstraptoken, cacerts, lazypull, upgrade]
|
||||
dtest: [basics, bootstraptoken, cacerts, compat, lazypull, upgrade]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
@@ -113,6 +115,7 @@ jobs:
|
||||
- name: Run ${{ matrix.dtest }} Test
|
||||
run: |
|
||||
chmod +x ./dist/artifacts/k3s
|
||||
. ./scripts/version.sh
|
||||
. ./tests/docker/test-helpers
|
||||
. ./tests/docker/test-run-${{ matrix.dtest }}
|
||||
echo "Did test-run-${{ matrix.dtest }} pass $?"
|
||||
|
||||
@@ -29,6 +29,9 @@ if [ "$ARCH" != 'amd64' ]; then
|
||||
. ./tests/docker/test-run-cacerts
|
||||
echo "Did test-run-cacerts $?"
|
||||
|
||||
. ./tests/docker/test-run-compat
|
||||
echo "Did test-run-compat $?"
|
||||
|
||||
. ./tests/docker/test-run-bootstraptoken
|
||||
echo "Did test-run-bootstraptoken $?"
|
||||
|
||||
@@ -39,8 +42,7 @@ if [ "$ARCH" != 'amd64' ]; then
|
||||
echo "Did test-run-lazypull $?"
|
||||
fi
|
||||
|
||||
. ./tests/docker/test-run-compat
|
||||
echo "Did test-run-compat $?"
|
||||
|
||||
|
||||
. ./tests/docker/test-run-hardened
|
||||
echo "Did test-run-hardened $?"
|
||||
|
||||
Reference in New Issue
Block a user