You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
k3s/scripts/test

34 lines
553 B

5 years ago
#!/bin/bash
set -e -x
cd $(dirname $0)/..
. ./scripts/test-helpers
artifacts=$(pwd)/dist/artifacts
mkdir -p $artifacts
# ---
. ./scripts/test-run-basics
# ---
5 years ago
E2E_OUTPUT=$artifacts test-run-sonobuoy
# ---
5 years ago
if [[ "$DRONE_SYSTEM_HOST" =~ 'publish' ]]; then
printf "\033[33mSkipping remaining tests on publish.\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
5 years ago
# ---
5 years ago
test-run-sonobuoy mysql
test-run-sonobuoy postgres
5 years ago
# test-run-sonobuoy dqlite