From 94749e5c0b0820f269ef309811200169028cfede Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ota=CC=81vio=20Fernandes?= Date: Wed, 9 Jun 2021 11:34:14 +0200 Subject: [PATCH] Verbose script output Making sure `git status` can be seen on CI logs, and verbose Ginkgo testing results as well. --- hack/check-git-status.sh | 1 + hack/test-with-envtest.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hack/check-git-status.sh b/hack/check-git-status.sh index 6481cdcf4..172f36c50 100755 --- a/hack/check-git-status.sh +++ b/hack/check-git-status.sh @@ -1,5 +1,6 @@ #! /bin/bash +set -x set -e fixCommand="$*" diff --git a/hack/test-with-envtest.sh b/hack/test-with-envtest.sh index 0d85bed0d..edaf8dedd 100755 --- a/hack/test-with-envtest.sh +++ b/hack/test-with-envtest.sh @@ -11,4 +11,4 @@ source "${ENVTEST_ASSETS_DIR}/setup-envtest.sh" fetch_envtest_tools "${ENVTEST_ASSETS_DIR}" setup_envtest_env "${ENVTEST_ASSETS_DIR}" # Run tests sequentially - the controller integration tests cannot be run concurrently -go test ./... -coverprofile cover.out -p 1 +go test ./... -coverprofile cover.out -p 1 -failfast -ginkgo.v -ginkgo.failFast