Commit graph

706 commits

Author SHA1 Message Date
Rashid Khan
13da673bc8 Merge branch 'master' of github.com:elastic/kibana into migrate/timelion 2016-09-02 12:47:19 -07:00
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
Rashid Khan
1c47159939 Merge branch 'master' of github.com:elastic/kibana into migrate/timelion 2016-08-29 09:09:01 -07:00
Tyler Smalley
ad97552c03 Upgrade to Node 6.4.0
* Updated dependencies to include graceful-fs ~4.0
* Replaced deprecated grunt-s3 package with suggested grunt-aws-s3
* Update licenses task to better support npm 3

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2016-08-25 08:40:14 -07:00
Spencer
aa20d83063 Merge pull request #8036 from spalger/fix/testDevOptimizeDir
[dev] write test:dev optimize output to its own dir
2016-08-24 10:59:19 -07:00
spalger
51ea45cd37 [dev] write test:dev optimize output to its own dir
Currently, `npm start` and `npm run test:dev` use the same webpack "working directory". This allows them to share assets, which seems great, but when webpack writes it's record-keeping files to disk it can lead to difficult to debug "Property call of undefined is not a function" errors. By writing it's optimization output to a different directory we prevent those collisions so that both the test server and the dev server can be run side-by-side
2016-08-19 17:15:06 -07:00
Jonathan Budzenski
71b3f58551
[build] Sign debs with sha512 2016-08-15 10:32:22 -05:00
Rashid Khan
91dab7402f Add license override for bytes@1.0.0 2016-08-12 15:00:20 -07:00
Jonathan Budzenski
7cf64c75a5
Bump marked 2016-07-27 08:54:33 -05:00
Tyler Smalley
47ca9b875f Merge pull request #7842 from tylersmalley/jenkins-licenses
Adds license check to jenkins:unit
2016-07-26 14:14:35 -07:00
Jonathan Budzenski
717589e1b9 Merge pull request #7571 from jbudz/publish-staging
[build] Include full version in staging package prefix, set productio…
2016-07-26 10:06:21 -05: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
Court Ewing
2b842b0904 Remove rebuild task
This is a manual revert of 28aa6c9, which is not very useful with the
new build tasks, completely brittle, and a flawed idea from the start. I
regret having written it.
2016-07-22 16:40:06 -04:00
Jonathan Budzenski
9c37542179 [build] Include full version in staging package prefix, set production prefix separately 2016-07-21 21:27:42 -05:00
Court Ewing
694eda8fb7 Use x86_64 in build name instead of x64
For consistency with the other projects for the unified release process.
2016-07-20 10:37:01 -04:00
Jonathan Budzenski
b053aad5df [tests] Rename apps option to appSuites so we don't override the intern.apps object 2016-07-19 17:08:01 -05:00
Jonathan Budzenski
5ef2a9715c [tests] Add intern functional suites option 2016-07-19 15:35:07 -05:00
Jonathan Budzenski
e4b584256d [tests] Add ui test application filtering 2016-07-19 15:30:25 -05:00
Jonathan Budzenski
397d39d246 [tests] Pass grep option to grunt intern 2016-07-19 09:44:24 -05:00
Jonathan Budzenski
144a40b780 [build] Remove user before group 2016-07-07 15:40:18 -05:00
Jonathan Budzenski
b54ef4ed00 [build] Ensure group kibana is added, stricter user creation 2016-07-07 14:28:51 -05:00
Nicolás Bevacqua
05f6a56f34 Merge pull request #7374 from bevacqua/feature/config-get
Added .get, renamed .getAll as .getRaw, added new .getAll method
2016-07-07 15:53:03 -03:00
Court Ewing
ac4018871d Merge pull request #7495 from epixa/urp
Consistent build archives
2016-07-06 18:39:36 -04:00
Nicolás Bevacqua
7e191b82dd [fix] @spalger identified as NSA mole. Run server-side tests in src/ui directory. 2016-07-06 15:14:25 -03:00
Court Ewing
c00e49dd06 internal: Cleanup code in _build:archives task
This just a code cleanup - there are no functional changes to this task.
2016-07-05 21:20:48 -04:00
Court Ewing
2f2742e11b Consistent build archives
We do not release zip archives for any operating system except windows,
and we do not release tar.gz archives for windows. For consistency and
clarity sake, we'll explicitly list the architecture (x86) of the
windows build as well.
2016-07-05 21:19:06 -04:00
Jonathan Budzenski
03866c1292 [build] update pleaserun path to be compatible with 0.0.22+ 2016-07-05 16:30:46 -05:00
Jonathan Budzenski
81efe3b734 [folder structure] src/plugins -> src/core_plugins 2016-07-05 14:06:43 -05:00
Jonathan Budzenski
a30cae3316 [folder structure] plugins/.data -> data 2016-07-05 14:06:16 -05:00
Jonathan Budzenski
28f30f8b73 [folder structure] installedPlugins -> plugins 2016-07-05 14:05:59 -05: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
Spencer
46c1118e30 Merge pull request #7604 from spalger/implement/versionedCiScript
[ci] split unit and selenium tasks into separate jenkins scripts
2016-07-01 11:51:46 -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
Jonathan Budzenski
f781c80358 [build] Add package log path 2016-06-30 11:12:19 -05:00
CJ Cenizal
9a242cf8f5 Merge pull request #7529 from cjcenizal/7523/visual-regression-visualize
Create visual_regression test suite.
2016-06-22 07:22:56 -07:00
CJ Cenizal
37f82f146f Create visual_regression test suite.
- Add test:visualRegression npm script.
- Split up test:visualRegression grunt task into takeScreenshots and buildGallery subtasks.
- Add intern_visual_regression.js test file.
- Rename api_itern.js -> intern_api.js for consistency.
- Refactor delayed exports logic for readability.
- Refactor common.js page object to use ES2015 Class.
2016-06-21 20:50:55 -07:00
CJ Cenizal
6d6ab4ab5e Log dependency path info in licenses grunt task.
- Now you'll see a path of the parent dependencies when a dependency fails to licenses task, so you can identify the offending root dependency.
- ES2015ify the licenses task.
2016-06-21 18:55:54 -07:00
CJ Cenizal
5caa6c0626 Merge pull request #7515 from cjcenizal/grunt/visual-regression-subtask
Move visualRegression subtask from npm scripts to grunt task.
2016-06-21 12:03:24 -07:00
CJ Cenizal
ca9b085ef0 Remove test:visualRegression from test npm script.
- Add it to end of test grunt task.
2016-06-21 11:23:40 -07:00
Jonathan Budzenski
62f258b83c Merge pull request #7457 from jbudz/issues/7157
[build] Add data directory for plugins
2016-06-21 07:45:25 -05:00
Matt Bargar
15a4fa1cdd Merge pull request #7372 from elastic/feature/ingest
Add Data - CSV
2016-06-17 16:23:46 -04:00
Lee Drengenberg
e2ff6bb7a5 Merge pull request #7442 from LeeDr/runTestsOnChrome
Re-implement most of PR #7024 switch to Chrome browser
2016-06-17 15:06:40 -05:00
Court Ewing
1e2c953f16 Release task now always publishes to staging
Production builds should never be published directly from a local
machine. Instead, the release command will now publish to a
commit-specific staging URL, so you use it to publish a release
candidate, and then when those builds have been verified, you need to
copy the RC builds from on the staging location on s3 to the production
folder.
2016-06-17 14:26:08 -04:00
Court Ewing
c550bbcc95 Build artifact names for unified release process
These changes are necessary for Kibana to be compatible with Elastic's
unified release process from 5.0 onward. The way artifacts get created
has not changed, but the naming conventions have.
2016-06-16 16:47:02 -04:00
LeeDr
ae56c13583 merge master 2016-06-16 13:54:01 -05:00
Matthew Bargar
b853d89139 Merge branch 'master' into feature/ingest 2016-06-16 14:23:12 -04:00
Matthew Bargar
0065fbaa9b Merge branch 'master' into feature/ingest
Resolved conflicts, still need to move around some add data files.
2016-06-16 12:57:29 -04:00