Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
8f9ad1f9
Unverified
Commit
8f9ad1f9
authored
Jul 09, 2024
by
Derek Nola
Committed by
GitHub
Jul 09, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move test-compat to GHA (#10414)
Signed-off-by:
Derek Nola
<
derek.nola@suse.com
>
parent
e9a59439
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
e2e.yaml
.github/workflows/e2e.yaml
+4
-1
test
scripts/test
+4
-2
No files found.
.github/workflows/e2e.yaml
View file @
8f9ad1f9
...
@@ -7,6 +7,7 @@ on:
...
@@ -7,6 +7,7 @@ on:
-
"
install.sh"
-
"
install.sh"
-
"
tests/**"
-
"
tests/**"
-
"
!tests/e2e**"
-
"
!tests/e2e**"
-
"
!tests/docker**"
-
"
.github/**"
-
"
.github/**"
-
"
!.github/workflows/e2e.yaml"
-
"
!.github/workflows/e2e.yaml"
pull_request
:
pull_request
:
...
@@ -16,6 +17,7 @@ on:
...
@@ -16,6 +17,7 @@ on:
-
"
install.sh"
-
"
install.sh"
-
"
tests/**"
-
"
tests/**"
-
"
!tests/e2e**"
-
"
!tests/e2e**"
-
"
!tests/docker**"
-
"
.github/**"
-
"
.github/**"
-
"
!.github/workflows/e2e.yaml"
-
"
!.github/workflows/e2e.yaml"
workflow_dispatch
:
{}
workflow_dispatch
:
{}
...
@@ -97,7 +99,7 @@ jobs:
...
@@ -97,7 +99,7 @@ jobs:
strategy
:
strategy
:
fail-fast
:
false
fail-fast
:
false
matrix
:
matrix
:
dtest
:
[
basics
,
bootstraptoken
,
cacerts
,
lazypull
,
upgrade
]
dtest
:
[
basics
,
bootstraptoken
,
cacerts
,
compat
,
lazypull
,
upgrade
]
steps
:
steps
:
-
name
:
Checkout
-
name
:
Checkout
uses
:
actions/checkout@v4
uses
:
actions/checkout@v4
...
@@ -113,6 +115,7 @@ jobs:
...
@@ -113,6 +115,7 @@ jobs:
-
name
:
Run ${{ matrix.dtest }} Test
-
name
:
Run ${{ matrix.dtest }} Test
run
:
|
run
:
|
chmod +x ./dist/artifacts/k3s
chmod +x ./dist/artifacts/k3s
. ./scripts/version.sh
. ./tests/docker/test-helpers
. ./tests/docker/test-helpers
. ./tests/docker/test-run-${{ matrix.dtest }}
. ./tests/docker/test-run-${{ matrix.dtest }}
echo "Did test-run-${{ matrix.dtest }} pass $?"
echo "Did test-run-${{ matrix.dtest }} pass $?"
scripts/test
View file @
8f9ad1f9
...
@@ -29,6 +29,9 @@ if [ "$ARCH" != 'amd64' ]; then
...
@@ -29,6 +29,9 @@ if [ "$ARCH" != 'amd64' ]; then
.
./tests/docker/test-run-cacerts
.
./tests/docker/test-run-cacerts
echo
"Did test-run-cacerts
$?
"
echo
"Did test-run-cacerts
$?
"
.
./tests/docker/test-run-compat
echo
"Did test-run-compat
$?
"
.
./tests/docker/test-run-bootstraptoken
.
./tests/docker/test-run-bootstraptoken
echo
"Did test-run-bootstraptoken
$?
"
echo
"Did test-run-bootstraptoken
$?
"
...
@@ -39,8 +42,7 @@ if [ "$ARCH" != 'amd64' ]; then
...
@@ -39,8 +42,7 @@ if [ "$ARCH" != 'amd64' ]; then
echo
"Did test-run-lazypull
$?
"
echo
"Did test-run-lazypull
$?
"
fi
fi
.
./tests/docker/test-run-compat
echo
"Did test-run-compat
$?
"
.
./tests/docker/test-run-hardened
.
./tests/docker/test-run-hardened
echo
"Did test-run-hardened
$?
"
echo
"Did test-run-hardened
$?
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment