Skip to content

Commit

Permalink
chore: infrastructure adjustments of metadata-validation service usage
Browse files Browse the repository at this point in the history
  • Loading branch information
MSzalowski committed Aug 1, 2024
1 parent 8acaa8e commit 95f2167
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions govtool/frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM node:18-alpine as builder

ARG VITE_APP_ENV='beta'
ARG VITE_BASE_URL
ARG METADATA_API_URL
ARG VITE_GTM_ID
ARG VITE_NETWORK_FLAG=0
ARG VITE_SENTRY_DSN
Expand All @@ -14,6 +15,7 @@ ARG VITE_PDF_API_URL
RUN \
: "${VITE_APP_ENV:?Build argument VITE_APP_ENV is not set}" && \
: "${VITE_BASE_URL:?Build argument VITE_BASE_URL is not set}" && \
: "${METADATA_API_URL:?Build argument METADATA_API_URL is not set}" && \
: "${VITE_GTM_ID:?Build argument VITE_GTM_ID is not set}" && \
: "${VITE_NETWORK_FLAG:?Build argument VITE_NETWORK_FLAG is not set}" && \
: "${VITE_SENTRY_DSN:?Build argument VITE_SENTRY_DSN is not set}" && \
Expand Down
1 change: 1 addition & 0 deletions scripts/govtool/frontend.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ build-frontend: docker-login
$(docker) build --tag "$(repo_url)/frontend:$(frontend_image_tag)" \
--build-arg VITE_APP_ENV="$(env)" \
--build-arg VITE_BASE_URL="https://$(domain)/api" \
--build-arg VITE_METADATA_API_URL="https://$(domain)/metadata-validation" \
--build-arg VITE_GTM_ID="$${GTM_ID}" \
--build-arg VITE_NETWORK_FLAG="$$NETWORK_FLAG" \
--build-arg VITE_SENTRY_DSN="$${SENTRY_DSN}" \
Expand Down

0 comments on commit 95f2167

Please sign in to comment.