commit cd4e4772a2324316953996949f215e07286467d7
parent 336e5db150e3a598982d36cdaf57d5c1c7787081
Author: Julien Cristau <jcristau@mozilla.com>
Date: Fri, 24 Oct 2025 09:36:37 +0000
Bug 1996183 - work around taskgraph regression by setting the default root url. r=releng-reviewers,taskgraph-reviewers,Eijebong
taskgraph doesn't respect the PRODUCTION_TASKCLUSTER_ROOT_URL setting, so until
that's fixed, set a default TASKCLUSTER_PROXY_URL in the environment to make
things like `mach artifact` (and thus bootstrap) work again.
Differential Revision: https://phabricator.services.mozilla.com/D269939
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/taskcluster/gecko_taskgraph/__init__.py b/taskcluster/gecko_taskgraph/__init__.py
@@ -28,6 +28,8 @@ taskgraph_morph.registered_morphs = []
# Default rootUrl to use if none is given in the environment; this should point
# to the production Taskcluster deployment used for CI.
tc_util.PRODUCTION_TASKCLUSTER_ROOT_URL = "https://firefox-ci-tc.services.mozilla.com"
+# Workaround for https://github.com/taskcluster/taskgraph/pull/835
+os.environ.setdefault("TASKCLUSTER_ROOT_URL", tc_util.PRODUCTION_TASKCLUSTER_ROOT_URL)
# Schemas for YAML files should use dashed identifiers by default. If there are
# components of the schema for which there is a good reason to use another format,