8714-devToTest #1547

Merged
alexm merged 712 commits from 8714-devToTest into test 2025-03-04 14:08:01 +00:00
1 changed files with 7 additions and 5 deletions
Showing only changes of commit ba68907f42 - Show all commits

12
Jenkinsfile vendored
View File

@ -79,18 +79,20 @@ pipeline {
env.VERSION = "${packageJson.version}-build${env.BUILD_ID}"
}
// sh 'quasar build'
// sh 'docker-compose -f docker-compose.e2e.yml build front'
// sh 'docker-compose -f docker-compose.e2e.yml up front'
// sh "docker network rm e2e_default || true"
// sh 'docker network create e2e_default || true'
sh 'rm -rf salix'
sh 'git clone https://gitea.verdnatura.es/verdnatura/salix.git'
// Db
sh 'cd salix && pnpm i --prefer-offline @verdnatura/myt && npx myt run -t -d'
// Backend
sh 'docker build -f ./salix/back/Dockerfile -t back ./salix'
// sh 'docker buildx build --tag back -f salix/back/Dockerfile ./salix'
sh 'docker run --net=host -v $(pwd)/test/cypress/storage:/salix/storage back'
sh 'docker run -d --name salix --net=host -v $(pwd)/test/cypress/storage:/salix/storage back'
// Frontend
sh 'quasar build'
sh 'docker-compose -f docker-compose.e2e.yml build front'
sh 'docker-compose -f docker-compose.e2e.yml up -d front'
}
post {
always {