test: refs #6695 e2e better build front image
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2025-02-06 10:57:47 +01:00
parent 299fb4f186
commit 3dc792db7f
2 changed files with 4 additions and 4 deletions

4
Jenkinsfile vendored
View File

@ -129,8 +129,8 @@ pipeline {
stage('Frontend') {
steps {
// sh 'docker build -f Dockerfile.e2e -t front .'
sh 'docker-compose -f docker-compose.e2e.yml build'
sh 'docker-compose -f docker-compose.e2e.yml up -d front_e2e'
sh 'docker-compose -f docker-compose.e2e.yml build front'
sh 'docker-compose -f docker-compose.e2e.yml up -d front'
}
}
// stage('Build Cypress') {

View File

@ -1,7 +1,7 @@
version: '3.7'
services:
front:
image: front_e2e
image: front
command: npx quasar dev
# command: npx quasar serve --history --proxy ./proxy.mjs --hostname 127.0.0.1 --port 9000
build:
@ -11,7 +11,7 @@ services:
volumes:
- ./node_modules:/app/node_modules
e2e:
image: front_e2e
image: front
command: pnpx cypress run --browser chromium
build:
context: .