mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Disable db tests on publish
This commit is contained in:
parent
3b13338952
commit
c110f17df4
@ -19,7 +19,7 @@ RUN curl -sL https://storage.googleapis.com/kubernetes-release/release/$( \
|
||||
ENV TEST_CLEANUP true
|
||||
|
||||
ENV DAPPER_RUN_ARGS --privileged --network host
|
||||
ENV DAPPER_ENV REPO TAG DRONE_TAG IMAGE_NAME GCLOUD_AUTH
|
||||
ENV DAPPER_ENV REPO TAG DRONE_TAG DRONE_SYSTEM_HOST IMAGE_NAME GCLOUD_AUTH
|
||||
ENV DAPPER_SOURCE /go/src/github.com/rancher/k3s/
|
||||
ENV DAPPER_OUTPUT ./dist
|
||||
ENV DAPPER_DOCKER_SOCKET true
|
||||
|
@ -17,6 +17,11 @@ E2E_OUTPUT=$artifacts test-run-sonobuoy
|
||||
|
||||
# ---
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user