1
0
Fork 0

Publishes to a public track for the separate nightly app (#4954)

master
Mitchell Hentges 2019-09-19 17:36:42 -07:00 committed by liuche
parent 1aa4f5a519
commit bea79436e8
1 changed files with 2 additions and 7 deletions

View File

@ -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