gecko-dev/taskcluster/taskgraph/transforms
Mike Hommey 3e79befa4b Bug 1341214 - Add a small API to handle taskcluster queue and index requests. r=dustin
Various modules under taskcluster are doing ad-hoc url formatting or
requests to taskcluster services. While we could use the taskcluster
client python module, it's kind of overkill for the simple requests done
here. So instead of vendoring that module, create a smaller one with
a limited set of functions we need.

This changes the behavior of the get_artifact function to return a
file-like object when the file is neither a json nor a yaml, but that
branch was never used (and was actually returning an unassigned
variable, so it was broken anyways).

At the same time, make the function that does HTTP requests more
error-resistant, using urllib3's Retry with a backoff factor.

Also add a function that retrieves the list of artifacts, that while
currently unused, will be used by `mach artifact` shortly.

--HG--
extra : rebase_source : 06777dea62e884f546a5b951baad80fd8aec1f1e
2017-02-17 12:04:48 +09:00
..
job Bug 1341214 - Add a small API to handle taskcluster queue and index requests. r=dustin 2017-02-17 12:04:48 +09:00
__init__.py
android_stuff.py Bug 1321614 - fix android_stuff kind to use build secrets, because it uses the same mozharness stuff as build jobs. r=dustin 2016-12-01 14:13:16 -05:00
balrog.py Bug 1334167: allow by-project for cron jobs' when property; r=Callek 2017-02-01 00:30:52 +00:00
base.py Bug 1334167: allow by-project for cron jobs' when property; r=Callek 2017-02-01 00:30:52 +00:00
beetmover_checksums.py Bug 1305139 - followup for flake8 failures. r=Tomcat 2017-02-08 10:43:45 -05:00
beetmover_l10n.py Bug 1305139 - schedule checksums related tasks in nightly graph. r=aki,Callek 2017-02-07 22:44:12 -05:00
beetmover.py Bug 1334506 - Beetmove mbsdiff and mar binaries with tc nightly. r=aki 2017-01-27 16:01:44 -05:00
build_attrs.py Bug 1286075: add a build kind, modify tests to use it; r=jlund 2016-09-12 18:34:06 +00:00
build_signing.py Bug 1334624 - Set index routes for signing tasks based on build jobs. r=aki 2017-01-27 14:24:31 -05:00
build.py Bug 1333167: Add extra try options to taskcluster. r=dustin a=jmaher 2017-02-02 09:34:43 -02:00
checksums_signing.py Bug 1305139 - followup for flake8 failures. r=Tomcat 2017-02-08 10:43:45 -05:00
gecko_v2_whitelist.py Bug 1333155 - convert buildbot addon devel Linux64 builds to taskcluster r=mtabara 2017-02-15 13:39:26 -05:00
l10n.py Bug 1337825 - Schedule l10n repacks for fennec with specified locale revisions using an intree changesets file r=aki 2017-02-17 15:57:11 +01:00
marionette_harness.py Bug 1314795 - introduce build_date to params that defaults to pushdate, r=dustin 2016-11-02 19:23:27 -07:00
nightly_l10n_signing.py Bug 1330668 - Add routes used to trigger funsize. r=dustin 2017-01-12 15:25:43 -05:00
signing.py Bug 1341214 - Add a small API to handle taskcluster queue and index requests. r=dustin 2017-02-17 12:04:48 +09:00
task.py Bug 1335651 - Setup an index path in the gecko.cache namespace for toolchain builds. r=dustin 2017-02-01 09:27:31 +09:00
tests.py Bug 1339604 - stylo builds + tests should only run on limited branches to reduce budget impact r=dustin a=merge 2017-02-17 13:31:39 -05:00
upload_symbols.py Bug 1322041 - Upload nightly symbols. r=dustin 2017-01-04 11:15:34 -05:00