diff --git a/Makefile b/Makefile index 68fe91635b..e70418b24d 100644 --- a/Makefile +++ b/Makefile @@ -620,6 +620,8 @@ localunit: test/goecho/goecho test/version/version test: localunit localintegration remoteintegration localsystem remotesystem ## Run unit, integration, and system tests. .PHONY: ginkgo-run +# e2e tests need access to podman-registry +ginkgo-run: PATH := $(PATH):$(CURDIR)/hack ginkgo-run: .install.ginkgo $(GINKGO) version $(GINKGO) -vv $(TESTFLAGS) --tags "$(TAGS) remote" $(GINKGOTIMEOUT) --flake-attempts $(GINKGO_FLAKE_ATTEMPTS) \ @@ -636,6 +638,8 @@ ginkgo-remote: $(MAKE) ginkgo-run TAGS="$(REMOTETAGS) remote_testing" .PHONY: testbindings +# bindings tests need access to podman-registry +testbindings: PATH := $(PATH):$(CURDIR)/hack testbindings: .install.ginkgo $(GINKGO) -v $(TESTFLAGS) --tags "$(TAGS) remote" $(GINKGOTIMEOUT) --trace --no-color --timeout 30m -v -r ./pkg/bindings/test diff --git a/contrib/cirrus/runner.sh b/contrib/cirrus/runner.sh index 0a063f96ae..017c08f7ef 100755 --- a/contrib/cirrus/runner.sh +++ b/contrib/cirrus/runner.sh @@ -88,9 +88,6 @@ function _run_bindings() { # install ginkgo showrun make .install.ginkgo - # shellcheck disable=SC2155 - export PATH=$PATH:$GOSRC/hack:$GOSRC/test/tools/build - # if logformatter sees this, it can link directly to failing source lines local gitcommit_magic= if [[ -n "$GIT_COMMIT" ]]; then diff --git a/contrib/cirrus/setup_environment.sh b/contrib/cirrus/setup_environment.sh index d836674efd..de16f88a22 100755 --- a/contrib/cirrus/setup_environment.sh +++ b/contrib/cirrus/setup_environment.sh @@ -38,8 +38,6 @@ do fi done -cp hack/podman-registry /bin - # Bypass git safety/security checks when operating in a throwaway environment showrun git config --global --add safe.directory $GOSRC