From 5196ec56e4606c34cc6ad7cdf7b4e14db63a4138 Mon Sep 17 00:00:00 2001 From: Niraj Date: Mon, 9 Dec 2024 16:12:39 +0545 Subject: [PATCH] chore: add missing ipfs gateway and project id env for test stack --- .github/workflows/build-and-deploy-test-stack.yml | 2 ++ tests/test-infrastructure/.env.example | 4 +++- tests/test-infrastructure/docker-compose-govtool.yml | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-deploy-test-stack.yml b/.github/workflows/build-and-deploy-test-stack.yml index 01802be3c..5367d9626 100644 --- a/.github/workflows/build-and-deploy-test-stack.yml +++ b/.github/workflows/build-and-deploy-test-stack.yml @@ -76,3 +76,5 @@ jobs: APP_ENV: test PDF_API_URL: ${{ secrets.PDF_API_URL }} KUBER_API_KEY: ${{ secrets.KUBER_API_KEY }} + IPFS_GATEWAY: $${{secrets.IPFS_GATEWAY}} + IPFS_PROJECT_ID: $${{secrets.IPFS_PROJECT_ID}} diff --git a/tests/test-infrastructure/.env.example b/tests/test-infrastructure/.env.example index 7e9b3932b..a18ccd7f7 100644 --- a/tests/test-infrastructure/.env.example +++ b/tests/test-infrastructure/.env.example @@ -7,4 +7,6 @@ BASE_DOMAIN=govtool.cardanoapi.io GOVTOOL_TAG=test APP_ENV=test PDF_API_URL= -KUBER_API_KEY= \ No newline at end of file +KUBER_API_KEY= +VITE_IPFS_GATEWAY="" +VITE_IPFS_PROJECT_ID="" \ No newline at end of file diff --git a/tests/test-infrastructure/docker-compose-govtool.yml b/tests/test-infrastructure/docker-compose-govtool.yml index 25b91ecc3..7cdbaec79 100644 --- a/tests/test-infrastructure/docker-compose-govtool.yml +++ b/tests/test-infrastructure/docker-compose-govtool.yml @@ -48,6 +48,8 @@ services: VITE_METADATA_API_URL: https://${BASE_DOMAIN}/metadata-validation VITE_GTM_ID: ${GTM_ID} VITE_PDF_API_URL: ${PDF_API_URL} + VITE_IPFS_GATEWAY: ${IPFS_GATEWAY} + VITE_IPFS_PROJECT_ID: ${IPFS_PROJECT_ID} environment: VIRTUAL_HOST: https://${BASE_DOMAIN} networks: