4ecbd14394
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 |
||
---|---|---|
.. | ||
__init__.py | ||
docker.py | ||
hash.py | ||
suite.py |