From 2f887cffb94e603f935032634e28cd1961426581 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Thu, 8 Aug 2024 11:57:44 +0200 Subject: [PATCH] Use Docker Compose version 2 --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 04ecd6e6..9f62f1ce 100644 --- a/Makefile +++ b/Makefile @@ -28,12 +28,12 @@ build-no-cache: ## Build the Docker image (no cache) .PHONY: acceptance acceptance: build ## Run the acceptance tests - (cd acceptance_tests/ && docker-compose down) - (cd acceptance_tests/ && docker-compose build) - (cd acceptance_tests/ && docker-compose up -d) - (cd acceptance_tests/ && docker-compose exec -T acceptance py.test -vv --color=yes --junitxml /tmp/junitxml/results.xml) - (cd acceptance_tests/ && docker-compose down) + (cd acceptance_tests/ && docker compose down) + (cd acceptance_tests/ && docker compose build) + (cd acceptance_tests/ && docker compose up -d) + (cd acceptance_tests/ && docker compose exec -T acceptance py.test -vv --color=yes --junitxml /tmp/junitxml/results.xml) + (cd acceptance_tests/ && docker compose down) .PHONY: run run: build - (cd acceptance_tests; docker-compose up) + (cd acceptance_tests; docker compose up -d)