Skip to content

Commit

Permalink
Merge pull request #156 from nestoracunablanco/fix/kubeconfig
Browse files Browse the repository at this point in the history
fix: enable KUBECONFIG default for functest
  • Loading branch information
kubevirt-bot authored Jul 16, 2024
2 parents 3f0b6dc + 2094c8e commit 1ca631d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ KUSTOMIZE ?= $(LOCALBIN)/kustomize
KUSTOMIZE_VERSION ?= v4.5.7
KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"

KUBECONFIG ?= ~/.kube/config

.PHONY:build
build: fmt vet
go build -o bin/console main.go
Expand Down Expand Up @@ -56,7 +58,7 @@ test:

.PHONY: functest
functest:
go test -v -timeout 0 -count 1 ./tests/...
KUBECONFIG=$(KUBECONFIG) go test -v -timeout 0 -count 1 ./tests/...

.PHONY: fmt
fmt:
Expand Down

0 comments on commit 1ca631d

Please sign in to comment.