From f01a69354be753d6c0d83f5bea64dc1dd0e18d64 Mon Sep 17 00:00:00 2001 From: Jeff Peeler Date: Fri, 14 Jun 2019 14:42:13 -0400 Subject: [PATCH] feat(e2e): allow KUBECONFIG to be set from env This mirrors what was already done in scripts/run_e2e_local.sh. --- scripts/run_e2e_bare.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run_e2e_bare.sh b/scripts/run_e2e_bare.sh index 66796453f2..1e71dca7e7 100755 --- a/scripts/run_e2e_bare.sh +++ b/scripts/run_e2e_bare.sh @@ -14,4 +14,4 @@ fi echo "${test_flags}" go test -c -tags=bare -mod=vendor -v -o e2e-bare github.com/operator-framework/operator-lifecycle-manager/test/e2e -./e2e-bare -test.v -test.timeout 20m ${test_flags} -kubeconfig=minikube.kubeconfig -namespace=$(cat e2e.namespace) -olmNamespace=operator-lifecycle-manager +./e2e-bare -test.v -test.timeout 20m ${test_flags} -kubeconfig=${KUBECONFIG:-minikube.kubeconfig} -namespace=$(cat e2e.namespace) -olmNamespace=operator-lifecycle-manager