test: refs #6695 front use quasar dev (more fast)
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
60430e4005
commit
5b692612ae
|
@ -124,7 +124,7 @@ pipeline {
|
|||
}
|
||||
stage('Run E2E') {
|
||||
steps {
|
||||
sh 'docker-compose -f docker-compose.e2e.yml up --build e2e'
|
||||
sh 'docker-compose -f docker-compose.e2e.yml up e2e'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,14 +1,12 @@
|
|||
version: '3.7'
|
||||
services:
|
||||
front:
|
||||
image: registry.verdnatura.es/salix-frontend:${VERSION:?}
|
||||
command: quasar serve --history --proxy ./proxy.mjs --hostname 127.0.0.1 --port 9000
|
||||
command: npx quasar dev
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./Dockerfile
|
||||
dockerfile: ./Dockerfile.e2e
|
||||
network_mode: host
|
||||
e2e:
|
||||
image: registry.verdnatura.es/salix-frontend:${VERSION:?}
|
||||
command: npx cypress run
|
||||
build:
|
||||
context: .
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
export default [
|
||||
{
|
||||
path: '/api',
|
||||
rule: { target: 'http://0.0.0.0:3000' },
|
||||
rule: { target: 'http://127.0.0.1:3000' },
|
||||
},
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue