@@ -374,7 +374,9 @@ tasks:
374374 # Bootstraps a Firefox checkout, makes an artifact build and runs tests in it.
375375 # Too slow for every pull request, it runs after merges that change the
376376 # image or what goes into it.
377- - $if : ' tasks_for == "github-push" && head_branch == "refs/heads/master" && touches_bug_fix_image'
377+ # TEMPORARY: also on pull requests, to verify it on this PR. Drop the
378+ # pull request condition before merging.
379+ - $if : ' (tasks_for == "github-push" && head_branch == "refs/heads/master" && touches_bug_fix_image) || tasks_for[:19] == "github-pull-request"'
378380 then :
379381 $mergeDeep :
380382 - { $eval: default_task_definition }
@@ -406,7 +408,9 @@ tasks:
406408 # Like the slow tests, but a full build with the agent's own mozconfig, as
407409 # the agent makes. Too slow for every pull request, it runs after merges
408410 # that change the image or what goes into it; a failure is not retried.
409- - $if : ' tasks_for == "github-push" && head_branch == "refs/heads/master" && touches_bug_fix_image'
411+ # TEMPORARY: also on pull requests, to verify it on this PR. Drop the
412+ # pull request condition before merging.
413+ - $if : ' (tasks_for == "github-push" && head_branch == "refs/heads/master" && touches_bug_fix_image) || tasks_for[:19] == "github-pull-request"'
410414 then :
411415 $mergeDeep :
412416 - { $eval: default_task_definition }
@@ -443,7 +447,9 @@ tasks:
443447 # runs tests in it.
444448 # Too slow for every pull request, it runs after merges that change the
445449 # image or what goes into it.
446- - $if : ' tasks_for == "github-push" && head_branch == "refs/heads/master" && touches_bug_fix_image'
450+ # TEMPORARY: also on pull requests, to verify it on this PR. Drop the
451+ # pull request condition before merging.
452+ - $if : ' (tasks_for == "github-push" && head_branch == "refs/heads/master" && touches_bug_fix_image) || tasks_for[:19] == "github-pull-request"'
447453 then :
448454 $mergeDeep :
449455 - { $eval: default_task_definition }
0 commit comments