tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 40813494e727c457dfb3c78522e36efca0abf8b3
parent 8dde5c06b580ddc77c8507b884a6239665b1af91
Author: Ben Hearsum <ben@mozilla.com>
Date:   Thu, 27 Nov 2025 21:36:39 +0000

Bug 2002681: ensure `UPLOAD_DIR` is set for mozharness tests r=releng-reviewers,taskgraph-reviewers,ahal

This gives us a consistent environment variable to look for to find the right place to put artifacts. This will make a subsequent patch that is writing a perfherder artifact deep in the bowels of mozharness to easily write to the correct place.

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

Diffstat:
Mtaskcluster/gecko_taskgraph/transforms/job/mozharness_test.py | 10+++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/taskcluster/gecko_taskgraph/transforms/job/mozharness_test.py b/taskcluster/gecko_taskgraph/transforms/job/mozharness_test.py @@ -12,7 +12,12 @@ from taskgraph.util.taskcluster import get_artifact_path from voluptuous import Extra, Optional, Required from gecko_taskgraph.transforms.job import configure_taskdesc_for_run, run_job_using -from gecko_taskgraph.transforms.job.common import get_expiration, support_vcs_checkout +from gecko_taskgraph.transforms.job.common import ( + docker_worker_add_artifacts, + generic_worker_add_artifacts, + get_expiration, + support_vcs_checkout, +) from gecko_taskgraph.transforms.test import normpath, test_description_schema from gecko_taskgraph.util.attributes import is_try from gecko_taskgraph.util.chunking import get_test_tags @@ -134,6 +139,7 @@ def mozharness_test_on_docker(config, job, taskdesc): "expires-after": get_expiration(config, "default"), } ) + docker_worker_add_artifacts(config, job, taskdesc) env = worker.setdefault("env", {}) env.update( @@ -288,6 +294,8 @@ def mozharness_test_on_generic_worker(config, job, taskdesc): } ] + generic_worker_add_artifacts(config, job, taskdesc) + # jittest doesn't have blob_upload_dir if test["test-name"] != "jittest": artifacts.append(