Bug 1514087 - Rebuild custom d8 on a regular basis. r=jmaher
authorGregory Mierzwinski <gmierz2@outlook.com>
Sat, 22 Dec 2018 19:55:10 +0000
changeset 508948 80f5a69c142faaeffe0b5be2bfeb8c258ff3c4f0
parent 508934 6b1554f389f179f5ce6f0ff32fd2a27e1e185b20
child 508949 11d454511a09a05cf69b79b5013816ee82fa5794
push id10547
push userffxbld-merge
push dateMon, 21 Jan 2019 13:03:58 +0000
treeherdermozilla-beta@24ec1916bffe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmaher
bugs1514087
milestone66.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 1514087 - Rebuild custom d8 on a regular basis. r=jmaher This patch adds a cron task to regularly schedule an update to the custom d8/v8 version in use in jsshell benchmarks. Differential Revision: https://phabricator.services.mozilla.com/D15256
.cron.yml
taskcluster/taskgraph/target_tasks.py
--- a/.cron.yml
+++ b/.cron.yml
@@ -94,16 +94,27 @@ jobs:
           target-tasks-method: searchfox_index
       run-on-projects:
           - mozilla-central
       when:
           by-project:
               mozilla-central: [{hour: 10, minute: 0}]
               # No default
 
+    - name: customv8-update
+      job:
+          type: decision-task
+          treeherder-symbol: customv8
+          target-tasks-method: customv8_update
+      run-on-projects:
+          - mozilla-central
+      when:
+          by-project:
+              mozilla-central: [{hour: 10, minute: 30}]
+
     - name: bouncer-check
       job:
           type: decision-task
           treeherder-symbol: Rel
           target-tasks-method: cron_bouncer_check
       run-on-projects:
           - mozilla-beta
           - mozilla-release
--- a/taskcluster/taskgraph/target_tasks.py
+++ b/taskcluster/taskgraph/target_tasks.py
@@ -565,16 +565,22 @@ def target_tasks_nightly_desktop(full_ta
 @_target_task('searchfox_index')
 def target_tasks_searchfox(full_task_graph, parameters, graph_config):
     """Select tasks required for indexing Firefox for Searchfox web site each day"""
     return ['searchfox-linux64-searchfox/debug',
             'searchfox-macosx64-searchfox/debug',
             'searchfox-win64-searchfox/debug']
 
 
+@_target_task('customv8_update')
+def target_tasks_customv8_update(full_task_graph, parameters, graph_config):
+    """Select tasks required for building latest d8/v8 version."""
+    return ['toolchain-linux64-custom-v8']
+
+
 @_target_task('pipfile_update')
 def target_tasks_pipfile_update(full_task_graph, parameters, graph_config):
     """Select the set of tasks required to perform nightly in-tree pipfile updates
     """
     def filter(task):
         # For now any task in the repo-update kind is ok
         return task.kind in ['pipfile-update']
     return [l for l, t in full_task_graph.tasks.iteritems() if filter(t)]