test: refs #6695 e2e fix connection db
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2025-02-10 09:50:41 +01:00
parent 73cd08ebc3
commit cf851c3cb2
3 changed files with 4 additions and 4 deletions

2
Jenkinsfile vendored
View File

@ -128,7 +128,7 @@ pipeline {
script {
sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml up e2e"
sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml logs back"
sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml logs db"
sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml logs vn-database"
sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml logs front"
def containerId = sh(script: "docker-compose -f docker-compose.e2e.yml ps -q e2e", returnStdout: true).trim()
if (containerId) {

View File

@ -7,7 +7,7 @@ services:
- ./test/cypress/storage:/salix/storage
- ./test/cypress/back/datasources.json:/salix/loopback/server/datasources.json
depends_on:
- db
- vn-database
# ports:
# - '3000:3000'
front:
@ -25,7 +25,7 @@ services:
volumes:
- .:/app
working_dir: /app
db:
vn-database:
image: alexmorenovn/vn_db:latest
# ports:
# - '3306:3306'

View File

@ -7,7 +7,7 @@
"connector": "vn-mysql",
"database": "vn",
"debug": false,
"host": "db",
"host": "vn-database",
"port": "3306",
"username": "root",
"password": "root",