Publishes to a public track for the separate nightly app (#4954)
This commit is contained in:
parent
1aa4f5a519
commit
bea79436e8
|
@ -21,11 +21,6 @@ _CHANNEL_PER_TASK_NAME = {
|
||||||
'production': 'production',
|
'production': 'production',
|
||||||
}
|
}
|
||||||
|
|
||||||
_GOOGLE_PLAY_TRACK_PER_TASK_NAME = {
|
|
||||||
'nightly': 'internal',
|
|
||||||
'nightly-legacy': 'nightly',
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@transforms.add
|
@transforms.add
|
||||||
def build_name_and_attributes(config, tasks):
|
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 \
|
worker_definition["certificate-alias"] = 'fenix' if task_name == 'production' else \
|
||||||
"{}-{}".format(task["worker"]["product"], worker_definition["channel"])
|
"{}-{}".format(task["worker"]["product"], worker_definition["channel"])
|
||||||
|
|
||||||
if _GOOGLE_PLAY_TRACK_PER_TASK_NAME.get(task_name):
|
if task_name == 'nightly-legacy':
|
||||||
worker_definition["google-play-track"] = _GOOGLE_PLAY_TRACK_PER_TASK_NAME[task_name]
|
worker_definition["google-play-track"] = 'nightly'
|
||||||
|
|
||||||
task["worker"].update(worker_definition)
|
task["worker"].update(worker_definition)
|
||||||
yield task
|
yield task
|
||||||
|
|
Loading…
Reference in New Issue
Block a user