feat: docker pull back image #740

Open
alexm wants to merge 46 commits from 6695-docker_push into dev
1 changed files with 6 additions and 2 deletions
Showing only changes of commit 8781905cab - Show all commits

8
Jenkinsfile vendored
View File

@ -92,6 +92,10 @@ pipeline {
IMAGE = "$REGISTRY/salix-back"
}
steps {
script {
def packageJson = readJSON file: 'package.json'
env.VERSION = "${packageJson.version}-e2e${env.BUILD_ID}"
}
// // sh 'docker pull $IMAGE:dev'
// sh 'git clone https://gitea.verdnatura.es/verdnatura/salix.git'
// // sh 'docker ps -a'
@ -104,9 +108,9 @@ pipeline {
// sh 'cd front'
// sh '# export VERSION=e2e-try'
sh 'docker build -f salix/back/Dockerfile -t back ./salix'
sh 'docker-compose -f docker-compose.e2e.yml up db'
sh 'docker-compose -f docker-compose.e2e.yml up db -d'
sh 'docker run --net=host -v ./test/cypress/storage:/salix/storage -d back'
sh 'docker-compose -f docker-compose.e2e.yml -d up front'
sh 'docker-compose -f docker-compose.e2e.yml -d up front -d'
sh 'docker-compose -f docker-compose.e2e.yml up e2e --build'
}