Bug 1515734 - Use "mach" job type for more tasks. rs=bustage-fix
authorRob Lemley <rob@thunderbird.net>
Thu, 20 Dec 2018 15:25:39 -0500
changeset 33185 1481cb94d41e
parent 33184 d2d18de2ec85
child 33186 e27c47602ff5
push id2368
push userclokep@gmail.com
push dateMon, 28 Jan 2019 21:12:50 +0000
treeherdercomm-beta@56d23c07d815 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage-fix
bugs1515734
Bug 1515734 - Use "mach" job type for more tasks. rs=bustage-fix
taskcluster/ci/release-bouncer-check/kind.yml
taskcluster/ci/release-update-verify-config/kind.yml
taskcluster/ci/upload-symbols/kind.yml
--- a/taskcluster/ci/release-bouncer-check/kind.yml
+++ b/taskcluster/ci/release-bouncer-check/kind.yml
@@ -18,17 +18,16 @@ job-defaults:
     description: bouncer check
     run-on-projects: []  # to make sure this never runs as part of CI
     shipping-phase: push
     worker-type: aws-provisioner-v1/gecko-{level}-b-linux
     worker:
         max-run-time: 1200
         docker-image: {in-tree: "update-verify"}
     run:
-        using: run-task
         sparse-profile: mozharness
     attributes:
         build_platform: linux64
         build_type: opt
     treeherder:
         symbol: Rel(BncChk)
         kind: test
         tier: 1
--- a/taskcluster/ci/release-update-verify-config/kind.yml
+++ b/taskcluster/ci/release-update-verify-config/kind.yml
@@ -18,17 +18,16 @@ job-defaults:
         docker-image:
             in-tree: "update-verify"
         max-run-time: 3600
         artifacts:
             - name: public/build/update-verify.cfg
               path: /builds/worker/checkouts/gecko/update-verify.cfg
               type: file
     run:
-        using: run-task
         sparse-profile: mozharness
     extra:
         app-name: mail
         branch-prefix: comm
         archive-prefix:
             by-release-level:
                 staging: "http://ftp.stage.mozaws.net/pub"
                 production: "https://archive.mozilla.org/pub"
--- a/taskcluster/ci/upload-symbols/kind.yml
+++ b/taskcluster/ci/upload-symbols/kind.yml
@@ -25,18 +25,16 @@ job-template:
     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: run-task
-        command: >
-            cd /builds/worker/checkouts/gecko &&
-            ./mach python toolkit/crashreporter/tools/upload_symbols.py https://queue.taskcluster.net/v1/task/${ARTIFACT_TASKID}/artifacts/public/build/target.crashreporter-symbols-full.zip
+        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
         sparse-profile: upload-symbols
     optimization:
         only-if-dependencies-run: null
     scopes:
         - secrets:get:project/comm/thunderbird/releng/build/level-{level}/gecko-symbol-upload
     run-on-projects: ['all']