mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +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/'"
|
$if: "event.ref[:11] == 'refs/heads/'"
|
||||||
then: "${event.ref[11:]}"
|
then: "${event.ref[11:]}"
|
||||||
in:
|
in:
|
||||||
$if: >-
|
$if: "branch in ['auto', 'try', 'master'] || branch[:4] == 'try-'"
|
||||||
(
|
|
||||||
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-'
|
|
||||||
)
|
|
||||||
)
|
|
||||||
then:
|
then:
|
||||||
$mergeDeep:
|
$mergeDeep:
|
||||||
- {$eval: "task_common"}
|
- {$eval: "task_common"}
|
||||||
|
|
|
@ -24,6 +24,10 @@ def main(task_for):
|
||||||
magicleap_nightly = lambda: None
|
magicleap_nightly = lambda: None
|
||||||
|
|
||||||
if task_for == "github-push":
|
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
|
# FIXME https://github.com/servo/servo/issues/22187
|
||||||
# In-emulator testing is disabled for now. (Instead we only compile.)
|
# In-emulator testing is disabled for now. (Instead we only compile.)
|
||||||
# This local variable shadows the module-level function of the same name.
|
# This local variable shadows the module-level function of the same name.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue