Skip to content

Commit

Permalink
Add SENTRY_RELEASE environment variable to relevant dockerfiles (#3389)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarayourfriend authored Nov 29, 2023
1 parent ba2e92f commit d1cd6b1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ RUN env \
# Add the release version to the docker container
ARG SEMANTIC_VERSION
ENV SEMANTIC_VERSION=$SEMANTIC_VERSION
ENV SENTRY_RELEASE=$SEMANTIC_VERSION

# Exposes
# - 8000: Dev server for API Django app
Expand Down
3 changes: 3 additions & 0 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ COPY --from=builder --chown=node:node /home/node/frontend ./frontend/

WORKDIR /home/node/frontend/

ARG SEMANTIC_VERSION
ENV SENTRY_RELEASE=$SEMANTIC_VERSION

# set app serving to permissive / assigned
ENV NUXT_HOST=0.0.0.0

Expand Down
3 changes: 3 additions & 0 deletions ingestion_server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,7 @@ COPY --chown=ingestionu . /ingestion_server/
# - 8002: Gunicorn server for `indexer_worker` Falcon app
EXPOSE 8001 8002

ARG SEMANTIC_VERSION
ENV SENTRY_RELEASE=$SEMANTIC_VERSION

CMD ["gunicorn", "--bind", "0.0.0.0:8001", "api:api"]

0 comments on commit d1cd6b1

Please sign in to comment.