commit b8672273a38808f13631ae7fb6c09541cfd9770a
parent 40fc6da7b6ffa34a53fabccb177c6066a54d8654
Author: Serban Stanca <sstanca@mozilla.com>
Date: Tue, 28 Oct 2025 18:57:33 +0200
Revert "Bug 1996807 - don't pass the decision task's proxy url to `packages` tasks. r=releng-reviewers,taskgraph-reviewers,Eijebong" for causing libxml2 fetch failures.
This reverts commit ce46dfebe252368cb3d886efcb237f0dc66608b1.
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/taskcluster/gecko_taskgraph/transforms/job/distro_package.py b/taskcluster/gecko_taskgraph/transforms/job/distro_package.py
@@ -11,6 +11,7 @@ import re
import taskgraph
from taskgraph.util.schema import Schema
+from taskgraph.util.taskcluster import get_root_url
from voluptuous import Any, Optional, Required
from gecko_taskgraph import GECKO
@@ -155,7 +156,7 @@ def common_package(config, job, taskdesc, distro, version):
"-x",
"-c",
# Add sources for packages coming from other package tasks.
- "/usr/local/sbin/setup_packages.sh $TASKCLUSTER_ROOT_URL $PACKAGES && "
+ "/usr/local/sbin/setup_packages.sh {root_url} $PACKAGES && "
"apt-get update && "
# Upgrade packages that might have new versions in package tasks.
"apt-get dist-upgrade && " "cd /tmp && "
@@ -177,6 +178,7 @@ def common_package(config, job, taskdesc, distro, version):
# Make the artifacts directory usable as an APT repository.
"apt-ftparchive sources apt | gzip -c9 > apt/Sources.gz && "
"apt-ftparchive packages apt | gzip -c9 > apt/Packages.gz".format(
+ root_url=get_root_url(),
package=package,
src_url=src_url,
src_file=src_file,