Bug 1412690 - Fennec mark release as shipped in-tree task. r=aki

This patch adds the initial `release-mark-as-shipped` kind, and adds it to
the `publish_fennec` `target_tasks_method`.

MozReview-Commit-ID: F8AYscJQWlh

--HG--
extra : rebase_source : 9522b95f65b5b373a54bc0fc01a20c72adbee0cb
This commit is contained in:
Rail Aliiev 2017-10-29 17:16:37 -07:00
Родитель 98dd2a1e7a
Коммит 9fe373f8ea
3 изменённых файлов: 36 добавлений и 1 удалений

Просмотреть файл

@ -0,0 +1,28 @@
# 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.job:transforms
- taskgraph.transforms.task:transforms
# TODO:
# kind-dependencies:
# - release-push-to-cdns
jobs:
fennec:
name: release-fennec_mark_as_shipped
description: mark release as shipped in Ship-It
worker-type: buildbot-bridge/buildbot-bridge
run-on-projects: []
run:
using: buildbot
product: fennec
buildername: release-{branch}-fennec_mark_as_shipped
release-promotion: true
routes:
- index.releases.v1.{branch}.latest.fennec.latest.mark_as_shipped
- index.releases.v1.{branch}.{revision}.fennec.{underscore_version}.build{build_number}.mark_as_shipped

Просмотреть файл

@ -218,6 +218,10 @@ release-bouncer-sub
-------------------
Submits bouncer updates for releases.
release-mark-as-shipped
-----------------------
Marks releases as shipped in Ship-It.
repackage
---------
Repackage tasks take a signed output and package them up into something suitable

Просмотреть файл

@ -408,8 +408,11 @@ def target_tasks_publish_fennec(full_task_graph, parameters):
# TODO: Include [beetmover] fennec mozilla-beta push to releases
# TODO: Include fennec mozilla-beta uptake monitoring
# TODO: Include fennec mozilla-beta bouncer aliases
# TODO: Include fennec mozilla-beta mark release as shipped
# TODO: Include fennec mozilla-beta version bump
if task.task['payload'].get('properties', {}).get('product') == 'fennec':
if task.kind in ('release-mark-as-shipped', ):
return True
if task.kind in ('push-apk', 'push-apk-breakpoint'):
return True