Skip to content

Commit

Permalink
Merge pull request #2489 from IntersectMBO/infra/test-chores
Browse files Browse the repository at this point in the history
Add missing ipfs gateway and project id env for test stack
  • Loading branch information
kneerose authored Dec 11, 2024
2 parents ae38733 + 1ff4f5f commit 8130ffa
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build-and-deploy-test-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
cd $DEST_DIR/tests/test-infrastructure
./build-and-deploy.sh update-images
yes | docker system prune -f || echo "Ignoring system prune eror"
envs: GOVTOOL_TAG, GRAFANA_ADMIN_PASSWORD, GRAFANA_SLACK_RECIPIENT, GRAFANA_SLACK_OAUTH_TOKEN, SENTRY_DSN_BACKEND, GTM_ID, NPMRC_TOKEN, SENTRY_DSN_FRONTEND, PIPELINE_URL, USERSNAP_SPACE_API_KEY, APP_ENV, PDF_API_URL, KUBER_API_KEY
envs: GOVTOOL_TAG, GRAFANA_ADMIN_PASSWORD, GRAFANA_SLACK_RECIPIENT, GRAFANA_SLACK_OAUTH_TOKEN, SENTRY_DSN_BACKEND, GTM_ID, NPMRC_TOKEN, SENTRY_DSN_FRONTEND, PIPELINE_URL, USERSNAP_SPACE_API_KEY, APP_ENV, PDF_API_URL, KUBER_API_KEY, IPFS_GATEWAY, IPFS_PROJECT_ID
env:
GOVTOOL_TAG: ${{ github.sha }}
GRAFANA_ADMIN_PASSWORD: ${{ secrets.GRAFANA_ADMIN_PASSWORD }}
Expand All @@ -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}}
4 changes: 3 additions & 1 deletion tests/test-infrastructure/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ BASE_DOMAIN=govtool.cardanoapi.io
GOVTOOL_TAG=test
APP_ENV=test
PDF_API_URL=
KUBER_API_KEY=
KUBER_API_KEY=
IPFS_GATEWAY=""
IPFS_PROJECT_ID=""
2 changes: 2 additions & 0 deletions tests/test-infrastructure/docker-compose-govtool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8130ffa

Please sign in to comment.