test: refs #6695 e2e better build front image
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
dc8aa396fa
commit
b07ff84f19
|
@ -120,8 +120,8 @@ pipeline {
|
|||
}
|
||||
stage('Frontend') {
|
||||
steps {
|
||||
// sh 'quasar build' // Use quasar prod version
|
||||
sh 'docker-compose -f docker-compose.e2e.yml build'
|
||||
sh 'docker build -f docker-compose.e2e.yml -t front'
|
||||
// sh 'docker-compose -f docker-compose.e2e.yml build'
|
||||
sh 'docker-compose -f docker-compose.e2e.yml up -d front'
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
version: '3.7'
|
||||
services:
|
||||
front:
|
||||
image: front
|
||||
command: npx quasar dev
|
||||
# command: npx quasar serve --history --proxy ./proxy.mjs --hostname 127.0.0.1 --port 9000
|
||||
build:
|
||||
|
@ -10,7 +11,8 @@ services:
|
|||
volumes:
|
||||
- ./node_modules:/app/node_modules
|
||||
e2e:
|
||||
command: npx cypress run --browser chromium
|
||||
image: front
|
||||
command: pnpx cypress run --browser chromium
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./Dockerfile.e2e
|
||||
|
|
Loading…
Reference in New Issue