Commit Graph
75 Commits
Author SHA1 Message Date
Aki Sasaki 3f725a5cf7 bug 1343585 - add task.payload.version to release beetmover tasks. r=mtabara a=release 2017-03-01 17:49:57 -08:00
Aki Sasaki 4763d9a92f Bug 1343393 - add graph logic to handle a fennec beta build. r=mtabara DONTBUILD
MozReview-Commit-ID: 4c6H5hiOiKj
2017-03-01 14:54:15 +00:00
Wes Kocher 731f9b2ea9 Bug 1343144 - Followup to make flake8 happy a=bustage CLOSED TREE
MozReview-Commit-ID: 4FwSar2LFvU
2017-02-28 15:19:29 -08:00
Aki Sasaki fef382e08f bug 1343144 - use nightly beetmover on beta and release. r=mtabara a=release
MozReview-Commit-ID: GrWWYvWRpnj
2017-02-28 09:30:48 -08: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
Mihai Tabara fd866a1d60 Bug 1338186 - tweak the bucket scope to new form. r=aki a=release DONTBUILD
MozReview-Commit-ID: Fbjk6xTZwmZ
2017-02-27 18:55:03 +00:00
Mihai Tabara 79f253bd9b Bug 1338186 - assign bucket specific scopes per type of release. r=aki
MozReview-Commit-ID: 7OAIvkaFF2a
2017-02-24 17:30:46 +02:00
Andrew Halberstadt 65b106e01e Bug 1336559 - Refactor keyed-by matching algorithm into standalone utility function, r=dustin
MozReview-Commit-ID: Jqyhbj7nC6z
2017-02-24 08:56:11 -05:00
Aki Sasaki fa5661a38f bug 1340609 - adjust beetmover+balrog scopes until we're ready. r=mtabara 2017-02-22 16:04:42 -08:00
Wes Kocher d1b8cb0d97 Merge m-c to inbound, a=merge
MozReview-Commit-ID: HDHJC8X9xWG
2017-02-22 15:06:46 -08:00
Wes Kocher c871209b83 Merge autoland to central, a=merge
MozReview-Commit-ID: 5l8P3DzMNXz
2017-02-22 14:55:21 -08:00
Aki Sasaki 37a5fc8e6a bug 1340609 - toggle nightly scopes on-demand. r=dustin a=release
MozReview-Commit-ID: JiBpEWfGefh
2017-02-22 10:50:38 -08: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
Carsten "Tomcat" Book 711501d98d Backed out changeset 5ffd6c7264ce (bug 1341214) 2017-02-22 15:33:17 +01:00
Mike Hommey c7945d8ea1 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 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
Mike Hommey 6b28dd24f0 Bug 1341213 - Make the index path for toolchain jobs independent of the source path. r=dustin
When I refactored hash_paths to add caching, I mixed things up such that
for each file, we end up hashing:
  (u'$sha256sum', u'$topsrcdir/$relpath') $relpath

when the intent was to hash:
  $sha256sum $relpath

This change fixes it, such that now the index paths are independent of
the source path, as originally intended.
2017-02-16 17:33:35 +09:00
Kim Moir 68e58246f9 Bug 1339604 - stylo builds + tests should only run on limited branches to reduce budget impact r=dustin 2017-02-17 13:31:39 -05:00
Rob Wood 765d6d2ad7 Bug 1340065 - Don't let SETA optimize out linux64-stylo tests; r=jmaher
MozReview-Commit-ID: 4wJe1ZtxXds
2017-02-16 09:41:42 -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 ac6d5a8ae0 Bug 1339592 - Increase timeout for SETA api; r=jmaher
MozReview-Commit-ID: JSIg3vER0AE
2017-02-15 08:19:56 -05:00
Rob Wood f1d737c998 Bug 1336582 - Add build_system_type to seta job priority endpoint; r=jmaher
MozReview-Commit-ID: ATRkfuewYBb
2017-02-03 16:40:24 -05:00
Rob Wood 7ae44d6e59 Bug 1336423 - Reduce warnings for SETA; r=jmaher
MozReview-Commit-ID: 5npX51kX2hB
2017-02-03 11:04:21 -05:00
Rob Wood 1121221355 Bug 1330385 - Make the job priorities endpoint work for tc; r=jmaher
MozReview-Commit-ID: Fl4jbyNKnGz
2017-02-01 18:00:44 -05: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
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 ffa1542b11 Bug 1340785 - SETA: Add support for TC BBB tasks; r=jmaher
MozReview-Commit-ID: 54UMq7OTrnR
2017-02-21 17:07:02 -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
Dustin J. Mitchell 4cde9ca9b2 Bug 1302192: require headings to begin a line; r=hammad13060+583205
MozReview-Commit-ID: 4me4VI8Si0h
2016-12-23 22:04:45 +00:00
Carsten "Tomcat" Book ef798f401e Merge mozilla-central to mozilla-inbound 2016-12-22 16:25:35 +01:00
Hammad Akhtar 4fd926d2ee Bug 1302804 - Ensure that tasks in a taskgraph do not have duplicate gecko.v2 routes; r=dustin
MozReview-Commit-ID: B4Ok4WhqBVq
2016-12-21 13:34:04 +05:30
Jonas Finnemann Jensen e09600726d Bug 1324414 - Reference prebuilt docker images by HASH. r=dustin
This adds a HASH file next to the VERSION file in the image
context folders for prebuilt docker images. And uses the
HASH for referencing the image in the tasks created by
the decision task.

