Commit Graph

8 Commits

Author SHA1 Message Date
Gregory Szorc
61b22ffc3d Bug 1469999 - Use yaml.safe_load() in taskgraph; r=dustin
yaml.load() can evaluate arbitrary Python code via syntax such as
`!!python/object/apply:os.system`. Seriously.

Let's switch taskgraph to yaml.safe_load(), which is reasonable
about limiting magic.

Differential Revision: https://phabricator.services.mozilla.com/D1736
2018-06-25 21:34:30 +00:00
Tom Prince
30024d01bd Bug 1447460: Teach mach taskgraph cron to handle configuration in sub-repositories; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D815
2018-03-28 11:34:20 -07:00
Tom Prince
cf0924c4be Bug 1447460: Add a slightly more descriptve owner for cron tasks; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D813
2018-03-27 10:32:13 -07:00
Dustin J. Mitchell
6f7ab04a7d Bug 1328727: use json-e for cron decision tasks too; r=aki,jonasfj
Changes to cron decision tasks:
 - drops some unnecessary routes
 - drops tags.createdForUser: nobody@..
 - more use of environment variables within the command line

MozReview-Commit-ID: 9zoqFvwrBRs
2017-07-21 18:08:06 +00:00
Andrew Halberstadt
9e9b994f8f Bug 1378212 - Give cron-based decision tasks unique index routes, r=dustin
We'd like to use routes like:
index.gecko.v2.mozilla-central.latest.firefox.decision

to automatically find the latest parameters.yml file from a decision task. Unfortunately,
sometimes the latest decision task happens to be triggered by a cron job which uses a different
target_tasks method and therefore won't generate the expected tasks.

This patch *should* create a different index for these types of decision tasks, though I'm not
sure how I can test it before pushing.

MozReview-Commit-ID: 1993ISgb1Dn
2017-07-04 16:09:58 -04:00
Dustin J. Mitchell
9035033b90 Bug 1351011: remove unused triggered_by property; r=Callek
The purpose of this parameter has been superseded by the `include_nightly`
property.

MozReview-Commit-ID: 4iXQsv9Drqg
2017-03-27 20:10:08 +00: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
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