aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2019-11-04 17:38:39 +0100
committerSimon Sapin <simon.sapin@exyr.org>2019-11-04 20:23:07 +0100
commit55fe681ca1cbda8b6251086a89ce686392267390 (patch)
tree2b3bb3ed22778189c4c2a3bf3232090d925c8e8d
parentd8b630779d0a265127919902b4387f399e561814 (diff)
downloadservo-55fe681ca1cbda8b6251086a89ce686392267390.tar.gz
servo-55fe681ca1cbda8b6251086a89ce686392267390.zip
New TC: only run tasks for pushes to the `try-communitytc` branch
-rw-r--r--.taskcluster.yml13
1 files changed, 12 insertions, 1 deletions
diff --git a/.taskcluster.yml b/.taskcluster.yml
index 649cec45f55..1aba72b9aa6 100644
--- a/.taskcluster.yml
+++ b/.taskcluster.yml
@@ -47,7 +47,18 @@ tasks:
$if: "event.ref[:11] == 'refs/heads/'"
then: "${event.ref[11:]}"
in:
- $if: "branch in ['auto', 'try', 'master'] || branch[:4] == 'try-'"
+ $if: >-
+ (
+ taskcluster_root_url == 'https://community-tc.services.mozilla.com' &&
+ branch == 'try-communitytc'
+ ) || (
+ taskcluster_root_url == 'https://taskcluster.net' &&
+ branch != 'try-communitytc' &&
+ (
+ branch in ['auto', 'try', 'master'] ||
+ branch[:4] == 'try-'
+ )
+ )
then:
$mergeDeep:
- {$eval: "task_common"}