mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-05 03:54:35 +00:00
b1dbf109ed
We don't need to package tests for builds that we don't actually run tests from, but it is tricky to align this correctly by setting MOZ_AUTOMATION_PACKAGE_TESTS=0 in relevant mozconfigs. Instead we can set the environment variable in the task definition, and use a full taskgraph verification check to ensure that the flag is only set on builds that have tests. The one tricky area is the win64-aarch64 builds, which have a workaround by specifying the new skip-verify-test-packaging attribute. In one case, win64-aarch64-shippable has tests that run against it, but it copies those tests from a win64-aarch64-shippable-no-eme task, which itself has no tests. Both of those tasks need to skip the verify check as a result. In another case, the win64-aarch64-eme task is an artifact build that grabs test packages from the win64-aarch64 build. Since the win64-aarch64 build doesn't have tests, it needs to skip the verify check. Differential Revision: https://phabricator.services.mozilla.com/D59426 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
ci | ||
docker | ||
docs | ||
scripts | ||
taskgraph | ||
.yamllint | ||
mach_commands.py | ||
moz.build |