Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Fixes #2782, set Sentry URL when exporting to m-c
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhirsch committed May 5, 2017
1 parent 99fc021 commit 26e26e2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bin/export_mc.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@
"prod": "https://screenshots.firefox.com"
}

SENTRY_ENDPOINTS = {
"local": "",
"dev": "https://d58fc53f92cd47bba7266ad6444514d8@sentry.prod.mozaws.net/74",
"stage": "https://3d2efd7bad9e4e359014cb4e69b8eaec@sentry.prod.mozaws.net/140",
"prod": "https://97d8afa496f94764ae255e739b147f4b@sentry.prod.mozaws.net/139"
}

FILES_TO_NOT_REMOVE = [
'moz.build',
'README.txt'
Expand Down Expand Up @@ -136,6 +143,7 @@ def exportToMozillaCentral(server, repoDir, mcRepoPath, mcSubDir, mcBranch,
noSwitchBranch, mcBaseCommit, commitMessage):
print "Exporting to m-c"

os.environ["SCREENSHOTS_SENTRY"] = SENTRY_ENDPOINTS[server]
os.environ["SCREENSHOTS_BACKEND"] = DEFAULTS[server]
os.environ["SCREENSHOTS_MINOR_VERSION"] = "0"

Expand Down

0 comments on commit 26e26e2

Please sign in to comment.