refs #5739 feat: try run test back and front
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2024-01-12 11:53:58 +01:00
parent 5604423de0
commit 336c678801
3 changed files with 5 additions and 8 deletions

7
Jenkinsfile vendored
View File

@ -39,8 +39,8 @@ pipeline {
NODE_ENV = ""
}
steps {
sh "docker-compose -p testing-${env.STACK_NAME} -f docker-compose.test.yml down"
sh "docker-compose -p testing-${env.STACK_NAME} -f docker-compose.test.yml rm"
sh "docker network rm testing-${env.STACK_NAME}_db_1 -f"
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"
}
}
@ -76,8 +76,7 @@ pipeline {
TZ = 'Europe/Madrid'
}
steps {
sh "docker-compose -p testing-${env.STACK_NAME} -f docker-compose.test.yml down"
sh "docker-compose -p testing-${env.STACK_NAME} -f docker-compose.test.yml rm"
sh "docker-compose -p testing-${env.STACK_NAME} -f docker-compose.test.yml rm -s -f"
// sh "docker-compose -p salix-testing -f docker-compose.test.yml run --rm front"
}
}

View File

@ -1,5 +1,4 @@
# docker-compose -p salix-testing -f docker-compose.test.yml build --no-cache --force-rm db
docker-compose -p salix-testing -f docker-compose.test.yml build --force-rm back db
docker-compose -p salix-testing -f docker-compose.test.yml run --rm back
docker-compose -p salix-testing -f docker-compose.test.yml down
docker-compose -p salix-testing -f docker-compose.test.yml rm
docker-compose -p salix-testing -f docker-compose.test.yml rm -s -v -f

View File

@ -1,4 +1,3 @@
docker-compose -p salix-testing -f docker-compose.test.yml build --force-rm front
docker-compose -p salix-testing -f docker-compose.test.yml run --rm front
docker-compose -p salix-testing -f docker-compose.test.yml down
docker-compose -p salix-testing -f docker-compose.test.yml rm
docker-compose -p salix-testing -f docker-compose.test.yml rm -s -v -f