зеркало из https://github.com/mozilla/gecko-dev.git
6a1f431ad6
Previously we inspected the `TASKCLUSTER_WORKER_GROUP` environment variable, which now only returns the cloud provider of the worker. This commit teaches `run-task` to instead use the `TASKCLUSTER_WORKER_LOCATION` to gather information about the location of the worker. We also use the extra data about the cloud provider for the worker to construct a key for use in the config, in the form `cloudprovider/region`, so GCP hgweb mirrors can be amended to the `hgmointernal` config when they are ready. While we're here we make the error handling for a missing environment variable slightly nicer. Differential Revision: https://phabricator.services.mozilla.com/D53209 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
ci | ||
docker | ||
docs | ||
scripts | ||
taskgraph | ||
.yamllint | ||
mach_commands.py | ||
moz.build |