mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
10474638d7
* Remove unused release.sh and DAPPER_HOST_ARCH * Reliably use ARCH from version.sh * Export GOARCH and GOARM so that they are used by `go build` Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
31 lines
483 B
Bash
Executable File
31 lines
483 B
Bash
Executable File
#!/bin/bash
|
|
set -e -x
|
|
cd $(dirname $0)/..
|
|
|
|
. ./scripts/version.sh
|
|
. ./scripts/test-helpers
|
|
|
|
artifacts=$(pwd)/dist/artifacts
|
|
mkdir -p $artifacts
|
|
|
|
# ---
|
|
|
|
. ./scripts/test-run-basics
|
|
|
|
# ---
|
|
|
|
[ "$ARCH" != 'amd64' ] && \
|
|
early-exit "Skipping remaining tests, images not available for $ARCH."
|
|
|
|
E2E_OUTPUT=$artifacts test-run-sonobuoy
|
|
|
|
# ---
|
|
|
|
[ "$DRONE_BUILD_EVENT" = 'tag' ] && \
|
|
early-exit 'Skipping remaining tests on tag.'
|
|
|
|
# ---
|
|
|
|
test-run-sonobuoy mysql
|
|
test-run-sonobuoy postgres
|