Bug 1595153 - Port bug 1492664: Use {artifact-reference: ..} for symbol uploads. draft
authorRob Lemley <rob@thunderbird.net>
Thu, 07 Nov 2019 18:15:47 -0500
changeset 81036 c44b970bf13016003b9d31eac32d7ea71ba687f0
parent 81035 c9940c8a906127b111583461c97825cb4b1e247e
child 81037 808d421569999e4a28123c75e6337f3587252f68
push id9740
push userthunderbird@calypsoblue.org
push dateFri, 08 Nov 2019 18:16:43 +0000
treeherdertry-comm-central@f7b186621abf [default view] [failures only]
bugs1595153, 1492664
Bug 1595153 - Port bug 1492664: Use {artifact-reference: ..} for symbol uploads. This is a port of D14198 for Thunderbird. Using the hardcoded taskcluster.net hostname is not supported on Firefox-CI. Differential Revision: https://phabricator.services.mozilla.com/D52269
taskcluster/ci/upload-symbols/kind.yml
--- a/taskcluster/ci/upload-symbols/kind.yml
+++ b/taskcluster/ci/upload-symbols/kind.yml
@@ -21,17 +21,16 @@ only-for-build-platforms:
 
 job-template:
     description: Upload Symbols
     worker-type: b-linux
     worker:
         docker-image: {in-tree: "lint"}
         max-run-time: 900
         env:
-            ARTIFACT_TASKID: {"task-reference": "<build>"}
             # {level} gets replaced in the upload_symbols transform
             SYMBOL_SECRET: "project/comm/thunderbird/releng/build/level-{level}/gecko-symbol-upload"
     run:
         using: mach
-        mach: python toolkit/crashreporter/tools/upload_symbols.py https://queue.taskcluster.net/v1/task/${ARTIFACT_TASKID}/artifacts/public/build/target.crashreporter-symbols-full.zip
+        mach: {artifact-reference: "python toolkit/crashreporter/tools/upload_symbols.py <build/public/build/target.crashreporter-symbols-full.zip>"}
         sparse-profile: upload-symbols
     scopes:
         - secrets:get:project/comm/thunderbird/releng/build/level-{level}/gecko-symbol-upload