diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 06a4499..f7882d1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -226,8 +226,9 @@ test: --profile migrations --profile tests script: - - export PROFILES="$(printf '%s ' $COMPOSE_PROFILES)" - apk add --no-cache docker-compose + - export PROFILES="$(printf '%s ' $COMPOSE_PROFILES)" + - cp "$TEST_STAGE_FIREBASE_CONF" ./infrastructure/configs/backend/firebase.json - | ( while true; do diff --git a/compose.yaml b/compose.yaml index 6f1a097..839adaf 100644 --- a/compose.yaml +++ b/compose.yaml @@ -25,6 +25,9 @@ services: configs: - source: backend_config target: /app/config.toml + secrets: + - source: firebase + target: /app/firebase.json env_file: - path: ./infrastructure/configs/backend/.env.template required: true @@ -242,3 +245,7 @@ configs: file: ./infrastructure/configs/pgadmin/servers.json redis_config: file: ./infrastructure/configs/redis/redis.conf + +secrets: + firebase: + file: ./infrastructure/configs/backend/firebase.json