Skip to content

Commit

Permalink
Merge pull request #734 from pjbgf/ignore-http-settings
Browse files Browse the repository at this point in the history
tests: ignore proxy settings when running tests
  • Loading branch information
Paulo Gomes authored May 25, 2022
2 parents 4909bac + 8dfb909 commit f5a1dd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ build: check-deps $(LIBGIT2) ## Build manager binary

KUBEBUILDER_ASSETS?="$(shell $(ENVTEST) --arch=$(ENVTEST_ARCH) use -i $(ENVTEST_KUBERNETES_VERSION) --bin-dir=$(ENVTEST_ASSETS_DIR) -p path)"
test: $(LIBGIT2) install-envtest test-api check-deps ## Run tests
HTTPS_PROXY="" HTTP_PROXY="" \
KUBEBUILDER_ASSETS=$(KUBEBUILDER_ASSETS) \
GIT_CONFIG_GLOBAL=/dev/null \
go test $(GO_STATIC_FLAGS) \
Expand Down

0 comments on commit f5a1dd8

Please sign in to comment.