build: refs #6695 try run db
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2025-01-30 14:10:19 +01:00
parent a85cc20603
commit eacb240d56
1 changed files with 3 additions and 6 deletions

9
Jenkinsfile vendored
View File

@ -83,12 +83,9 @@ pipeline {
// sh 'docker-compose -f docker-compose.e2e.yml up front'
sh 'rm -rf salix'
sh 'git clone https://gitea.verdnatura.es/verdnatura/salix.git'
sh 'cd salix && pnpm i @verdnatura/myt && npx myt run -t -d'
sh 'docker-compose -f salix/docker-compose.yml build back && \
docker-compose -f salix/docker-compose.yml run -d --service-ports \
--network e2e_network \
-v $(pwd)/test/cypress/storage:/salix/storage \
back'
sh 'cd salix && pnpm i --offline @verdnatura/myt && npx myt run -t -d -n e2e_default'
sh 'docker buildx build -f salix/back/Dockerfile -t back ./salix'
sh 'docker run --net=e2e_default -v $(pwd)/test/cypress/storage:/salix/storage back'
}
post {
always {