Always exit 0 on tag for tests

This commit is contained in:
Erik Wilson
2020-01-21 11:07:12 -07:00
parent 4ec28d2707
commit 5117ea0ca7
3 changed files with 9 additions and 4 deletions

View File

@@ -17,8 +17,8 @@ E2E_OUTPUT=$artifacts test-run-sonobuoy
# ---
if [[ "$DRONE_SYSTEM_HOST" =~ 'publish' ]]; then
printf "\033[33mSkipping remaining tests on publish.\033[m\n"
if [ "$DRONE_BUILD_EVENT" = 'tag' ]; then
printf "\033[33mSkipping remaining tests on tag.\033[m\n"
exit 0
fi