From 1009992b5a3bb2e5f819688d017bfe18d34f071b Mon Sep 17 00:00:00 2001 From: iwilltry42 Date: Sun, 15 May 2022 21:16:56 +0200 Subject: [PATCH] fix: e2e tests safe git directory --- Makefile | 2 +- tests/dind.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6900b5d5..5aebd776 100644 --- a/Makefile +++ b/Makefile @@ -88,7 +88,7 @@ GO_SRC += $(foreach dir,$(REC_DIRS),$(shell find $(dir) -name "*.go")) ########## Required Tools ########## # Go Package required PKG_GOX := github.com/mitchellh/gox@v1.0.1 -PKG_GOLANGCI_LINT_VERSION := 1.43.0 +PKG_GOLANGCI_LINT_VERSION := 1.46.1 PKG_GOLANGCI_LINT_SCRIPT := https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh PKG_GOLANGCI_LINT := github.com/golangci/golangci-lint/cmd/golangci-lint@v${PKG_GOLANGCI_LINT_VERSION} diff --git a/tests/dind.sh b/tests/dind.sh index 210284d7..ae0e0018 100755 --- a/tests/dind.sh +++ b/tests/dind.sh @@ -82,6 +82,7 @@ done # build helper container images if [ -z "$E2E_HELPER_IMAGE_TAG" ]; then + docker exec "$k3de2e" git config --global --add safe.directory /src docker exec --workdir /src "$k3de2e" make -j2 build-helper-images # execute tests echo "Start time outside runner: $(date)"