Bug 1628413 - part 2: Re-enable nightlies but don't ship them to Google Play anymore (#9906)

fennec/production
Johan Lorenzo 4 years ago committed by GitHub
parent 45ad3e4c4f
commit f687056473
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -9,7 +9,17 @@ jobs:
type: decision-task
treeherder-symbol: Nd
target-tasks-method: nightly
when: [] # XXX Nightlies are temporarily disabled until Google Play catches up
when:
- {hour: 6, minute: 0}
- {hour: 18, minute: 0}
# This is a temporary hook in order to not overload Google Play.
# See bug 1628413 for more context.
- name: nightly-on-google-play
job:
type: decision-task
treeherder-symbol: Nd-gp
target-tasks-method: nightly-on-google-play
when: [] # Manual push only
- name: fennec-beta
job:
type: decision-task

@ -30,6 +30,18 @@ def target_tasks_default(full_task_graph, parameters, graph_config):
def target_tasks_nightly(full_task_graph, parameters, graph_config):
"""Select the set of tasks required for a nightly build."""
def filter(task, parameters):
# We don't want to ship nightly while Google Play is still behind manual review.
# See bug 1628413 for more context.
return task.attributes.get("nightly", False) and task.kind != "push-apk"
return [l for l, t in full_task_graph.tasks.iteritems() if filter(t, parameters)]
@_target_task("nightly-on-google-play")
def target_tasks_nightly_on_google_play(full_task_graph, parameters, graph_config):
"""Select the set of tasks required for a nightly build that goes on Google Play."""
def filter(task, parameters):
return task.attributes.get("nightly", False)

Loading…
Cancel
Save