Skip to content

Commit

Permalink
tier1, Change KUBECONFIG to be configurable in functest (#135)
Browse files Browse the repository at this point in the history
Currently, functests only use the repo's KUBECONFIG
configuration. This means that tests will run only
on clusters generated by this repo.
Changed KUBECONFIG in hack/functest.sh to be
configurable

Signed-off-by: Ram Lavi <[email protected]>
  • Loading branch information
RamLavi authored Nov 4, 2020
1 parent 8a1de73 commit 477353e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hack/functests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ set -e

source ./cluster/kubevirtci.sh

go test ./tests/... $E2E_TEST_ARGS --kubeconfig $(kubevirtci::kubeconfig)
KUBECONFIG=${KUBECONFIG:-$(kubevirtci::kubeconfig)}
go test ./tests/... $E2E_TEST_ARGS --kubeconfig ${KUBECONFIG}

0 comments on commit 477353e

Please sign in to comment.