refs #5739 fix: front does not depend on the back
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
5af6e2bfb9
commit
da3fb0a13d
|
@ -14,8 +14,6 @@ services:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: front/Dockerfile
|
dockerfile: front/Dockerfile
|
||||||
target: test
|
target: test
|
||||||
depends_on:
|
|
||||||
- back
|
|
||||||
back:
|
back:
|
||||||
image: back
|
image: back
|
||||||
restart: always
|
restart: always
|
||||||
|
|
|
@ -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
|
docker-compose -p salix-testing -f docker-compose.test.yml build $1
|
||||||
if [ $1 = "back" ]; then
|
if [ $1 = "back" ]; then
|
||||||
docker-compose -p salix-testing -f docker-compose.test.yml build db
|
docker-compose -p salix-testing -f docker-compose.test.yml build db
|
||||||
|
|
Loading…
Reference in New Issue