From 36b0bd1cb4e5d7008bafd6a036b97846573fe70d Mon Sep 17 00:00:00 2001 From: ITQ Date: Thu, 20 Nov 2025 21:49:56 +0300 Subject: [PATCH] chore: added firebase conf to tests run --- .gitlab-ci.yml | 3 ++- compose.yaml | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) 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