Bug 1492664 - set TASKCLUSTER_ROOT_URL and TASKCLUSTER_PROXY_URL; r=tomprince,glandium
commit211a6cf5e357c7b36ce7c6f3297a399b954be1f8
authorDustin J. Mitchell <dustin@mozilla.com>
Tue, 18 Dec 2018 05:37:41 +0000 (18 05:37 +0000)
committerDustin J. Mitchell <dustin@mozilla.com>
Tue, 18 Dec 2018 05:37:41 +0000 (18 05:37 +0000)
treec4ae0d693b92a36b271cc87cf7c226b41f9f9f13
parentfac0c5c5a8d88e56cb690a3ddc357963add0b368
Bug 1492664 - set TASKCLUSTER_ROOT_URL and TASKCLUSTER_PROXY_URL; r=tomprince,glandium

Eventually, workers will provide these variables directly
(https://bugzilla.mozilla.org/show_bug.cgi?id=1460015).  But for now, this
ensures that TASKCLUSTER_ROOT_URL is set everywhere, and TASKCLUSTER_PROXY_URL
is set wherever the proxy is active.

The setup for the mach commands defaults to https://taskcluster.net for user
convenience.  When the production instance's URL changes, we can simply change
that default.

This changes the docker build process to propagate TASKCLUSTER_ROOT_URL into
the docker images, and for good measure includes some code to use that value to
generate debian repo paths.

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

--HG--
extra : moz-landing-system : lando
15 files changed:
.taskcluster.yml
python/mozrelease/mozrelease/buglist_creator.py
taskcluster/docker/debian-base/Dockerfile
taskcluster/docker/debian-base/setup_packages.sh
taskcluster/docker/debian7-build/Dockerfile
taskcluster/docker/debian7-mozjs-rust-build/Dockerfile
taskcluster/docker/toolchain-build/Dockerfile
taskcluster/mach_commands.py
taskcluster/taskgraph/__init__.py
taskcluster/taskgraph/test/test_util_docker.py
taskcluster/taskgraph/transforms/docker_image.py
taskcluster/taskgraph/transforms/job/debian_package.py
taskcluster/taskgraph/transforms/task.py
taskcluster/taskgraph/util/docker.py
tools/tryselect/tasks.py