mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
34 lines
542 B
Bash
Executable File
34 lines
542 B
Bash
Executable File
#!/bin/bash
|
|
set -e -x
|
|
cd $(dirname $0)/..
|
|
|
|
. ./scripts/test-helpers
|
|
|
|
artifacts=$(pwd)/dist/artifacts
|
|
mkdir -p $artifacts
|
|
|
|
# ---
|
|
|
|
. ./scripts/test-run-basics
|
|
|
|
# ---
|
|
|
|
E2E_OUTPUT=$artifacts test-run-sonobuoy
|
|
|
|
# ---
|
|
|
|
if [ "$DRONE_BUILD_EVENT" = 'tag' ]; then
|
|
printf "\033[33mSkipping remaining tests on tag.\033[m\n"
|
|
exit 0
|
|
fi
|
|
|
|
if [ "$ARCH" != 'amd64' ]; then
|
|
printf "\033[33mSkipping remaining tests, images not available for $ARCH.\033[m\n"
|
|
exit 0
|
|
fi
|
|
|
|
# ---
|
|
|
|
test-run-sonobuoy mysql
|
|
test-run-sonobuoy postgres
|
|
# test-run-sonobuoy dqlite |