Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notify Sentry when release is published #6163

Open
igor-sirotin opened this issue Dec 3, 2024 · 1 comment
Open

Notify Sentry when release is published #6163

igor-sirotin opened this issue Dec 3, 2024 · 1 comment
Labels

Comments

@igor-sirotin
Copy link
Collaborator

igor-sirotin commented Dec 3, 2024

Description

We want to use Sentry Associate Commits feature.
This has a few advantages, but the main one I believe is to have GihHub links to redirect to specific commit of the error, rather than always to develop.

E.g. after doing such command locally, I have it working for v6.1.0-4-g9b495951f:

Image

And the GitHub link goes to certain commit (wrong commit in this case,

Image

Pre-requesites

  1. Have sentry-cli installed

Requirements

WITHIN status-go repository
WHEN a tag is pushed
AND tag matches v* (e.g. v6.2.0) pattern
WITH provided SENTRY_AUTH_TOKEN (setup one here)
RUN this command:

sentry-cli releases set-commits --auto "$(make version)" --project status-go
@igor-sirotin
Copy link
Collaborator Author

Should be very achieve with GIthub Actions.

@igor-sirotin igor-sirotin changed the title Setup Sentry "Associate Commits" feature Notify Sentry when release is published Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant