Commit graph

400 commits

Author SHA1 Message Date
Court Ewing 9d79d8bc63 build: remove deepModules hackery (#9327)
The deepModules hacks in the build system were added to support the long
paths that resulted from npm2, but npm3 fundamentally addresses that
problem, so deepModules is no longer necessary. In practical terms, npm3
shouldn't ever cause path lengths to become so long that they trigger
path length problems on certain operating systems.
2016-12-01 19:52:37 -05:00
Spencer c5ae40ca5d [server/logger] downgrade EPIPE errors to debug level (#9023)
* [server/logger] downgrade EPIPE errors to debug level

* fix variable naming
2016-11-10 19:25:19 -07:00
Jonathan Budzenski 090f74941c [license] Fix amdefine check (#8935) 2016-11-02 12:50:00 -04:00
Peter Pisljar 9b5a96e034 [build] Check SHA sum of downloaded node package (#7746)
* fix #7136 - check SHA of downloaded node binaries
* skips download if --skip-node-download cli argument is present
2016-10-29 17:10:46 +02:00
spalger ea303935a1 [tests/functional] auto-rebuild assets in test:ui:server task
While working on some functional tests I had to re-run the `test:ui:server` task several times to rebuild the front-end assets. I'm not sure why that should be necessary, so this updates the server used in that specific task to auto-rebuild the assets.
2016-09-19 13:16:39 -07:00
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
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
Rashid Khan 91dab7402f Add license override for bytes@1.0.0 2016-08-12 15:00:20 -07: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
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
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
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
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 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 81efe3b734 [folder structure] src/plugins -> src/core_plugins 2016-07-05 14:06:43 -05:00
Jonathan Budzenski 28f30f8b73 [folder structure] installedPlugins -> plugins 2016-07-05 14:05:59 -05:00
Jonathan Budzenski f781c80358 [build] Add package log path 2016-06-30 11:12:19 -05: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
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 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 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
Jonathan Budzenski 5b19534314 [build] Add data directory that plugins can write to. Closes #7157 2016-06-16 10:14:27 -05:00
Court Ewing 6b98215833 Merge pull request #7477 from epixa/SNAPSHOT
Uppercase -SNAPSHOT on snapshot builds
2016-06-16 08:02:15 -04:00
Court Ewing 7eaa1915f4 Uppercase -SNAPSHOT on snapshot builds
This is consistent with other Elastic projects.
2016-06-15 18:33:04 -04:00
LeeDr bfcb875c77 Merge master 2016-06-15 11:29:23 -05:00
Jonathan Budzenski b32949dfcd Merge pull request #7387 from jbudz/issues/6728
[packages] Set publish prefix kibana/major_version.x
2016-06-15 09:56:00 -05:00
Jonathan Budzenski 29e26de7e2 [build] Cleanup dirs on uninstall 2016-06-14 15:46:31 -05:00
Court Ewing dbfee59b66 Merge pull request #7317 from epixa/newbuild
Apply -snapshot suffix during build task
2016-06-14 16:25:39 -04:00
CJ Cenizal 9e353fd451 Add visual regression screenshot gallery.
- Add 'test:visualRegression' grunt task.
- Run 'test:visualRegression' as part of npm script 'test'.
- Add 'clean:screenshots task'.
- Clean screenshots/session when funtional tests are run.
2016-06-14 08:33:45 -07:00
LeeDr 01255ee4d4 Re-implement most of PR #7024 switch to Chrome browser 2016-06-13 16:03:40 -05:00
Jonathan Budzenski 41004fda0f [docs] Update package version 2016-06-13 11:29:06 -05:00
Jonathan Budzenski 9d809f3aea [packages] Set publish prefix kibana/major_version.x 2016-06-13 08:53:55 -05: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
Matthew Bargar a0915145dd Merge branch 'master' into feature/ingest 2016-06-10 16:27:42 -04:00
Jonathan Budzenski 8f0be48768 [build] consolidate package config 2016-05-27 10:34:47 -05:00
Matthew Bargar 02f24b176b Merge branch 'master' into feature/ingest 2016-05-24 17:22:14 -04:00
Jonathan Budzenski 032de94fe2 [build] Check for release files after build task 2016-05-19 13:17:05 -05:00
Jonathan Budzenski d0c835d172 [build] Release packages to s3 2016-05-19 10:27:48 -05:00
Court Ewing 173a217a9d Merge pull request #6676 from jbudz/build-packages
[grunt] Publish packages
2016-05-19 11:10:13 -04:00