From e51fd0a8449e09be7174c7f9309b456553037e94 Mon Sep 17 00:00:00 2001 From: Ulysses Souza Date: Fri, 20 May 2022 21:31:16 +0200 Subject: [PATCH] Fix local run of `make e2e-compose-standalone` Signed-off-by: Ulysses Souza --- .github/workflows/ci.yml | 5 ++++- Makefile | 2 -- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 72d46e31..259c1b3b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -139,4 +139,7 @@ jobs: if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} - name: E2E Test in standalone mode - run: make e2e-compose-standalone + run: | + rm -f /usr/local/bin/docker-compose + cp bin/docker-compose /usr/local/bin + make e2e-compose-standalone diff --git a/Makefile b/Makefile index be593999..836f3b17 100644 --- a/Makefile +++ b/Makefile @@ -48,8 +48,6 @@ e2e-compose: ## Run end to end local tests in plugin mode. Set E2E_TEST=TestName .PHONY: e2e-compose-standalone e2e-compose-standalone: ## Run End to end local tests in standalone mode. Set E2E_TEST=TestName to run a single test - rm -f /usr/local/bin/docker-compose - cp bin/docker-compose /usr/local/bin docker-compose version go test $(TEST_FLAGS) -v -count=1 -parallel=1 --tags=standalone ./pkg/e2e