Backed out changeset 516721f50c1e (bug 1340564)
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Fri, 12 May 2017 15:59:28 +0200
changeset 358079 2d6baa44eff236c217650a9c60f28e1016359909
parent 358078 f0c6a71517c2d63a10d21494f7a6b0bba9592d24
child 358080 4bb396799a3106a38a55b12e904b9b79f0cde92d
push id31810
push usercbook@mozilla.com
push dateFri, 12 May 2017 14:01:07 +0000
treeherdermozilla-central@1ec1d8863720 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1340564
milestone55.0a1
backs out516721f50c1ee2bbb81879f6b89ec880e196dea3
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
Backed out changeset 516721f50c1e (bug 1340564)
taskcluster/ci/source-test/kind.yml
taskcluster/taskgraph/transforms/job/common.py
--- a/taskcluster/ci/source-test/kind.yml
+++ b/taskcluster/ci/source-test/kind.yml
@@ -13,11 +13,9 @@ jobs-from:
     - python-tests.yml
     - mozlint.yml
     - doc.yml
     - webidl.yml
 
 # This is used by run-task based tasks to lookup which build task it
 # should depend on based on its own platform.
 dependent-build-platforms:
-    linux64.*:
-        label: build-linux64/opt
-        target-name: target.tar.bz2
+    linux64.*: build-linux64/opt
--- a/taskcluster/taskgraph/transforms/job/common.py
+++ b/taskcluster/taskgraph/transforms/job/common.py
@@ -68,21 +68,26 @@ def add_build_dependency(config, job, ta
     matches = keymatch(build_labels, key)
     if not matches:
         raise Exception("No build platform found for '{}'. "
                         "Define 'dependent-build-platforms' in the kind config.".format(key))
 
     if len(matches) > 1:
         raise Exception("More than one build platform found for '{}'.".format(key))
 
-    label = matches[0]['label']
-    target = matches[0]['target-name']
+    label = matches[0]
     deps = taskdesc.setdefault('dependencies', {})
     deps.update({'build': label})
 
+    if 'macosx' in label:
+        target = 'target.dmg'
+    elif 'android' in label:
+        target = 'target.apk'
+    else:
+        target = 'target.tar.bz2'
     build_artifact = 'public/build/{}'.format(target)
     installer_url = ARTIFACT_URL.format('<build>', build_artifact)
 
     env = taskdesc['worker'].setdefault('env', {})
     env.update({'GECKO_INSTALLER_URL': {'task-reference': installer_url}})
 
 
 def support_vcs_checkout(config, job, taskdesc):