Bug 1659182 - Do not run the civet toolchain job unless explicitly requested r=aki
authorTom Ritter <tom@mozilla.com>
Thu, 10 Sep 2020 03:36:36 +0000
changeset 548072 9335c9666b5f13fde5364cb62fc15085300e2e85
parent 548071 808a836d9f2b54b8e386cfe7647851259de98abd
child 548073 5daec3a7ae6fc1b3c29634391039164e45deb47b
push id37773
push usermalexandru@mozilla.com
push dateThu, 10 Sep 2020 15:21:10 +0000
treeherdermozilla-central@e995e42082ee [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaki
bugs1659182
milestone82.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1659182 - Do not run the civet toolchain job unless explicitly requested r=aki Differential Revision: https://phabricator.services.mozilla.com/D89315
taskcluster/ci/toolchain/clang-tidy.yml
--- a/taskcluster/ci/toolchain/clang-tidy.yml
+++ b/taskcluster/ci/toolchain/clang-tidy.yml
@@ -16,33 +16,33 @@ job-defaults:
         resources:
             - 'build/clang-plugin/**/*.cpp'
             - 'build/clang-plugin/**/*.h'
             - 'build/clang-plugin/*.inc'
             - 'build/clang-plugin/*.py'
             - 'build/clang-plugin/moz.build'
             - 'build/clang-plugin/Makefile.in'
             - 'build/build-clang/build-clang.py'
-    run-on-projects:
-        - trunk
     fetches:
         fetch:
             - clang-10
 
 linux64-clang-tidy:
     index:
         job-name: linux64-clang-tidy
     treeherder:
         symbol: TL(clang-tidy)
     run:
         script: build-clang.sh
         arguments:
             - 'build/build-clang/clang-tidy-linux64.json'
         resources:
             - 'build/build-clang/clang-tidy-linux64.json'
+    run-on-projects:
+        - trunk
     fetches:
         toolchain:
             - linux64-binutils
             - linux64-gcc-7
 
 macosx64-clang-tidy:
     index:
         job-name: macosx64-clang-tidy
@@ -56,16 +56,18 @@ macosx64-clang-tidy:
         using: toolchain-script
         script: build-clang.sh
         tooltool-downloads: internal
         arguments:
             - 'build/build-clang/clang-tidy-macosx64.json'
         resources:
             - 'build/build-clang/clang-tidy-macosx64.json'
             - 'taskcluster/scripts/misc/tooltool-download.sh'
+    run-on-projects:
+        - trunk
     fetches:
         toolchain:
             - linux64-binutils
             - linux64-cctools-port-clang-10
             - linux64-clang-10
             - linux64-gcc-7
             - linux64-node
 
@@ -83,36 +85,41 @@ win64-clang-tidy:
             TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/win64/vs2017.manifest"
     run:
         script: build-clang.sh
         arguments:
             - 'build/build-clang/clang-tidy-win64.json'
         resources:
             - 'build/build-clang/clang-tidy-win64.json'
         tooltool-downloads: internal
+    run-on-projects:
+        - trunk
     fetches:
         fetch:
             - cmake
             - ninja
 
 linux64-civet-tidy:
+    attributes:
+        local-toolchain: false
     index:
         job-name: linux64-civet-tidy
     treeherder:
         symbol: TL(linux64-civet-tidy)
     worker:
         artifacts:
             - name: project/civet/clang-tidy.tar.zst
               path: /builds/worker/private-artifacts/clang-tidy.tar.zst
               type: file
     run:
         toolchain-artifact: project/civet/clang-tidy.tar.zst
         script: build-civet.sh
         arguments:
             - 'build/build-clang/civet-tidy-linux64.json'
         resources:
             - 'build/build-clang/civet-tidy-linux64.json'
+    run-on-projects: []
     fetches:
         fetch:
             - civet-source
         toolchain:
             - linux64-binutils
             - linux64-gcc-7