build: refs #6695 try run db back front
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
6033ff4790
commit
ba68907f42
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue