Open
Bug 1926592
Opened 3 days ago
Updated 2 days ago
"GECKO_INSTALLER_URL" environment variable not set for source-tests
Categories
(Firefox Build System :: Task Configuration, defect)
Firefox Build System
Task Configuration
Tracking
(Not tracked)
NEW
People
(Reporter: whimboo, Unassigned)
References
Details
As referenced in the following code there should be a GECKO_INSTALLER_URL
environment variable set for source-tests based tests, but that's not the case. This environment variable doesn't exist.
# Build labels required for the task. If this key is provided it must
# contain a build label for the task platform.
# The task will then depend on a build task, and the installer url will be
# saved to the GECKO_INSTALLER_URL environment variable.
Optional("require-build"): optionally_keyed_by("project", {str: str}),
As workaround the variable can be set by using a by-platform
setting under worker
like:
worker:
by-platform:
linux1804*:
env:
GECKO_INSTALLER_URL: $MOZ_FETCHES_DIR/target.tar.bz2
macosx*:
env:
GECKO_INSTALLER_URL: $MOZ_FETCHES_DIR/target.dmg
windows*:
env:
GECKO_INSTALLER_URL: $MOZ_FETCHES_DIR/target.zip
Maybe this environment variable needs to be set in add_build_dependency()
? At least the comment there states that:
def add_build_dependency(config, job):
"""
Add build dependency to the job and installer_url to env.
You need to log in
before you can comment on or make changes to this bug.
Description
•