refs #5739 feat: try run test back and front
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
570d6b63b0
commit
574fad7431
|
@ -43,6 +43,7 @@ pipeline {
|
||||||
sh "docker network ls | grep testing-salix-5739 | awk '{print \$1}' | xargs -r docker network rm"
|
sh "docker network ls | grep testing-salix-5739 | awk '{print \$1}' | xargs -r docker network rm"
|
||||||
sh "docker-compose -p testing-${env.STACK_NAME} -f docker-compose.test.yml rm --stop"
|
sh "docker-compose -p testing-${env.STACK_NAME} -f docker-compose.test.yml rm --stop"
|
||||||
sh "docker-compose -p testing-${env.STACK_NAME} -f docker-compose.test.yml build --force-rm db"
|
sh "docker-compose -p testing-${env.STACK_NAME} -f docker-compose.test.yml build --force-rm db"
|
||||||
|
sh "docker-compose -p testing-${env.STACK_NAME} -f docker-compose.test.yml build back" //Front depends on this image
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Test') {
|
stage('Test') {
|
||||||
|
|
|
@ -27,8 +27,8 @@ services:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: front/Dockerfile.test
|
dockerfile: front/Dockerfile.test
|
||||||
depends_on:
|
# depends_on:
|
||||||
- back
|
# - back
|
||||||
back:
|
back:
|
||||||
image: back
|
image: back
|
||||||
restart: always
|
restart: always
|
||||||
|
|
Loading…
Reference in New Issue