Browse Source

Fix local run of `make e2e-compose-standalone`

Signed-off-by: Ulysses Souza <[email protected]>
Ulysses Souza 3 years ago
parent
commit
e51fd0a844
2 changed files with 4 additions and 3 deletions
  1. 4 1
      .github/workflows/ci.yml
  2. 0 2
      Makefile

+ 4 - 1
.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

+ 0 - 2
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