test: refs #6695 run all e2e
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
010e76a3b8
commit
b278dec6c9
|
@ -129,7 +129,7 @@ pipeline {
|
||||||
stage('Run E2E') {
|
stage('Run E2E') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
sh 'docker-compose -f docker-compose.e2e.yml up e2e'
|
sh 'docker-compose -f docker-compose.e2e.yml up --build e2e'
|
||||||
def containerId = sh(script: "docker-compose -f docker-compose.e2e.yml ps -q e2e", returnStdout: true).trim()
|
def containerId = sh(script: "docker-compose -f docker-compose.e2e.yml ps -q e2e", returnStdout: true).trim()
|
||||||
if (containerId) {
|
if (containerId) {
|
||||||
def exitCode = sh(script: "docker inspect -f '{{.State.ExitCode}}' ${containerId}", returnStdout: true).trim()
|
def exitCode = sh(script: "docker inspect -f '{{.State.ExitCode}}' ${containerId}", returnStdout: true).trim()
|
||||||
|
|
2
e2e.sh
2
e2e.sh
|
@ -3,4 +3,4 @@ cd .. && docker build -f ./salix/back/Dockerfile -t back ./salix
|
||||||
docker run -d --name salix_e2e --net=host -v $(pwd)/test/cypress/storage:/salix/storage back
|
docker run -d --name salix_e2e --net=host -v $(pwd)/test/cypress/storage:/salix/storage back
|
||||||
quasar build
|
quasar build
|
||||||
docker-compose -f docker-compose.e2e.yml up -d --build front
|
docker-compose -f docker-compose.e2e.yml up -d --build front
|
||||||
docker-compose -f docker-compose.e2e.yml up e2e
|
docker-compose -f docker-compose.e2e.yml up --build e2e
|
||||||
|
|
Loading…
Reference in New Issue