Граф коммитов

13 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 3854c3f71d 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 : d7ef633e8e5041dc8450f3ff2f3751c85f144cdc
2017-02-17 12:04:48 +09:00
Brian Stack fe3c438717 Bug 1342264 - Fix case of backfilling with no previous builds r=dustin
MozReview-Commit-ID: FXF7EW8Nygl

--HG--
extra : rebase_source : c28c1d12c37fba2b8633b4cc79a75d15feab7406
2017-02-23 15:13:07 -08:00
Wes Kocher 72ecfb5fd6 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 7gVISUXnm2Q
2017-02-22 15:07:12 -08:00
Carsten "Tomcat" Book 42bc96ae3d Backed out changeset 5ffd6c7264ce (bug 1341214) 2017-02-22 15:33:17 +01:00
Brian Stack 6d1d9fbf92 Bug 1341704 - Fix assumption of uniqeness of treeherder jobs r=jmaher
MozReview-Commit-ID: EDpsIvF2IEE

--HG--
extra : rebase_source : 8ad736c151553bfd7df935b999aad93536e8603f
2017-02-22 09:33:32 -08:00
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
Brian Stack d572c9e41f Bug 1289824 - Add "add-talos" taskgraph action r=jmaher
MozReview-Commit-ID: A5KVIgAZccV

--HG--
extra : rebase_source : 9801af1f0652d39a2e75b6c60261c0cea8137f80
2017-01-11 11:13:19 -05:00
Brian Stack aa3683d105 Bug 1289823 - Add backfilling as an action-task r=armenzg,dustin
MozReview-Commit-ID: HALwE6Q0Lch

--HG--
extra : rebase_source : de9329c46bb9d50e44d29181095577326e039b73
2016-12-07 13:33:20 -10:00
Brian Stack ee34799ca7 Bug 1316961 - Fix parameters for action tasks. r=dustin
MozReview-Commit-ID: 95xs7NRHSdi

--HG--
extra : rebase_source : acfcd50ddced904c4a9e3aace8808a097caab398
2016-11-14 10:28:58 -08:00
Kalpesh Krishna 87f3ac8197 Bug 1305989 - Update usage of create_tasks() in action tasks. r=dustin
--HG--
extra : rebase_source : c8bdd1c4972ec2363f31d371ed9e1e9368d367f0
2016-09-28 09:43:00 -04:00
Kalpesh Krishna df3e5c70ed Bug 1304428 - Adding a from_json test in decision task. r=jlund
MozReview-Commit-ID: 7QgfSutjoFZ

--HG--
extra : rebase_source : 5a84e2bf54135e615ba2ed365abef3c60be99bae
2016-09-23 19:26:39 +05:30
Kalpesh Krishna 6fcc5f22e5 Bug 1302831 - Downloading parameters.yml in the action task. r=dustin
MozReview-Commit-ID: IbAXfHBylAm

--HG--
extra : transplant_source : %F9%60b%1E%3EAf%C4%C0v%FE%5Cu%14%9E%0A%E1%20%3B%D7
2016-09-15 02:09:06 +05:30
Kalpesh Krishna 7eccb69c1c Bug 1281062 - Create Action Tasks to schedule new jobs. r=dustin
MozReview-Commit-ID: 5MvqLfGrlLC

--HG--
extra : rebase_source : dd954acce8ef9ed2f3b9aa7c5c2cbd916a82f1f1
2016-07-11 22:43:58 +05:30