gecko-dev/taskcluster
Connor Sheehan 3adff2160f 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-20 00:10:53 +00:00
..
ci Bug 1596548 - Add talos tests to central with gecko profiling enabled r=perftest-reviewers,stephendonner 2019-11-19 17:25:45 +00:00
docker Bug 1596953 - Add valgrind to android-build image. r=froydnj 2019-11-18 20:38:11 +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-20 00:10:53 +00:00
taskgraph Backed out changeset 11f48aaae955 (bug 1481916) for causing l10 bumper exceptions CLOSED TREE 2019-11-19 23:45:43 +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