No bug: [release] Remove some unused release kinds and transforms; r=nthomas
authorTom Prince <mozilla@hocat.ca>
Mon, 27 May 2019 03:41:13 +0000
changeset 476109 de1986c0ec6176677f05237338304bdcbffc84a3
parent 476108 5715b3107ce3c7d0e87f0781a2fb5a38eceb1355
child 476110 92d2f8bb690347e87fcc8738e95e896825d4c7be
push id36086
push usershindli@mozilla.com
push dateThu, 30 May 2019 03:47:55 +0000
treeherdermozilla-central@73c98da145a7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnthomas
milestone69.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
No bug: [release] Remove some unused release kinds and transforms; r=nthomas Differential Revision: https://phabricator.services.mozilla.com/D32532
taskcluster/ci/release-binary-transparency/kind.yml
taskcluster/taskgraph/transforms/release_balrog_publishing.py
taskcluster/taskgraph/transforms/task.py
taskcluster/taskgraph/transforms/worker_type.py
deleted file mode 100644
--- a/taskcluster/ci/release-binary-transparency/kind.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
----
-loader: taskgraph.loader.transform:loader
-
-transforms:
-    - taskgraph.transforms.release_deps:transforms
-    - taskgraph.transforms.task:transforms
-
-kind-dependencies:
-    - post-beetmover-checksums-dummy
-
-job-defaults:
-    name: release-binary-transparency
-    description: Binary transparency to issue a certificate
-    run-on-projects: []
-    shipping-phase: promote
-    routes:
-        - index.releases.v1.{branch}.latest.{product}.latest.binary_transparency
-        - index.releases.v1.{branch}.{revision}.{product}.{underscore_version}.build{build_number}.binary_transparency
-    worker-type: scriptworker-prov-v1/dummy-worker-transpar
-    worker:
-        implementation: binary-transparency
-
-# Bug 1433467 - binary transparency disabled for now
-# jobs:
-#     firefox:
-#         shipping-product: firefox
deleted file mode 100644
--- a/taskcluster/taskgraph/transforms/release_balrog_publishing.py
+++ /dev/null
@@ -1,18 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-"""
-Resolve worker-type by project
-"""
-from __future__ import absolute_import, print_function, unicode_literals
-from taskgraph.util.schema import resolve_keyed_by
-from taskgraph.transforms.base import TransformSequence
-
-transforms = TransformSequence()
-
-
-@transforms.add
-def resolve_worker_type(config, jobs):
-    for job in jobs:
-        resolve_keyed_by(job, 'worker-type', job['description'], **config.params)
-        yield job
--- a/taskcluster/taskgraph/transforms/task.py
+++ b/taskcluster/taskgraph/transforms/task.py
@@ -892,37 +892,16 @@ def build_scriptworker_signing_payload(c
             artifacts.update(get_signed_artifacts(
                 input=path,
                 formats=upstream_artifact['formats'],
             ))
 
     task['release-artifacts'] = list(artifacts)
 
 
-@payload_builder('binary-transparency', schema={})
-def build_binary_transparency_payload(config, task, task_def):
-    release_config = get_release_config(config)
-
-    task_def['payload'] = {
-        'version': release_config['version'],
-        'chain': 'TRANSPARENCY.pem',
-        'contact': task_def['metadata']['owner'],
-        'maxRunTime': 600,
-        'stage-product': task['shipping-product'],
-        'summary': (
-            'https://archive.mozilla.org/pub/{}/candidates/'
-            '{}-candidates/build{}/SHA256SUMMARY'
-        ).format(
-            task['shipping-product'],
-            release_config['version'],
-            release_config['build_number'],
-        ),
-    }
-
-
 @payload_builder('beetmover', schema={
     # the maximum time to run, in seconds
     Required('max-run-time', default=600): int,
 
     # locale key, if this is a locale beetmover job
     Optional('locale'): basestring,
 
     Optional('partner-public'): bool,
deleted file mode 100644
--- a/taskcluster/taskgraph/transforms/worker_type.py
+++ /dev/null
@@ -1,18 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-"""
-Resolve worker-type by project
-"""
-from __future__ import absolute_import, print_function, unicode_literals
-from taskgraph.util.schema import resolve_keyed_by
-from taskgraph.transforms.base import TransformSequence
-
-transforms = TransformSequence()
-
-
-@transforms.add
-def resolve_worker_type(config, jobs):
-    for job in jobs:
-        resolve_keyed_by(job, 'worker-type', job['description'], **config.params)
-        yield job