From da3fb0a13d680c0df4412aca66d9f557710c20f7 Mon Sep 17 00:00:00 2001 From: alexm Date: Wed, 17 Jan 2024 08:18:03 +0100 Subject: [PATCH] refs #5739 fix: front does not depend on the back --- docker-compose.test.yml | 2 -- runTest.sh | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docker-compose.test.yml b/docker-compose.test.yml index 596d16c0c..8c3b094ee 100644 --- a/docker-compose.test.yml +++ b/docker-compose.test.yml @@ -14,8 +14,6 @@ services: context: . dockerfile: front/Dockerfile target: test - depends_on: - - back back: image: back restart: always diff --git a/runTest.sh b/runTest.sh index e59a4d639..3691ed079 100644 --- a/runTest.sh +++ b/runTest.sh @@ -1,3 +1,6 @@ +if [ $1 = "front" ]; then + docker-compose -p salix-testing -f docker-compose.test.yml build back +fi docker-compose -p salix-testing -f docker-compose.test.yml build $1 if [ $1 = "back" ]; then docker-compose -p salix-testing -f docker-compose.test.yml build db