gecko-dev/taskcluster/scripts
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
..
builder Bug 1595368: [firefox-ci] Use consitent logic to determine tooltool url; r=sfraser a=task-fix 2019-11-11 05:50:11 +01:00
iris Bug 1592827 - [iris firefox] Update toolchain.yml to pull in the updated Linux tests r=ashughes 2019-11-01 20:15:13 +00:00
misc Bug 1596341 - Fix nasm putting garbage in the .debug_loc section on elf32. r=froydnj 2019-11-14 20:59:03 +00:00
tester Bug 1565332 - change how pulseaudio is initialized for Debian 10 test image without affecting existing Ubuntu 16.04 process r=jlund,dustin 2019-10-21 16:34:43 +00:00
copy.sh
run-task 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