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') {
|
stage('Run E2E') {
|
||||||
steps {
|
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'
|
version: '3.7'
|
||||||
services:
|
services:
|
||||||
front:
|
front:
|
||||||
image: registry.verdnatura.es/salix-frontend:${VERSION:?}
|
command: npx quasar dev
|
||||||
command: quasar serve --history --proxy ./proxy.mjs --hostname 127.0.0.1 --port 9000
|
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: ./Dockerfile
|
dockerfile: ./Dockerfile.e2e
|
||||||
network_mode: host
|
network_mode: host
|
||||||
e2e:
|
e2e:
|
||||||
image: registry.verdnatura.es/salix-frontend:${VERSION:?}
|
|
||||||
command: npx cypress run
|
command: npx cypress run
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
export default [
|
export default [
|
||||||
{
|
{
|
||||||
path: '/api',
|
path: '/api',
|
||||||
rule: { target: 'http://0.0.0.0:3000' },
|
rule: { target: 'http://127.0.0.1:3000' },
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue