Commit graph

17 commits

Author SHA1 Message Date
spalger
88427e9a43 add test sharding
The tests in master are currently failing regularly because our current browser tests are serious memory hogs. Investigation reveals that nearly every test is retaining all of the memory it causes to be allocated. We have made some progress to being able to diagnose the problems, but we expect that problem to take some serious work to fix. We need a short-term solution though, and this is it.

Rather than modify the bundling process, we will shard the top-level test suites by name. For now, we've created 4 shards, but adding new shards is trivial if we need to.

Sharding is accomplished by creating a murmur3 hash of the top level suite names, then bucketing based on the hash output. If a test suite resolves to shard2, but we are running shard1, we simply never pass the function to `mocha.describe()`. Rather than redefine every describe statement, we have shimmed the global `window.describe()` function to accomplish this.
2016-09-02 10:38:29 -07:00
Tyler Smalley
8f70184f64 Adds license check to jenkins:unit
* Adds "Public domain" to list of accepted licenses to cover version mismatch of tweetnacl.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2016-07-25 16:59:04 -07:00
spalger
c684004324 [ci] fix typo in jenkins:env task 2016-07-01 12:10:29 -07:00
spalger
5f61d48a1b [ci] compact the legacy jenkins sub-task list 2016-07-01 12:00:39 -07:00
spalger
d54e0d5293 [ci] fix eslint task name 2016-07-01 11:57:06 -07:00
spalger
fd699cb0a3 [ci] replace original jenkins task for bwc 2016-07-01 11:38:30 -07:00
spalger
7df6040536 [ci] split unit and selenium tasks into separate jenkins scripts 2016-07-01 11:31:02 -07:00
Court Ewing
834f56392e Apply -snapshot suffix during build task
The default behavior of the build task is to now apply the -snapshot
suffix dynamically rather than us manually hardcoding and managing it
within the source code itself. The `--release` flag will drop the
-snapshot suffix on a build, which should be used for any release
candidate.

The default behavior of the build task has also changed to create
rpm/deb packages as well. Since we've only confirmed that this works on
linux, you can override that behavior by passing `skip-os-packages`.

If you do not want to create any zip or tar.gz archives, you can pass
`--skip-archives`.
2016-06-11 15:57:30 -04:00
Court Ewing
55e429cc4f [internal] Reject CI builds if any .rej files exist
.rej are the byproduct of failed patches via git-apply or artifacts of
the backporting process through jasper. Any build that has them should
be rejected early.
2016-03-29 13:24:32 -04:00
spalger
f53b8c1a27 [java][jenkins] ensure that JDK8 is in PATH 2016-03-21 14:42:58 -07:00
spalger
6ee704772d [java] use jdk8 on jenkins 2016-02-05 17:31:32 -07:00
Jonathan Budzenski
cca8c1a919 [build] Set os-packages flag on jenkins 2016-02-03 20:42:59 -06:00
Jonathan Budzenski
4f827c83fa [build] Only build on core 2016-01-20 12:21:35 -06:00
Jonathan Budzenski
24749258db [build] Create os packages on jenkins 2016-01-20 12:04:50 -06:00
Matt Bargar
03e109f753 Use esvm to start and stop elasticsearch for all tests that need it 2015-09-10 14:57:54 -04:00
spalger
8b37a1fc23 [jenkins] build snapshots as the final task of core jobs 2015-08-18 19:26:15 -07:00
spalger
f9897a3773 added grunt tasks for jenkins and travis 2015-07-28 09:45:10 -07:00