mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 12:20:56 +00:00
Bug 1759725: Mach: migrate from hosted Sentry to cloud-managed Sentry r=glob
Update DSN for reporting exceptions to the new Sentry instance, and update CI job to create releases on the new Sentry as well. Differential Revision: https://phabricator.services.mozilla.com/D141122
This commit is contained in:
parent
31cdbe04d0
commit
f4d496e238
@ -21,8 +21,10 @@ from mozversioncontrol import (
|
||||
)
|
||||
from six import string_types
|
||||
|
||||
# https://sentry.prod.mozaws.net/operations/mach/
|
||||
_SENTRY_DSN = "https://8228c9aff64949c2ba4a2154dc515f55@sentry.prod.mozaws.net/525"
|
||||
# https://sentry.io/organizations/mozilla/projects/mach/
|
||||
_SENTRY_DSN = (
|
||||
"https://5cfe351fb3a24e8d82c751252b48722b@o1069899.ingest.sentry.io/6250014"
|
||||
)
|
||||
|
||||
|
||||
class ErrorReporter(object):
|
||||
|
@ -7,7 +7,7 @@ run() {
|
||||
revisions=$(curl "$HG_PUSHLOG_URL" | jq -c -r ".pushes[].changesets | @sh" | tr -d \') || return 1
|
||||
sentry_api_key=$(curl "http://taskcluster/secrets/v1/secret/$SENTRY_SECRET" | jq -r ".secret.sentryToken") || return 1
|
||||
for revision in $revisions; do
|
||||
SENTRY_API_KEY=$sentry_api_key SENTRY_ORG=operations sentry-cli --url https://sentry.prod.mozaws.net/ releases --project mach new "hg-rev-$revision" || return 1
|
||||
SENTRY_API_KEY=$sentry_api_key SENTRY_ORG=mozilla sentry-cli --url https://sentry.io/ releases --project mach new "hg-rev-$revision" || return 1
|
||||
done
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user