Bug 1595153 - Port bug 1492664: Use {artifact-reference: ..} for symbol uploads. r=darktrojan,tomprince
authorRob Lemley <rob@thunderbird.net>
Fri, 08 Nov 2019 19:46:42 +0000
changeset 37265 a499bbe26a5e2ff15b8b8e381512488668517bb4
parent 37264 4c356f38873a7e90b1473f1599088c550fc770d2
child 37266 b688e3f9c08f4cb656f505cab324373dc1797770
push id395
push userclokep@gmail.com
push dateMon, 02 Dec 2019 19:38:57 +0000
reviewersdarktrojan, tomprince
bugs1595153, 1492664
Bug 1595153 - Port bug 1492664: Use {artifact-reference: ..} for symbol uploads. r=darktrojan,tomprince 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 (grafted from 2b2791f094a64c3b498cd149ab5b8b24f6c13537)
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