bug 1437577 - Upload symbols from try server builds to symbols.mozilla.org instead of symbols.stage.mozaws.net. r?peterbe draft
authorTed Mielczarek <ted@mielczarek.org>
Wed, 28 Feb 2018 06:28:01 -0500
changeset 781325 e691189fd4a06c58037f69b56df25fdc203e49fd
parent 781324 1bc50cd6edfe74d5390fe6c45e50849d0bceb89e
child 781326 c9f246e3fed09e9732dcca9213fed3ad1f5da51d
push id106261
push userbmo:ted@mielczarek.org
push dateThu, 12 Apr 2018 20:00:49 +0000
reviewerspeterbe
bugs1437577
milestone61.0a1
bug 1437577 - Upload symbols from try server builds to symbols.mozilla.org instead of symbols.stage.mozaws.net. r?peterbe The symbol server recently gained the ability to upload symbols from try to a different prefix in the symbols bucket. If we change the token stored in the Taskcluster secret `project/releng/gecko/build/level-1/gecko-symbol-upload` to one that has only "upload try symbols" permissions then we can upload symbols from try server builds directly to symbols.mo. MozReview-Commit-ID: HjQclKKXbA3
toolkit/crashreporter/tools/upload_symbols.py
--- a/toolkit/crashreporter/tools/upload_symbols.py
+++ b/toolkit/crashreporter/tools/upload_symbols.py
@@ -87,20 +87,16 @@ def main():
     else:
         log.error('You must set the SYMBOL_SECRET or SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE '
                   'environment variables!')
         return 1
 
     # Allow overwriting of the upload url with an environmental variable
     if 'SOCORRO_SYMBOL_UPLOAD_URL' in os.environ:
         url = os.environ['SOCORRO_SYMBOL_UPLOAD_URL']
-    elif os.environ.get('MOZ_SCM_LEVEL', '1') == '1':
-        # Use the Tecken staging server for try uploads for now.
-        # This will eventually be changed in bug 1138617.
-        url = 'https://symbols.stage.mozaws.net/upload/'
     else:
         url = DEFAULT_URL
 
     log.info('Uploading symbol file "{0}" to "{1}"'.format(args.zip, url))
 
     for i, _ in enumerate(redo.retrier(attempts=MAX_RETRIES), start=1):
         log.info('Attempt %d of %d...' % (i, MAX_RETRIES))
         try: