diff --git a/.github/workflows/provisioner-e2e-test.yaml b/.github/workflows/provisioner-e2e-test.yaml index 799b645f96..86ffd33c9c 100644 --- a/.github/workflows/provisioner-e2e-test.yaml +++ b/.github/workflows/provisioner-e2e-test.yaml @@ -28,7 +28,7 @@ jobs: key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} restore-keys: | ${{ runner.os }}-go- - - name: Set DOCKER_HOST - run: echo "DOCKER_HOST=$(docker context inspect -f'{{.Endpoints.docker.Host}}')" >> $GITHUB_ENV - name: Run unit tests - run: make -C components/provisioner verify + run: | + docker context inspect -f'{{.Endpoints.docker.Host}} + make -C components/provisioner verify diff --git a/components/provisioner/Makefile b/components/provisioner/Makefile index e76a05df3d..4a15e91c43 100644 --- a/components/provisioner/Makefile +++ b/components/provisioner/Makefile @@ -53,6 +53,7 @@ $(LOCALBIN): .PHONY: envtest envtest: $(ENVTEST) ## Download envtest-setup locally if necessary. $(ENVTEST): $(LOCALBIN) + @echo echo DOCKER_HOST=$(DOCKER_HOST) test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest