releases-comm-central/taskcluster/comm_taskgraph/util
Rob Lemley 4ecbd14394 Bug 1850600 - Set target_tasks_method to "nothing" for suite-only pushes. r=dandarnell
Relying on optimization strategies to keep suite-only pushes from running
builds unnecessarily mostly works, but not always. The optimization
strategy itself is fine, but if another strategy is used, like for the
source-test jobs, another strategy needs to be created that combines the
mozlint strategy with the no-suite strategy. It's a lot of maintenance.

Suite-only pushes should work like DONTBUILD pushes. The decision task runs
and literally nothing else. DONTBUILD pushes set `target_tasks_method` to
"nothing" to do that. Now, do the same for suite-only pushes by using
taskgraph's get_changed_files function. This should prove to be more robust
and future-proof.

Differential Revision: https://phabricator.services.mozilla.com/D187228

--HG--
extra : rebase_source : 98107e63db0a547fe01800bd36faa13a9fbb2360
extra : amend_source : a9b94cbe28fbe21ffdc0e7c98eeb1c072d776c75
2023-10-14 13:48:38 +03:00
..
__init__.py Bug 1672798 - Run black formatting on all python files. r=mkmelin 2020-10-30 13:41:24 -04:00
docker.py Bug 1799140 - Fix isort lint warnings. r=aleca 2022-12-19 21:10:08 +00:00
hash.py No bug - Fix formatting in taskcluster/comm_taskgraph. rs=linting DONTBUILD 2023-09-08 13:45:48 +12:00
suite.py Bug 1850600 - Set target_tasks_method to "nothing" for suite-only pushes. r=dandarnell 2023-10-14 13:48:38 +03:00