mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
8b857eef9c
* Ship Stargz Snapshotter Signed-off-by: ktock <ktokunaga.mail@gmail.com> * Bump github.com/containerd/stargz-snapshotter to v0.8.0 Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
47 lines
740 B
Bash
Executable File
47 lines
740 B
Bash
Executable File
#!/bin/bash
|
|
set -e -x
|
|
cd $(dirname $0)/..
|
|
|
|
. ./scripts/codespell.sh
|
|
. ./scripts/version.sh
|
|
. ./scripts/test-helpers
|
|
|
|
artifacts=$(pwd)/dist/artifacts
|
|
mkdir -p $artifacts
|
|
|
|
# ---
|
|
|
|
docker ps
|
|
|
|
# ---
|
|
|
|
. ./scripts/test-run-basics
|
|
echo "Did test-run-basics $?"
|
|
|
|
. ./scripts/test-run-compat
|
|
echo "Did test-run-compat $?"
|
|
|
|
. ./scripts/test-run-lazypull
|
|
echo "Did test-run-lazypull $?"
|
|
|
|
# ---
|
|
|
|
[ "$ARCH" != 'amd64' ] && \
|
|
early-exit "Skipping remaining tests, images not available for $ARCH."
|
|
|
|
E2E_OUTPUT=$artifacts test-run-sonobuoy
|
|
echo "Did test-run-sonobuoy $?"
|
|
# ---
|
|
|
|
[ "$DRONE_BUILD_EVENT" = 'tag' ] && \
|
|
early-exit 'Skipping remaining tests on tag.'
|
|
|
|
# ---
|
|
|
|
test-run-sonobuoy mysql
|
|
test-run-sonobuoy postgres
|
|
|
|
. ./scripts/test-unit
|
|
|
|
exit 0
|