sentry-ci-integration
Manage integrate Sentry with CI/CD pipelines.\nUse when setting up GitHub Actions, GitLab CI, or other CI systems\nwith Sentry releases and source maps.\nTrigger with phrases like \
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
Manage integrate Sentry with CI/CD pipelines.\nUse when setting up GitHub Actions, GitLab CI, or other CI systems\nwith Sentry releases and source maps.\nTrigger with phrases like \
How to use
Przygotuj konto Sentry — zaloguj się na sentry.io, utwórz projekt i wygeneruj token autoryzacji (SENTRY_AUTH_TOKEN) w sekcji auth-tokens z uprawnieniami project:releases i org:read.
Skonfiguruj zmienne środowiskowe w swoim pipeline'ie CI — ustaw SENTRY_AUTH_TOKEN, SENTRY_ORG (slug organizacji) i SENTRY_PROJECT (slug projektu) jako sekrety lub zmienne w GitHub Actions, GitLab CI lub CircleCI.
Zainstaluj narzędzie sentry-cli — użyj npm install -g @sentry/cli, npx @sentry/cli lub obrazu Docker getsentry/sentry-cli, aby mieć dostęp do poleceń Sentry w pipeline'ie.
Włącz generowanie map źródłowych w konfiguracji build'u — ustaw devtool: 'source-map' w webpack, build.sourcemap: true w Vite lub równoważne ustawienia w swoim bundlerze.
Dodaj integrację Git w Sentry (sentry.io/settings/integrations/) — połącz GitHub, GitLab lub Bitbucket, aby Sentry mogła automatycznie skojarzyć commity z błędami.
Wyzwól umiejętność frazami takimi jak "sentry github actions", "sentry CI pipeline", "automate sentry releases" lub "sentry source map upload CI" — asystent wygeneruje konfigurację pipeline'u z poleceniami sentry-cli do tworzenia wydań, przesyłania map i notyfikacji deploymentów.