From 9a6b5cba8eab34f2eeaf0831b6ab02c5afa826a1 Mon Sep 17 00:00:00 2001 From: Mitchell Hentges Date: Thu, 19 Sep 2019 17:36:42 -0700 Subject: [PATCH] [fenix] Publishes to a public track for the separate nightly app (https://github.com/mozilla-mobile/fenix/pull/4954) --- taskcluster/fenix_taskgraph/pushapk.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/taskcluster/fenix_taskgraph/pushapk.py b/taskcluster/fenix_taskgraph/pushapk.py index 9ab65cb00..e4646d7e6 100644 --- a/taskcluster/fenix_taskgraph/pushapk.py +++ b/taskcluster/fenix_taskgraph/pushapk.py @@ -21,11 +21,6 @@ _CHANNEL_PER_TASK_NAME = { 'production': 'production', } -_GOOGLE_PLAY_TRACK_PER_TASK_NAME = { - 'nightly': 'internal', - 'nightly-legacy': 'nightly', -} - @transforms.add def build_name_and_attributes(config, tasks): @@ -73,8 +68,8 @@ def build_worker_definition(config, tasks): worker_definition["certificate-alias"] = 'fenix' if task_name == 'production' else \ "{}-{}".format(task["worker"]["product"], worker_definition["channel"]) - if _GOOGLE_PLAY_TRACK_PER_TASK_NAME.get(task_name): - worker_definition["google-play-track"] = _GOOGLE_PLAY_TRACK_PER_TASK_NAME[task_name] + if task_name == 'nightly-legacy': + worker_definition["google-play-track"] = 'nightly' task["worker"].update(worker_definition) yield task