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 81046 2b2791f094a64c3b498cd149ab5b8b24f6c13537
parent 81035 c9940c8a906127b111583461c97825cb4b1e247e
child 81047 a3bc2a8807dbeab553d1c5747558da30c72e9b4f
push id9744
push userishikawa@yk.rim.or.jp
push dateSat, 09 Nov 2019 02:01:06 +0000
treeherdertry-comm-central@56c83244ac0e [default view] [failures only]
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
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