Bug 1330666 - enable linux64-stylo builds r=mtabara
authorKim Moir <kmoir@mozilla.com>
Mon, 23 Jan 2017 10:53:26 -0500
changeset 330645 f05517eee9514104b6db181200afe73ed6e4df44
parent 330644 e85f127ff02c878b61079a4cd4ccd6b5ba41a5f7
child 330646 5aa8c3d9c71b42208560bd942d364942f56ffa59
push id86030
push userkmoir@mozilla.com
push dateMon, 23 Jan 2017 15:53:38 +0000
treeherdermozilla-inbound@f05517eee951 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmtabara
bugs1330666
milestone53.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 1330666 - enable linux64-stylo builds r=mtabara
taskcluster/ci/build/linux.yml
taskcluster/ci/test/tests.yml
taskcluster/taskgraph/target_tasks.py
--- a/taskcluster/ci/build/linux.yml
+++ b/taskcluster/ci/build/linux.yml
@@ -342,8 +342,60 @@ linux64-ccov/opt:
         config:
             - builds/releng_base_linux_64_builds.py
             - balrog/production.py
         script: "mozharness/scripts/fx_desktop_build.py"
         secrets: true
         custom-build-variant-cfg: code-coverage
         tooltool-downloads: public
         need-xvfb: true
+
+linux64-stylo/opt:
+    description: "Linux64-stylo Opt"
+    index:
+        product: firefox
+        job-name: linux64-stylo-opt
+    treeherder:
+        platform: linux64/stylo
+        symbol: tc(Bs)
+        tier: 2
+    run-on-projects: [ ]
+    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
+    worker:
+        implementation: docker-worker
+        max-run-time: 36000
+    run:
+        using: mozharness
+        actions: [get-secrets build check-test generate-build-stats update]
+        config:
+            - builds/releng_base_linux_64_builds.py
+            - balrog/production.py
+        script: "mozharness/scripts/fx_desktop_build.py"
+        secrets: true
+        custom-build-variant-cfg: stylo
+        tooltool-downloads: public
+        need-xvfb: true
+
+linux64-stylo/debug:
+    description: "Linux64-stylo Debug"
+    index:
+        product: firefox
+        job-name: linux64-stylo-debug
+    treeherder:
+        platform: linux64/stylo
+        symbol: tc(Bsd)
+        tier: 2
+    run-on-projects: [ ]
+    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
+    worker:
+        implementation: docker-worker
+        max-run-time: 36000
+    run:
+        using: mozharness
+        actions: [get-secrets build check-test generate-build-stats update]
+        config:
+            - builds/releng_base_linux_64_builds.py
+            - balrog/production.py
+        script: "mozharness/scripts/fx_desktop_build.py"
+        secrets: true
+        custom-build-variant-cfg: stylo-debug
+        tooltool-downloads: public
+        need-xvfb: true
--- a/taskcluster/ci/test/tests.yml
+++ b/taskcluster/ci/test/tests.yml
@@ -869,16 +869,20 @@ reftest-no-accel:
         extra-options:
             - --reftest-suite=reftest-no-accel
 
 reftest-stylo:
     description: "Reftest run for Stylo"
     suite: reftest/reftest-stylo
     treeherder-symbol: tc-R(Rs)
     chunks: 16
+    run-on-projects:
+        by-test-platform:
+            linux64-stylo/opt: []
+            linux64-stylo/debug: []
     mozharness:
         script: desktop_unittest.py
         no-read-buildbot-config: true
         config:
             - unittests/linux_unittest.py
             - remove_executables.py
         extra-options:
             - --reftest-suite=reftest-stylo
--- a/taskcluster/taskgraph/target_tasks.py
+++ b/taskcluster/taskgraph/target_tasks.py
@@ -152,8 +152,20 @@ def target_tasks_nightly_linux(full_task
     """Select the set of tasks required for a nightly build of linux. The
     nightly build process involves a pipeline of builds, signing,
     and, eventually, uploading the tasks to balrog."""
     def filter(task):
         platform = task.attributes.get('build_platform')
         if platform in ('linux64-nightly', 'linux-nightly'):
             return task.attributes.get('nightly', False)
     return [l for l, t in full_task_graph.tasks.iteritems() if filter(t)]
+
+
+@_target_task('stylo_tasks')
+def target_tasks_stylo(full_task_graph, parameters):
+    """Target stylotasks that only run on the m-c branch."""
+    def filter(task):
+        platform = task.attributes.get('build_platform')
+        # only select platforms
+        if platform not in ('linux64-stylo'):
+            return False
+        return True
+    return [l for l, t in full_task_graph.tasks.iteritems() if filter(t)]