Bug 1656475 - Activate performance alerting on multi commit Fenix performance tests r=perftest-reviewers,sparky
authorFlorin Strugariu <fstrugariu@mozilla.com>
Wed, 05 Aug 2020 16:06:17 +0000
changeset 543434 b9306bc41394e2559037df915107cddd1925eb6b
parent 543433 d6ead0115fc4be5b509adfc1b91ca2d17af4f1f4
child 543435 07812e460d4fb872b449198bfcb1099095099c20
push id123459
push userfstrugariu@mozilla.com
push dateWed, 05 Aug 2020 16:54:12 +0000
treeherderautoland@b9306bc41394 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersperftest-reviewers, sparky
bugs1656475
milestone81.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 1656475 - Activate performance alerting on multi commit Fenix performance tests r=perftest-reviewers,sparky Differential Revision: https://phabricator.services.mozilla.com/D86020
.cron.yml
taskcluster/taskgraph/target_tasks.py
--- a/.cron.yml
+++ b/.cron.yml
@@ -311,14 +311,24 @@ jobs:
           type: decision-task
           treeherder-symbol: perftest
           target-tasks-method: perftest
       run-on-projects:
           - mozilla-central
       when:
           - {hour: 4, minute: 00}
 
+    - name: perftest-on-autoland
+      job:
+          type: decision-task
+          treeherder-symbol: perftest-auto
+          target-tasks-method: perftest-on-autoland
+      run-on-projects:
+          - autoland
+      when:
+          - {hour: 4, minute: 00}
+
     - name: scriptworker-canary
       job:
           type: trigger-action
           action-name: scriptworker-canary
           include-cron-input: true
       when: []  # never (hook only)
--- a/taskcluster/taskgraph/target_tasks.py
+++ b/taskcluster/taskgraph/target_tasks.py
@@ -1170,8 +1170,21 @@ def target_tasks_perftest(full_task_grap
     """
     Select perftest tasks we want to run daily
     """
     for name, task in six.iteritems(full_task_graph.tasks):
         if task.kind != "perftest":
             continue
         if task.attributes.get('cron', False):
             yield name
+
+
+@_target_task('perftest-on-autoland')
+def target_tasks_perftest_autoland(full_task_graph, parameters, graph_config):
+    """
+    Select perftest tasks we want to run daily
+    """
+    for name, task in six.iteritems(full_task_graph.tasks):
+        if task.kind != "perftest":
+            continue
+        if task.attributes.get('cron', False) and \
+                any(test_name in name for test_name in ["view", "main"]):
+            yield name