Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gaba
fenix
Commits
f6870564
Unverified
Commit
f6870564
authored
Apr 14, 2020
by
Johan Lorenzo
Committed by
GitHub
Apr 14, 2020
Browse files
Bug 1628413 - part 2: Re-enable nightlies but don't ship them to Google Play anymore (#9906)
parent
45ad3e4c
Changes
2
Show whitespace changes
Inline
Side-by-side
.cron.yml
View file @
f6870564
...
...
@@ -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
...
...
taskcluster/fenix_taskgraph/target_tasks.py
View file @
f6870564
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment