refactor: app deployment

This commit is contained in:
2023-06-16 11:40:23 +02:00
parent d61d16e752
commit 5b4d2bd16c
39 changed files with 523 additions and 246 deletions

View File

@@ -1,15 +1,21 @@
integration:backend:
image: registry.gitlab.com/openstapps/projectmanagement/builder:v18
stage: test
dependencies:
- build
variables:
DOCKER_DRIVER: overlay2
WAIT_FOR_SERVICES_TIMEOUT: 1
services:
- docker:dind
- name: registry.gitlab.com/openstapps/database:latest
alias: elasticsearch
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- pnpm install --offline
- pnpm --filter=@openstapps/backend --filter=@openstapps/api-cli install --prefer-offline
- pnpm test:integration
tags:
- secrecy
- performance
artifacts:
when: always
paths:
- backend/backend/coverage/integration-report-junit.xml
reports:
junit:
- backend/backend/coverage/integration-report-junit.xml