Bug 1155749 - Enable Linux64 Opt builds from Try; r=dustin
authorMorgan Phillips <winter2718@gmail.com>
Fri, 29 May 2015 19:54:39 +0200
changeset 246471 fcd669209ed3320fc41ea97057300db4e24a118e
parent 246470 098390cdba5163d3b7446d76dcae8542f0221b23
child 246472 e044d8526a1abd215c8c3aca632b02827bf9cb7c
push id28830
push usercbook@mozilla.com
push dateMon, 01 Jun 2015 13:02:44 +0000
treeherdermozilla-central@39c85ec2d644 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdustin
bugs1155749
milestone41.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 1155749 - Enable Linux64 Opt builds from Try; r=dustin
testing/taskcluster/tasks/branches/base_job_flags.yml
testing/taskcluster/tasks/branches/try/job_flags.yml
testing/taskcluster/tasks/builds/opt_linux64.yml
--- a/testing/taskcluster/tasks/branches/base_job_flags.yml
+++ b/testing/taskcluster/tasks/branches/base_job_flags.yml
@@ -22,16 +22,17 @@ flags:
     - dolphin
     - dolphin-eng
     - dolphin-512
     - dolphin-512-eng
     - aries
     - aries-ota
     - aries-eng
     - android-api-11
+    - linux64
 
   tests:
     - cppunit
     - crashtest
     - crashtest-ipc
     - gaia-build
     - gaia-build-unit
     - gaia-js-integration
--- a/testing/taskcluster/tasks/branches/try/job_flags.yml
+++ b/testing/taskcluster/tasks/branches/try/job_flags.yml
@@ -117,16 +117,22 @@ builds:
       opt:
         task: tasks/builds/b2g_dolphin_512_eng.yml
   android-api-11:
     platforms:
       - Android
     types:
       opt:
         task: tasks/builds/android_api_11.yml
+  linux64:
+    platforms:
+      - Opt Linux64
+    types:
+      opt:
+        task: tasks/builds/opt_linux64.yml
 
 tests:
   cppunit:
     allowed_build_tasks:
       tasks/builds/b2g_emulator_ics_opt.yml:
         task: tasks/tests/b2g_emulator_cpp_unit.yml
       tasks/builds/b2g_emulator_ics_debug.yml:
         task: tasks/tests/b2g_emulator_cpp_unit.yml
new file mode 100644
--- /dev/null
+++ b/testing/taskcluster/tasks/builds/opt_linux64.yml
@@ -0,0 +1,53 @@
+$inherits:
+  from: 'tasks/build.yml'
+  variables:
+    build_name: 'linux64'
+    build_type: 'opt'
+task:
+  metadata:
+      name: '[TC] Linux64 Opt'
+      description: 'Linux64 Opt'
+
+  workerType: b2g-desktop-opt
+
+  routes:
+    - 'index.buildbot.branches.{{project}}.linux64'
+    - 'index.buildbot.revisions.{{head_rev}}.{{project}}.linux64'
+
+  scopes:
+    - 'docker-worker:cache:build-linux64-workspace'
+    - 'docker-worker:cache:tooltool-cache'
+
+  payload:
+    image: '{{#docker_image}}desktop-build{{/docker_image}}'
+    cache:
+      build-linux64-workspace: '/home/worker/workspace'
+      tooltool-cache: '/home/worker/tooltool-cache'
+
+    env:
+      MOZHARNESS_SCRIPT: 'mozharness/scripts/fx_desktop_build.py'
+      MOZHARNESS_CONFIG: 'builds/releng_base_linux_64_builds.py balrog/production.py disable_sendchange.py'
+      MH_BRANCH: {{project}}
+      MH_BUILD_POOL: taskcluster
+      # image paths
+      TOOLTOOL_CACHE: '/home/worker/tooltool-cache'
+      RELENGAPI_TOKEN: 'TODO' # 1164612: encrypt this secret
+
+    maxRunTime: 36000
+
+    command: ["/bin/bash", "bin/build.sh"]
+
+  extra:
+    treeherderEnv:
+      - production
+      - staging
+    treeherder:
+      machine:
+        # see https://github.com/mozilla/treeherder/blob/master/ui/js/values.js
+        platform: linux64
+    # Rather then enforcing particular conventions we require that all build
+    # tasks provide the "build" extra field to specify where the build and tests
+    # files are located.
+    locations:
+      build: 'public/build/target.linux-x86_64.tar.bz2'
+      tests: 'public/build/target.tests.zip'