bug 1182520 - Put Taskcluster task definition for mac-cross builds in tree. r=dustin
authorTed Mielczarek <ted@mielczarek.org>
Mon, 13 Jul 2015 15:20:54 -0400
changeset 286774 7b640a1161d44c98512553c26590c8b3ab5dd687
parent 286773 2ae1d5ecc1fbc70298362e5b94c03c4fc00d43b7
child 286775 75ef39f03b968e3e952766c74b4db115f7283200
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdustin
bugs1182520
milestone42.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 1182520 - Put Taskcluster task definition for mac-cross builds in tree. r=dustin
testing/taskcluster/tasks/builds/dbg_macosx64.yml
testing/taskcluster/tasks/builds/opt_macosx64.yml
new file mode 100644
--- /dev/null
+++ b/testing/taskcluster/tasks/builds/dbg_macosx64.yml
@@ -0,0 +1,22 @@
+$inherits:
+  from: 'tasks/builds/opt_macosx64.yml'
+  variables:
+    build_name: 'macosx64'
+    build_type: 'dbg'
+task:
+  metadata:
+      name: '[TC] MacOSX64 Dbg'
+      description: 'MacOSX64 Dbg'
+
+  workerType: dbg-macosx64
+
+  payload:
+    env:
+      MH_CUSTOM_BUILD_VARIANT_CFG: 'debug'
+  extra:
+    treeherder:
+      groupSymbol: tc
+      groupName: Submitted by taskcluster
+      symbol: B
+      collection:
+        debug: true
new file mode 100644
--- /dev/null
+++ b/testing/taskcluster/tasks/builds/opt_macosx64.yml
@@ -0,0 +1,59 @@
+$inherits:
+  from: 'tasks/build.yml'
+  variables:
+    build_name: 'macosx64'
+    build_type: 'opt'
+task:
+  metadata:
+      name: '[TC] MacOSX64 Opt'
+      description: 'MacOSX64 Opt'
+
+  workerType: opt-macosx64
+
+  routes:
+    - 'index.buildbot.branches.{{project}}.macosx64'
+    - 'index.buildbot.revisions.{{head_rev}}.{{project}}.macosx64'
+
+  scopes:
+    - 'docker-worker:cache:build-macosx64-workspace'
+    - 'docker-worker:cache:tooltool-cache'
+
+  payload:
+    image: '{{#docker_image}}desktop-build{{/docker_image}}'
+    cache:
+      build-macosx64-workspace: '/home/worker/workspace'
+      tooltool-cache: '/home/worker/tooltool-cache'
+    features:
+      relengAPIProxy: true
+
+    env:
+      MOZHARNESS_SCRIPT: 'mozharness/scripts/fx_desktop_build.py'
+      MOZHARNESS_CONFIG: 'builds/releng_base_mac_cross_builds.py balrog/production.py'
+      MH_BRANCH: {{project}}
+      MH_BUILD_POOL: taskcluster
+      #TODO: bug 1164617 - remove Docker image hacks
+      LIBRARY_PATH: ""
+      CPLUS_INCLUDE_PATH: ""
+      # image paths
+      TOOLTOOL_CACHE: '/home/worker/tooltool-cache'
+      DIST_UPLOADS: 'jsshell-mac.zip'
+      DIST_TARGET_UPLOADS: 'x-test.mac.tar.bz2 mac.dmg mac.json tests.zip crashreporter-symbols.zip'
+
+    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: macosx64
+    # 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.mac.dmg'
+      tests: 'public/build/target.tests.zip'