Skip to content

Commit

Permalink
Stop tracking releases via Sentry
Browse files Browse the repository at this point in the history
This turned out to not be as useful in practice. When did we last track
down issues by Sentry release? Not as far as I can remember. This also
removes one more credential.

Related to #442

Signed-off-by: Gerhard Lazu <gerhard@changelog.com>
  • Loading branch information
gerhard committed Feb 18, 2023
1 parent 8ec8d64 commit 61f1dda
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
13 changes: 0 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ endif
XDG_CONFIG_HOME := $(CURDIR)/.config
export XDG_CONFIG_HOME

APP_VERSION ?= $(shell date -u +'%y.%-m.%-d')
export APP_VERSION



### DEPS ###
Expand Down Expand Up @@ -115,16 +112,6 @@ ssl-report: ## ssl | Run an SSL report via SSL Labs
.PHONY: ssl
ssl: ssl-report

.PHONY: on-app-start
on-app-start: sentry-release

.PHONY: sentry-release
sentry-release: | $(CURL)
@$(CURL) --silent --fail --request POST --url https://sentry.io/api/0/organizations/changelog-media/releases/ \
--header 'Authorization: Bearer $(SENTRY_AUTH_TOKEN)' \
--header 'Content-type: application/json' \
--data '{"version":"$(APP_VERSION)","ref":"$(GIT_SHA)","url":"$(GIT_REPOSITORY)/commit/$(GIT_SHA)","projects":["changelog-com"]}'

.PHONY: runtime-image
runtime-image: build-runtime-image publish-runtime-image
.PHONY: ri
Expand Down
2 changes: 1 addition & 1 deletion docker/production.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ RUN echo "$GIT_SHA" > priv/static/version.txt \

EXPOSE 4000

CMD make on-app-start; mix changelog.static.upload; mix do ecto.create, ecto.migrate, phx.server
CMD mix changelog.static.upload; mix do ecto.create, ecto.migrate, phx.server

0 comments on commit 61f1dda

Please sign in to comment.