Skip to content
Snippets Groups Projects
Commit f31e29b0 authored by Geoff Brown's avatar Geoff Brown
Browse files

Bug 1824856 - migrate push-bundle kind from firefox-android....

Bug 1824856 - migrate push-bundle kind from firefox-android. r=bhearsum,amejiamarmol,geckoview-reviewers,releng-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D201440
parent e0a89dda
No related branches found
No related tags found
No related merge requests found
......@@ -38,11 +38,16 @@ def resolve_keys(config, tasks):
@transforms.add
def add_startup_test(config, tasks):
# TODO: change kind.yml to have the right dependency upfront
for task in tasks:
if "nightly" not in task["attributes"].get("build-type", ""):
yield task
continue
for dep_label, dep_task in config.kind_dependencies_tasks.items():
if dep_task.kind == "android-startup-test" and dep_task.attributes['shipping-product'] == task['attributes']['shipping-product']:
task["dependencies"]["startup-test"] = dep_label
if (
dep_task.kind == "android-startup-test"
and dep_task.attributes["shipping-product"]
== task["attributes"]["shipping-product"]
):
task["dependencies"]["android-startup-test"] = dep_label
yield task
......@@ -2,20 +2,20 @@
# 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
loader: gecko_taskgraph.loader.transform:loader
transforms:
- taskgraph.transforms.from_deps
- android_taskgraph.transforms.upstream_artifacts
- android_taskgraph.transforms.treeherder
- android_taskgraph.transforms.push_android_app
- taskgraph.transforms.task
- gecko_taskgraph.transforms.task
kind-dependencies:
- signing-bundle
- startup-test
- android-startup-test
tasks:
jobs:
push-bundle:
description: Publish Fenix and Focus AABs
from-deps:
......@@ -32,7 +32,6 @@ tasks:
attribute: build-type
copy-attributes: true
worker-type: push-apk
run-on-tasks-for: []
worker:
certificate-alias:
by-build-type:
......@@ -60,7 +59,7 @@ tasks:
default: focus-android
shipping-phase: push
treeherder:
job-symbol:
symbol:
by-build-type:
default: gp-aab
focus-release: gpf-aab
......@@ -69,5 +68,5 @@ tasks:
routes:
by-level:
'3':
- "notify.email.release-mgmt@mozilla.com.on-failed"
- "notify.email.release-mgmt@mozilla.com.on-failed"
'default': []
......@@ -880,6 +880,10 @@ push-bundle
-----------
Push Focus and Fenix AABs to Google Play.
push-bundle
-----------
Push Focus and Fenix AABs to Google Play.
version-bump
------------
Version bump for mobile/android/version.txt.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment