mirror of
https://github.com/servo/servo.git
synced 2025-06-06 08:35:43 +00:00
Run a decision task on both deployments for push events
This commit is contained in:
parent
694e38e163
commit
6125fe88c3
2 changed files with 5 additions and 12 deletions
|
@ -48,18 +48,7 @@ tasks:
|
|||
$if: "event.ref[:11] == 'refs/heads/'"
|
||||
then: "${event.ref[11:]}"
|
||||
in:
|
||||
$if: >-
|
||||
(
|
||||
taskcluster_root_url == 'https://community-tc.services.mozilla.com' &&
|
||||
branch == 'try-communitytc'
|
||||
) || (
|
||||
taskcluster_root_url == 'https://taskcluster.net' &&
|
||||
branch != 'try-communitytc' &&
|
||||
(
|
||||
branch in ['auto', 'try', 'master'] ||
|
||||
branch[:4] == 'try-'
|
||||
)
|
||||
)
|
||||
$if: "branch in ['auto', 'try', 'master'] || branch[:4] == 'try-'"
|
||||
then:
|
||||
$mergeDeep:
|
||||
- {$eval: "task_common"}
|
||||
|
|
|
@ -24,6 +24,10 @@ def main(task_for):
|
|||
magicleap_nightly = lambda: None
|
||||
|
||||
if task_for == "github-push":
|
||||
if not CONFIG.legacy_tc_deployment: # pragma: no cover
|
||||
# Do nothing (other than the decision task itsef) on community-tc by default for now
|
||||
return
|
||||
|
||||
# FIXME https://github.com/servo/servo/issues/22187
|
||||
# In-emulator testing is disabled for now. (Instead we only compile.)
|
||||
# This local variable shadows the module-level function of the same name.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue