mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-07-28 20:59:30 +00:00
Run docker tests in E2E GH Action
Build image with new input option Run most of the basic docker tests in E2E Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
31
scripts/test
31
scripts/test
@@ -20,9 +20,24 @@ mkdir -p $artifacts
|
||||
docker ps
|
||||
|
||||
# ---
|
||||
# Only run basic tests on non amd64 archs, we use GitHub Actions for amd64
|
||||
if [ "$ARCH" != 'amd64' ]; then
|
||||
|
||||
. ./tests/docker/test-run-basics
|
||||
echo "Did test-run-basics $?"
|
||||
. ./tests/docker/test-run-basics
|
||||
echo "Did test-run-basics $?"
|
||||
|
||||
. ./tests/docker/test-run-cacerts
|
||||
echo "Did test-run-cacerts $?"
|
||||
|
||||
. ./tests/docker/test-run-bootstraptoken
|
||||
echo "Did test-run-bootstraptoken $?"
|
||||
|
||||
. ./tests/docker/test-run-upgrade
|
||||
echo "Did test-run-upgrade $?"
|
||||
|
||||
. ./tests/docker/test-run-lazypull
|
||||
echo "Did test-run-lazypull $?"
|
||||
fi
|
||||
|
||||
. ./tests/docker/test-run-compat
|
||||
echo "Did test-run-compat $?"
|
||||
@@ -30,21 +45,9 @@ echo "Did test-run-compat $?"
|
||||
. ./tests/docker/test-run-hardened
|
||||
echo "Did test-run-hardened $?"
|
||||
|
||||
. ./tests/docker/test-run-cacerts
|
||||
echo "Did test-run-cacerts $?"
|
||||
|
||||
. ./tests/docker/test-run-bootstraptoken
|
||||
echo "Did test-run-bootstraptoken $?"
|
||||
|
||||
. ./tests/docker/test-run-upgrade
|
||||
echo "Did test-run-upgrade $?"
|
||||
|
||||
. ./tests/docker/test-run-etcd
|
||||
echo "Did test-run-etcd $?"
|
||||
|
||||
. ./tests/docker/test-run-lazypull
|
||||
echo "Did test-run-lazypull $?"
|
||||
|
||||
# ---
|
||||
|
||||
[ "$ARCH" != 'amd64' ] && \
|
||||
|
||||
Reference in New Issue
Block a user