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
824dea36
Unverified
Commit
824dea36
authored
Aug 04, 2020
by
Johan Lorenzo
Committed by
GitHub
Aug 04, 2020
Browse files
Bug 1649013 - Stop failing mark-as-shipped tasks (#13257)
parent
3134f90d
Changes
1
Show whitespace changes
Inline
Side-by-side
taskcluster/fenix_taskgraph/target_tasks.py
View file @
824dea36
...
...
@@ -21,6 +21,12 @@ def target_tasks_default(full_task_graph, parameters, graph_config):
# TODO Use shipping-phase once we retire github-releases
def
filter
(
task
,
parameters
):
# Mark-as-shipped is always red on github-release and it confuses people.
# This task cannot be green if we kick off a release through github-releases, so
# let's exlude that task there.
if
task
.
kind
==
"mark-as-shipped"
and
parameters
[
"tasks_for"
]
==
"github-release"
:
return
False
return
task
.
attributes
.
get
(
"release-type"
,
""
)
==
parameters
[
"release_type"
]
return
[
l
for
l
,
t
in
full_task_graph
.
tasks
.
iteritems
()
if
filter
(
t
,
parameters
)]
...
...
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