tor-browser

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

commit 400385b6021bbd1c4b5d40147cc11c7db08b07cc
parent 376a28c2f0f32ffd21970f4d34a184b7d9bc7997
Author: Mark Banner <standard8@mozilla.com>
Date:   Mon, 20 Oct 2025 13:03:52 +0000

Bug 1983976 - Define variables for the source docs tasks to avoid outputting KeyError when the docs are generated/uploaded. r=releng-reviewers,bhearsum

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

Diffstat:
Mtaskcluster/kinds/source-test/doc.yml | 24++++++++++++++++++++++++
1 file changed, 24 insertions(+), 0 deletions(-)

diff --git a/taskcluster/kinds/source-test/doc.yml b/taskcluster/kinds/source-test/doc.yml @@ -22,6 +22,18 @@ generate: max-run-time: 1800 env: LC_ALL: C + # Define various variables to make the generation happy and not + # output `KeyError`s. + # + # This occurs when sphinx is processing some of the python, and + # there is processing going on at the top level. It shows up in + # automation because there's no build environment setup, and so + # the python code can't work out what these variables should be. + # Hence in defining them here we can work around the issue. + OS_TARGET: Linux + BIN_SUFFIX: "" + DLL_PREFIX: "" + DLL_SUFFIX: "" artifacts: - type: file name: public/docs.tar.gz @@ -64,6 +76,18 @@ upload: env: LC_ALL: C MOZ_SOURCE_DOCS_USE_GOOGLE: "1" + # Define various variables to make the generation happy and not + # output `KeyError`s. + # + # This occurs when sphinx is processing some of the python, and + # there is processing going on at the top level. It shows up in + # automation because there's no build environment setup, and so + # the python code can't work out what these variables should be. + # Hence in defining them here we can work around the issue. + OS_TARGET: Linux + BIN_SUFFIX: "" + DLL_PREFIX: "" + DLL_SUFFIX: "" taskcluster-proxy: true artifacts: - type: file