Bug 1821090 - reduce time limits for repackage tasks. r=aryx,releng-reviewers,bhearsum

Instead of 1h for linux and mac repackage tasks and 2h for windows ones, we now
use:
- 15min for plain repackage, except for asan builds which get 45min
- 45min for msix repackage tasks
- 10min for repackage-deb-l10n (previously the max-run-time in that kind.yml
  was ignored and overridden by the repackage transform's setting of 1h)
- 1h for everything else (repackage-l10n, repackage-msi, repackage-deb,
  release-eme-free-repack-repackage, release-partner-repack-repackage)

Differential Revision: https://phabricator.services.mozilla.com/D174588
This commit is contained in:
Julien Cristau 2023-04-04 12:51:48 +00:00
Родитель 0abde24068
Коммит 28ebdc6be3
5 изменённых файлов: 12 добавлений и 2 удалений

Просмотреть файл

@ -28,6 +28,8 @@ only-for-build-platforms:
job-template:
worker-type: b-linux-gcp
worker:
max-run-time: 2700
# This is for fast try iteration; `repackage-shippable-l10n-msix` is the "real one".
run-on-projects: []
mozharness:

Просмотреть файл

@ -31,6 +31,8 @@ only-for-build-platforms:
job-template:
worker-type: b-linux-gcp
worker:
max-run-time: 2700
mozharness:
config:
by-build-platform:

Просмотреть файл

@ -39,6 +39,11 @@ only-for-build-platforms:
job-template:
worker-type: b-linux-gcp
worker:
max-run-time:
by-build-platform:
.*asan.*: 2700
default: 900
mozharness:
config:
by-build-platform:

Просмотреть файл

@ -295,6 +295,7 @@ def handle_keyed_by(config, jobs):
fields = [
"mozharness.config",
"package-formats",
"worker.max-run-time",
]
for job in jobs:
job = copy_task(job) # don't overwrite dict values here
@ -514,11 +515,11 @@ def make_job_description(config, jobs):
worker.update(
{
"chain-of-trust": True,
"max-run-time": 7200 if build_platform.startswith("win") else 3600,
# Don't add generic artifact directory.
"skip-artifacts": True,
}
)
worker.setdefault("max-run-time", 3600)
if locale:
# Make sure we specify the locale-specific upload dir

Просмотреть файл

@ -163,7 +163,7 @@ def make_job_description(config, jobs):
worker = {
"chain-of-trust": True,
"max-run-time": 7200 if build_platform.startswith("win") else 3600,
"max-run-time": 3600,
"taskcluster-proxy": True if get_artifact_prefix(dep_job) else False,
"env": {
"REPACK_ID": repack_id,