gecko-dev/taskcluster
Connor Sheehan 6a1f431ad6 Bug 1596479: teach `run-task` to get worker location from `TASKCLUSTER_WORKER_LOCATION` environment var r=tomprince
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
2019-11-21 19:48:32 +00:00
..
ci Bug 1593465 - followup for busting gecko decision task. On a CLOSED TREE 2019-11-22 07:15:22 +02:00
docker Bug 1597928 - Snap repackage: Stop fetching scripts from the hg.mozilla.org archive endpoint r=jlund 2019-11-21 09:50:47 +00:00
docs Backed out changeset 11f48aaae955 (bug 1481916) for causing l10 bumper exceptions CLOSED TREE 2019-11-19 23:45:43 +02:00
scripts Bug 1596479: teach `run-task` to get worker location from `TASKCLUSTER_WORKER_LOCATION` environment var r=tomprince 2019-11-21 19:48:32 +00:00
taskgraph Bug 1593465 - Removing -full for causing build bustage from kind.yml and run_pgo_profile.py. On a CLOSED TREE 2019-11-22 06:53:28 +02:00
.yamllint Bug 1550816: Enforce consistent indenting in taskcluster yaml; r=aki 2019-05-10 21:19:48 +00:00
mach_commands.py Bug 1568277 - [taskgraph] Add ability to redirect |mach taskgraph|'s output to a file, r=tomprince 2019-08-16 14:27:14 +00:00
moz.build Bug 1594907 - Fix some duplicate URL segments in firefox-source-docs, r=sylvestre 2019-11-07 23:07:20 +00:00