Merge pull request #1192 from somtochiama/disable-system-git-config
Disable system-wide git config in tests
This commit is contained in:
commit
d218731233
1
Makefile
1
Makefile
|
@ -71,6 +71,7 @@ test: install-envtest test-api ## Run all tests
|
||||||
HTTPS_PROXY="" HTTP_PROXY="" \
|
HTTPS_PROXY="" HTTP_PROXY="" \
|
||||||
KUBEBUILDER_ASSETS=$(KUBEBUILDER_ASSETS) \
|
KUBEBUILDER_ASSETS=$(KUBEBUILDER_ASSETS) \
|
||||||
GIT_CONFIG_GLOBAL=/dev/null \
|
GIT_CONFIG_GLOBAL=/dev/null \
|
||||||
|
GIT_CONFIG_NOSYSTEM=true \
|
||||||
go test $(GO_STATIC_FLAGS) \
|
go test $(GO_STATIC_FLAGS) \
|
||||||
./... \
|
./... \
|
||||||
$(GO_TEST_ARGS) \
|
$(GO_TEST_ARGS) \
|
||||||
|
|
Loading…
Reference in New Issue