Skip to content

Commit

Permalink
fix: enable KUBECONFIG default for functest
Browse files Browse the repository at this point in the history
Signed-off-by: Nestor Acuna-Blanco <[email protected]>
  • Loading branch information
nestoracunablanco committed Jul 16, 2024
1 parent 1ced42c commit 2094c8e
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 2094c8e

Please sign in to comment.