Skip to content

Commit

Permalink
chore: drop sentry from CD
Browse files Browse the repository at this point in the history
  • Loading branch information
tshuli committed Dec 2, 2021
1 parent 8a8ae54 commit 16156c2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/deploy-eb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,3 @@ jobs:
aws elasticbeanstalk update-environment --application-name $APP_NAME \
--environment-name $DEPLOY_ENV \
--version-label $IMAGE_TAG
- name: Configure Sentry
env:
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_URL: ${{ secrets.SENTRY_URL }}
run: |
if [[ "$SENTRY_PROJECT" && "$SENTRY_AUTH_TOKEN" && "$SENTRY_ORG" && "$SENTRY_URL" ]]; then
curl -sL https://sentry.io/get-cli/ | bash
sentry-cli releases --org $SENTRY_ORG --project $SENTRY_PROJECT new "$IMAGE_TAG"
sentry-cli releases files "$IMAGE_TAG" upload-sourcemaps ./ --rewrite --ignore-file .sentryignore
sentry-cli releases finalize "$IMAGE_TAG"
fi
4 changes: 0 additions & 4 deletions docs/DEPLOYMENT_SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,6 @@ The following repository secrets are set in Github Actions:
|`AWS_DEFAULT_REGION`|AWS region to use.|
|`ECR_REPO`|ECR Repository which stores the docker images.|
|`BUCKET_NAME`| S3 Bucket used to store zipped `Dockerrun.aws.json`.|
|`SENTRY_ORG`|Organisation that source-maps should be linked to on sentry dashboard.|
|`SENTRY_AUTH_TOKEN`|Authentication token used by sentry cli to authenticate with sentry service.|
|`SENTRY_PROJECT`|Project that source-maps should be linked to on sentry dashboard.|
|`SENTRY_URL`|Sentry service that source-maps should be pushed to.|

There are also environment secrets for each environment (`staging`, `staging-alt`, `release`, `uat`):
| Secret | Description|
Expand Down

0 comments on commit 16156c2

Please sign in to comment.