Bug 1372588: Add macosx64 devedition build. r=garndt draft
authorWander Lairson Costa <wcosta@mozilla.com>
Thu, 15 Jun 2017 11:18:31 -0300
changeset 594815 d4ae0116e57b27e13494a96f637bf60f9ed813a1
parent 594702 035c25bef7b5e4175006e63eff10c61c2eef73f1
child 633534 a89d14e3c1c869b39711906edf3f495cf5325a35
push id64151
push userwcosta@mozilla.com
push dateThu, 15 Jun 2017 14:18:51 +0000
reviewersgarndt
bugs1372588
milestone56.0a1
Bug 1372588: Add macosx64 devedition build. r=garndt MozReview-Commit-ID: FhjHHuNsCvv
taskcluster/ci/build/macosx.yml
taskcluster/taskgraph/transforms/gecko_v2_whitelist.py
taskcluster/taskgraph/transforms/job/mozharness.py
--- a/taskcluster/ci/build/macosx.yml
+++ b/taskcluster/ci/build/macosx.yml
@@ -38,16 +38,37 @@ macosx64/opt:
         actions: [get-secrets build update]
         config:
             - builds/releng_base_mac_64_builds.py
             - balrog/production.py
         script: "mozharness/scripts/fx_desktop_build.py"
         secrets: true
         tooltool-downloads: internal
 
+macosx64-devedition/opt:
+    description: "MacOS X Dev Edition x64"
+    index:
+        product: firefox
+        job-name: macosx64-devedition-opt
+    treeherder:
+        platform: macosx64-devedition/opt
+        symbol: tc(B)
+        tier: 1
+    worker-type: buildbot-bridge/buildbot-bridge
+    run:
+        using: mozharness
+        actions: [get-secrets build update]
+        config:
+            - builds/releng_base_mac_64_builds.py
+            - balrog/production.py
+        script: "mozharness/scripts/fx_desktop_build.py"
+        secrets: true
+        tooltool-downloads: internal
+    run-on-projects: ['mozilla-beta',]
+
 macosx64-noopt/debug:
     description: "MacOS X x64 No-optimize Debug"
     index:
         product: firefox
         job-name: macosx64-noopt-debug
     treeherder:
         platform: osx-10-7-noopt/debug
         symbol: tc(B)
--- a/taskcluster/taskgraph/transforms/gecko_v2_whitelist.py
+++ b/taskcluster/taskgraph/transforms/gecko_v2_whitelist.py
@@ -49,16 +49,17 @@ JOB_NAME_WHITELIST = set([
     'linux64-stylo-debug',
     'linux64-stylo-opt',
     'linux64-valgrind-opt',
     'macosx64-add-on-devel',
     'macosx64-clang-tidy',
     'macosx64-debug',
     'macosx64-noopt-debug',
     'macosx64-opt',
+    'macosx64-devedition-opt',
     'macosx64-st-an-debug',
     'macosx64-st-an-opt',
     'shell-haz-debug',
     'sm-arm-sim-debug',
     'sm-arm64-sim-debug',
     'sm-asan-opt',
     'sm-compacting-debug',
     'sm-fuzzing',
--- a/taskcluster/taskgraph/transforms/job/mozharness.py
+++ b/taskcluster/taskgraph/transforms/job/mozharness.py
@@ -255,18 +255,23 @@ def mozharness_on_generic_worker(config,
 def mozharness_on_buildbot_bridge(config, job, taskdesc):
     run = job['run']
     worker = taskdesc['worker']
     branch = config.params['project']
     product = run.get('index', {}).get('product', 'firefox')
 
     worker.pop('env', None)
 
+    if 'devedition' in job['attributes']['build_platform']:
+        buildername = 'OS X 10.7 {} devedition build'.format(branch)
+    else:
+        buildername = 'OS X 10.7 {} build'.format(branch)
+
     worker.update({
-        'buildername': 'OS X 10.7 {} build'.format(branch),
+        'buildername': buildername,
         'sourcestamp': {
             'branch': branch,
             'repository': config.params['head_repository'],
             'revision': config.params['head_rev'],
         },
         'properties': {
             'product': product,
             'who': config.params['owner'],