зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1412690 - Fennec uptake monitoring in-tree task. r=aki
This patch adds the initial `release-uptake-monitoring` kind, and adds it to the `publish_fennec` `target_tasks_method`. MozReview-Commit-ID: 3RDMNGrbBwD --HG-- extra : rebase_source : f504c8e173337d45bc9f374bd0349c6823b50ffb
This commit is contained in:
Родитель
66cc0d8772
Коммит
1538ea94d6
|
@ -0,0 +1,37 @@
|
|||
# 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: fennec_release_uptake_monitoring
|
||||
description: Uptake monitoring job
|
||||
worker-type: buildbot-bridge/buildbot-bridge
|
||||
run-on-projects: []
|
||||
run:
|
||||
using: buildbot
|
||||
product: fennec
|
||||
buildername: release-{branch}-fennec_uptake_monitoring
|
||||
release-promotion: true
|
||||
routes:
|
||||
- index.releases.v1.{branch}.latest.fennec.latest.uptake_monitoring
|
||||
- index.releases.v1.{branch}.{revision}.fennec.{underscore_version}.build{build_number}.uptake_monitoring
|
||||
properties:
|
||||
# TODO: Calculate "platforms" dynamically
|
||||
platforms: "android-api-16, android-x86"
|
||||
tuxedo_server_url:
|
||||
by-project:
|
||||
mozilla-beta: https://bounceradmin.mozilla.com/api
|
||||
mozilla-release: https://bounceradmin.mozilla.com/api
|
||||
maple: https://bounceradmin.stage.allizom.org/api
|
||||
default: http://localhost/api
|
|
@ -226,6 +226,10 @@ release-bouncer-aliases
|
|||
------------------------------
|
||||
Update Bouncers (download.mozilla.org) "latest" aliases.
|
||||
|
||||
release-uptake-monitoring
|
||||
-------------------------
|
||||
Run uptake monitoring for releases.
|
||||
|
||||
repackage
|
||||
---------
|
||||
Repackage tasks take a signed output and package them up into something suitable
|
||||
|
|
|
@ -406,10 +406,10 @@ def target_tasks_publish_fennec(full_task_graph, parameters):
|
|||
if task.label in filtered_for_candidates:
|
||||
return True
|
||||
# TODO: Include [beetmover] fennec mozilla-beta push to releases
|
||||
# TODO: Include fennec mozilla-beta uptake monitoring
|
||||
# TODO: Include fennec mozilla-beta version bump
|
||||
if task.task['payload'].get('properties', {}).get('product') == 'fennec':
|
||||
if task.kind in ('release-mark-as-shipped', 'release-bouncer-aliases'):
|
||||
if task.kind in ('release-mark-as-shipped', 'release-bouncer-aliases',
|
||||
'release-uptake-monitoring'):
|
||||
return True
|
||||
|
||||
if task.kind in ('push-apk', 'push-apk-breakpoint'):
|
||||
|
|
Загрузка…
Ссылка в новой задаче