S
sentry-deploy-integration
Track deployments and releases in Sentry.\nUse when configuring deployment tracking, release health,\nor connecting deployments to error data.\nTrigger with phrases like \
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
Track deployments and releases in Sentry.\nUse when configuring deployment tracking, release health,\nor connecting deployments to error data.\nTrigger with phrases like \
How to use
- Zainstaluj Sentry CLI globalnie: npm i -g @sentry/cli lub pobierz ze strony sentry.io/get-cli/. 2. Skonfiguruj zmienne środowiskowe: ustaw SENTRY_AUTH_TOKEN (z uprawnieniami project:releases i org:read), SENTRY_ORG i SENTRY_PROJECT. 3. Włącz integrację kontroli wersji w Sentry (Settings > Integrations > GitHub/GitLab), aby umożliwić łączenie commitów z błędami. 4. Utwórz skrypt wdrażania, który wywoła sentry-cli releases new VERSION, aby zarejestrować nowe wydanie. 5. Powiąż commity z wydaniem za pomocą sentry-cli releases set-commits VERSION --auto, co umożliwia Sentry identyfikowanie podejrzanych commitów. 6. Przesyłaj mapy źródłowe i rejestruj wdrożenie z metadanymi czasowymi, aby Sentry mógł monitorować zdrowie wydania po wdrożeniu i wykrywać regresje.