This way docker will validate the image hash when pulling it
in production. Thus, attackers won't be able to inject code
by compromising the remote docker registries we use to store
prebuilt images. Further more, this makes validation of the
Chain-Of-Trust artifacts easier as this eliminates the need
for whitelists and hash validation.

MozReview-Commit-ID: FD3B9MyeU9Q
2016-12-19 11:31:56 +01:00
Hammad Akhtar 331cc8e455 Bug 1323633 - Ensure that task graphs do not contain duplicate Treeherder symbols, also consider treeherder.collection.keys(); r=dustin
MozReview-Commit-ID: 3F0BHQQmSOg
2016-12-13 11:51:53 +05:30
Sebastian Hengst a30693c808 Backed out changeset fe7303de56be (bug 1302763) for failing webdriver tests on Linux x64 debug (geckodriver.manifest fetch failed). r=backout 2016-12-19 21:15:07 +01:00
CuriousLearner 5ad707be1b Bug 1302763 - Move docker images out of testing/docker into taskcluster/docker; r=CuriousLearner
MozReview-Commit-ID: 7v1uCDB5qoN
2016-10-20 18:25:34 +05:30
Phil Ringnalda 2390a77384 Backed out changeset 6034929c3e4a (bug 1302802) for decision task bustage
CLOSED TREE
2016-12-13 10:01:05 -08:00
Hammad Akhtar 83471420c6 Bug 1302802 - Ensure that task graphs do not contain duplicate Treeherder symbols; r=dustin
MozReview-Commit-ID: LO2fEbxzZH2
2016-12-13 11:51:53 +05:30
Hammad Akhtar 419f90c11b Bug 1322193 - Verify taskgraph implementations against documentation, with proper regex. Updated doc verification for fake values of kinds, parameters etc., regex optimized r=Callek
MozReview-Commit-ID: 56ZEJECbtK5
2016-12-06 12:03:36 +05:30
Hammad Akhtar b7f4533590 Bug 1302800 - Verify taskgraph implementations against documentation; r=dustin
MozReview-Commit-ID: J8djr4ifvzm
2016-11-26 01:22:46 +05:30
Jonas Finnemann Jensen 2bae2cad08 Bug 1316183 - Compress docker images with zstd. r=dustin
* Compress docker images with zstd
 * Removed need for context.tar from decision task
 * Index images by level rather than project

MozReview-Commit-ID: 4RL4QXNWmpd
2016-11-07 11:26:27 -08:00
Joel Maher e8ee86ea2e Bug 1315145 - disable SETA on tier-1 platforms temporarily. r=dustin
MozReview-Commit-ID: 2royNntQxB2
2016-11-07 13:39:23 -05:00
Kim Moir ed1f8c1eea Bug 1296396 - remove configs that reference fx-team in tc and buildbot u=aselagea r=kmoir 2016-11-02 10:53:19 -04:00
CuriousLearner f27a0ad144 Bug 1302763 - Move docker images out of testing/docker into taskcluster/docker; r=dustin r=CuriousLearner
MozReview-Commit-ID: 7v1uCDB5qoN
2016-10-20 18:25:34 +05:30
Joel Maher 217438a933 Bug 1313426 - gecko decision task: ValueError: No JSON object. fix SETA. r=dustin a=bustage-fix
MozReview-Commit-ID: F4V3VcDHMnW
2016-10-27 15:12:33 -04: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 b5148a1840 Bug 1286075: delete the legacy kind; r=mshal
MozReview-Commit-ID: F99tUGUWj6d
2016-09-08 00:31:35 +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
Dustin J. Mitchell d9d4600c28 Bug 1286075: improve dict merging support; r=gps
MozReview-Commit-ID: D3691sf2LqZ
2016-08-19 18:12:40 +00:00