Skip to content

Commit

Permalink
Merge pull request operator-framework#435 from jpeeler/e2e-fix
Browse files Browse the repository at this point in the history
Allow use of existing KUBECONFIG env var for e2e
  • Loading branch information
Jeff Peeler authored Aug 30, 2018
2 parents 8d6a529 + 847e53a commit d29bd2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/run_e2e_local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@ trap cleanupAndExit SIGINT SIGTERM EXIT
./scripts/install_local.sh ${namespace} test/e2e/resources

# run tests
KUBECONFIG=~/.kube/config NAMESPACE=${namespace} go test -v ./test/e2e/... ${1/[[:alnum:]-]*/-run ${1}}
e2e_kubeconfig=${KUBECONFIG:-~/.kube/config}
KUBECONFIG=${e2e_kubeconfig} NAMESPACE=${namespace} go test -v ./test/e2e/... ${1/[[:alnum:]-]*/-run ${1}}

0 comments on commit d29bd2a

Please sign in to comment.