Commit Graph
14 Commits
Author SHA1 Message Date
Rob Wood 6609c8ed3e Bug 1318659 - Don't call SETA for build jobs; r=jmaher
MozReview-Commit-ID: 5O5k0WRorBp
2017-02-24 10:16:35 -05:00
Rob Wood ffa1542b11 Bug 1340785 - SETA: Add support for TC BBB tasks; r=jmaher
MozReview-Commit-ID: 54UMq7OTrnR
2017-02-21 17:07:02 -05:00
Mike Hommey b1ef1c8c3b Bug 1335651 - Setup an index path in the gecko.cache namespace for toolchain builds. r=dustin
This allows to find them and optimize them out during the taskgraph
optimization phase, and will allow to get toolchain artifacts through a
mach command for developers.

The index path is generated similarly to git trees or mercurial
manifests, and allows to find the right task corresponding to the the
contents of the files in the task `extra.resources` along the toolchain
scripts.

`when.files-changed` is not used when a task has index paths because we
need tasks to happen independently of whether there were changes to
those files when the index or artifacts expire.
2017-02-01 09:27:31 +09:00
Rob Wood 925da0ffe1 Bug 1333841 - Add seta timeout code to gecko decision task; r=jmaher
MozReview-Commit-ID: IavIAHZ1zgQ
2017-01-26 15:06:08 -05:00
Rob Wood dc4f6115ec Bug 1329783 - Have gecko decision task determine when to call seta; r=jmaher
MozReview-Commit-ID: H3hnDqS6Vgy
2017-01-19 16:00:33 -05:00
MikeLing 1c212213eb Bug 1287018: consult the SETA service to determine low-value tasks; r=dustin
MozReview-Commit-ID: nvtRNUxytR
2016-10-20 22:16:39 +00:00
Dustin J. Mitchell b184f414fd Bug 1286075: fix flake8 error; r=gps CLOSED TREE a=KWierso
MozReview-Commit-ID: 4DWMQTVekwk
2016-09-13 19:44:04 +00:00
Dustin J. Mitchell b5148a1840 Bug 1286075: delete the legacy kind; r=mshal
MozReview-Commit-ID: F99tUGUWj6d
2016-09-08 00:31:35 +00:00
Dustin J. Mitchell f29490f01e Bug 1286075: allow defaults in TransformTask; r=gps
MozReview-Commit-ID: 5tdnxykLTZc
2016-09-01 18:48:38 +00:00
Dustin J. Mitchell 1c449ca5e0 Bug 1286075: add support for optimizing based on files changed in the push; r=gps
MozReview-Commit-ID: 5di7TuL9X2P
2016-09-12 18:40:12 +00:00
Dustin J. Mitchell 28515da8c6 Bug 1286075: factor load_yaml into a util module; r=gps
MozReview-Commit-ID: DPWZWslcphy
2016-09-06 18:01:27 +00:00
Gregory Szorc 248b1e1823 Backed out changeset 7a3a65ff5865 (bug 1295486) for test failures 2016-08-18 10:21:26 -07:00
Gregory Szorc 5fe1f3f6e3 Bug 1295486 - Decode YAML files to UTF-8 at read time; r=dustin
Before, we'd open files and feed bytes to yaml.load(). When a str
is fed to yaml.load(), it attempts to guess the encoding. It defaults
to UTF-8 unless somebody set us up the BOM. This is probably OK.
Except if the file isn't valid UTF-8, the exception will be raised
in the bowels of YAML parsing and it may not be obvious the failure
is due to invalid UTF-8 input versus say Python str/unicode
coercion foo.

We change all call sites that load YAML from a file to use
codecs.open() to open the file in UTF-8 and perform UTF-8
decoding/validation at file read time. This should make any UTF-8
failures more obvious. Furthermore, it reinforces that our YAML files
are UTF-8 and not some other encoding.

I discovered this issue as part of trying to get emoji symbols to
render on Treeherder. Unfortunately, it appears pyyaml detects
many emoji as unprintable characters and refuses to load them. This
makes me sad and makes me want to abandon pyyaml/YAML in favor of
something that supports emoji :P

MozReview-Commit-ID: AOvAruZFfnK
2016-08-18 08:58:59 -07:00
Dustin J. Mitchell dab4ce5291 Bug 1290602: add TransformTask to task-graph machinery; r=gps
This abstracts out the process of running transforms as specified in kind.yml,
with some useful default behavior that can be overridden by subclasses.

MozReview-Commit-ID: 8pY4IYaN7NU
2016-08-01 17:52:52 +00:00