chore: added firebase conf to tests run

This commit is contained in:
ITQ
2025-11-20 21:49:56 +03:00
parent cb1c417541
commit 36b0bd1cb4
2 changed files with 9 additions and 1 deletions
+2 -1
View File
@@ -226,8 +226,9 @@ test:
--profile migrations --profile migrations
--profile tests --profile tests
script: script:
- export PROFILES="$(printf '%s ' $COMPOSE_PROFILES)"
- apk add --no-cache docker-compose - 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 while true; do
+7
View File
@@ -25,6 +25,9 @@ services:
configs: configs:
- source: backend_config - source: backend_config
target: /app/config.toml target: /app/config.toml
secrets:
- source: firebase
target: /app/firebase.json
env_file: env_file:
- path: ./infrastructure/configs/backend/.env.template - path: ./infrastructure/configs/backend/.env.template
required: true required: true
@@ -242,3 +245,7 @@ configs:
file: ./infrastructure/configs/pgadmin/servers.json file: ./infrastructure/configs/pgadmin/servers.json
redis_config: redis_config:
file: ./infrastructure/configs/redis/redis.conf file: ./infrastructure/configs/redis/redis.conf
secrets:
firebase:
file: ./infrastructure/configs/backend/firebase.json