From 5e615efa91cd61e1959ebb3d46910df31f0f8366 Mon Sep 17 00:00:00 2001 From: Manuel Alejandro de Brito Fontes Date: Thu, 9 Jul 2020 20:24:15 -0400 Subject: [PATCH] Fix missing variable in run-chart-test script --- test/e2e/run-chart-test.sh | 15 +++++++++++---- test/e2e/wait-for-nginx.sh | 1 + 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/test/e2e/run-chart-test.sh b/test/e2e/run-chart-test.sh index a31b2deab2..afa87fd79f 100755 --- a/test/e2e/run-chart-test.sh +++ b/test/e2e/run-chart-test.sh @@ -14,6 +14,13 @@ # See the License for the specific language governing permissions and # limitations under the License. +KIND_LOG_LEVEL="1" + +if ! [ -z $DEBUG ]; then + set -x + KIND_LOG_LEVEL="6" +fi + set -o errexit set -o nounset set -o pipefail @@ -41,10 +48,10 @@ export KIND_CLUSTER_NAME=${KIND_CLUSTER_NAME:-ingress-nginx-dev} export KUBECONFIG="${KUBECONFIG:-$HOME/.kube/kind-config-$KIND_CLUSTER_NAME}" # Disable execution if running as a Prow job -#if [[ ! -z ${PROW_JOB_ID:-} ]]; then -# echo "skipping execution..." -# exit 0 -#fi +if [[ ! -z ${PROW_JOB_ID:-} ]]; then + echo "skipping execution..." + exit 0 +fi if [ "${SKIP_CLUSTER_CREATION:-false}" = "false" ]; then echo "[dev-env] creating Kubernetes cluster with kind" diff --git a/test/e2e/wait-for-nginx.sh b/test/e2e/wait-for-nginx.sh index 8bee7313d0..1eb8b32ccd 100755 --- a/test/e2e/wait-for-nginx.sh +++ b/test/e2e/wait-for-nginx.sh @@ -60,6 +60,7 @@ controller: image: repository: ingress-controller/controller tag: 1.0.0-dev + digest: scope: enabled: true config: