Commit Graph
12 Commits
Author SHA1 Message Date
Justin Wood 94551240a4 Bug 1355105 - Cron.yml requires a 'when' for all projects even if not specified in 'run-on-projects'. r=dustin
MozReview-Commit-ID: CIKcRtGfvIM
2017-04-10 11:23:49 -04:00
Dustin J. Mitchell b7a652c5b1 Bug 1337360: check for schema elements that aren't dashed-identifiers, with whitelist; r=Callek
MozReview-Commit-ID: FirYCrjFXAS
2017-03-22 16:24:38 +00:00
Mike Hommey 59882266b7 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.
2017-02-17 12:04:48 +09:00
Mike Hommey 32f26de395 Bug 1341214 - Define GECKO in a single location. r=dustin
Instead of every file trying to get the top source directory having an
ad-hoc definition that gets wrong if the files gets moved around for
some reason, define it in a more central location.
2017-02-17 11:56:12 +09:00
Carsten "Tomcat" Book 20a26945dc Backed out changeset d8122277e9fd (bug 1341214) for causing on m-c problems in vp tc tasks 2017-02-22 15:33:42 +01:00
Mike Hommey eb5916da95 Bug 1341214 - Define GECKO in a single location. r=dustin
Instead of every file trying to get the top source directory having an
ad-hoc definition that gets wrong if the files gets moved around for
some reason, define it in a more central location.
2017-02-17 11:56:12 +09:00
Dustin J. Mitchell b3783f027a Bug 1334167: use the gecko schedulerid to avoid schedulerid conflicts; r=Callek
MozReview-Commit-ID: CdWC1y3oAQe
2017-02-06 15:08:46 +00:00
Dustin J. Mitchell 7182ad3228 Bug 1334167: allow by-project for cron jobs' when property; r=Callek
This requires moving the schema utilities to their own util module.

MozReview-Commit-ID: KR5xSJ9ak5Y
2017-02-01 00:30:52 +00:00
Dustin J. Mitchell 8a1376158a Bug 1334167: use run-on-projects to parallel task graph generation; r=Callek
MozReview-Commit-ID: EQMuh4hN9Ya
2017-01-31 19:49:18 +00:00
Dustin J. Mitchell a987a67026 Bug 1334167: match times correctly; r=Callek
MozReview-Commit-ID: CZCoqmAEx9Q
2017-01-31 18:39:33 +00:00
Dustin J. Mitchell 10202985b4 Bug 1334167: calculate head revision with -r .; r=Callek
MozReview-Commit-ID: 6tmdO5qwD4g
2017-01-31 18:28:06 +00:00
Dustin J. Mitchell 0064836f97 Bug 1252948: support for periodic taskgraphs; r=Callek,jonasfj,kmoir
This adds `.cron.yml` and a new mach command to interpret it.  While
functionality is limited to nightlies right now, there is room to expand to
more diverse periodic tasks.  Let your imagination run wild!

MozReview-Commit-ID: KxQkaUbsjQs
2017-01-18 19:45:53 +00:00