Unverified Commit c1e71373 authored by Erik Wilson's avatar Erik Wilson Committed by GitHub

Merge pull request #1327 from erikwilson/disable-publish-tests

Disable db tests on publish
parents 3b133389 c110f17d
...@@ -19,7 +19,7 @@ RUN curl -sL https://storage.googleapis.com/kubernetes-release/release/$( \ ...@@ -19,7 +19,7 @@ RUN curl -sL https://storage.googleapis.com/kubernetes-release/release/$( \
ENV TEST_CLEANUP true ENV TEST_CLEANUP true
ENV DAPPER_RUN_ARGS --privileged --network host 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_SOURCE /go/src/github.com/rancher/k3s/
ENV DAPPER_OUTPUT ./dist ENV DAPPER_OUTPUT ./dist
ENV DAPPER_DOCKER_SOCKET true ENV DAPPER_DOCKER_SOCKET true
......
...@@ -17,6 +17,11 @@ E2E_OUTPUT=$artifacts test-run-sonobuoy ...@@ -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 if [ "$ARCH" != 'amd64' ]; then
printf "\033[33mSkipping remaining tests, images not available for $ARCH.\033[m\n" printf "\033[33mSkipping remaining tests, images not available for $ARCH.\033[m\n"
exit 0 exit 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment