From 789a330f2b7a061005e6563031321955c6aab071 Mon Sep 17 00:00:00 2001 From: Sudip Bhattarai Date: Wed, 19 Jun 2024 14:47:54 +0545 Subject: [PATCH] Configure Google tag manager in test stack --- tests/test-infrastructure/docker-compose-govtool.yml | 1 + tests/test-infrastructure/playbook.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/test-infrastructure/docker-compose-govtool.yml b/tests/test-infrastructure/docker-compose-govtool.yml index eebd897e0..7a390234e 100644 --- a/tests/test-infrastructure/docker-compose-govtool.yml +++ b/tests/test-infrastructure/docker-compose-govtool.yml @@ -43,6 +43,7 @@ services: VITE_SENTRY_DSN: ${SENTRY_DSN_FRONTEND} NPMRC_TOKEN: ${NPMRC_TOKEN} VITE_IS_PROPOSAL_DISCUSSION_FORUM_ENABLED: "true" + GTM_ID: ${GTM_ID} environment: VIRTUAL_HOST: https://${BASE_DOMAIN} networks: diff --git a/tests/test-infrastructure/playbook.yml b/tests/test-infrastructure/playbook.yml index 6eef0d7c8..eb8100b6a 100644 --- a/tests/test-infrastructure/playbook.yml +++ b/tests/test-infrastructure/playbook.yml @@ -18,6 +18,7 @@ args: chdir: "/opt/govtool/tests/test-infrastructure" environment: + GTM_ID: "{{ lookup ('env', 'GTM_ID') }}" GOVTOOL_TAG: "{{ lookup('env', 'GOVTOOL_TAG') }}" NPMRC_TOKEN: "{{ lookup('env','NPMRC_TOKEN') }}" SENTRY_DSN_FRONTEND: "{{ lookup ('env', 'SENTRY_DSN_FRONTEND') }}"