Commit graph

852 commits

Author SHA1 Message Date
Jonathan Budzenski
a77b962834 Merge branch 'master' into functional-testing 2015-09-11 16:22:18 -05:00
Jonathan Budzenski
49c856712c [functional testing] Add dev mode 2015-09-11 14:08:35 -05:00
Matt Bargar
f9f0a9f163 give the test config its own esvm directory that it can purge as much as it likes 2015-09-10 19:44:56 -04: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
Jonathan Budzenski
d6c9019be5 [functional testing] Cleanup, run from npm test 2015-09-09 14:57:51 -05:00
Jonathan Budzenski
32d199efce [functional testing] Add fixture 2015-09-08 13:26:19 -05:00
spalger
8aa0287dd7 [build] expose build specific babel config
During build we transpile the server source to prevent runtime transpilation with babel/register. In order to support untranspiled plugin code, we still use babel/register with special ignore options, which used to be included in cli/index.js and now is moved to src/optimize/babelOptions.js so other code that wants to initialize a server (without the cli) can also configure babel/register.
2015-09-07 17:22:42 -07:00
spalger
0f4fe22252 [build/shrinkwrap] apparently it is loglevel 2015-09-07 17:03:04 -07:00
Jonathan Budzenski
71dd15ca22 [functional testing] Load webdriver 2015-09-04 14:11:28 -05:00
spalger
3672ac5ebf [esvm] test against es 2.0 2015-09-03 16:28:31 -07:00
Jonathan Budzenski
83a582cdbe [functional testing] Load fixtures 2015-09-03 13:39:26 -05:00
Jonathan Budzenski
76d60aec9e [functional testing] Start new instance of kibana 2015-09-02 14:56:07 -05:00
Jonathan Budzenski
0d53f5ee13 [functional testing] Start new instance of es 2015-09-02 14:55:41 -05:00
Jonathan Budzenski
7b8374b7c8 Add intern task to grunt and associated npm script 2015-09-02 14:07:20 -05:00
Joe Fleming
4463355c8f Merge pull request #4815 from spalger/node/downgradeTo012
[node] downgrade to 0.12.7
2015-09-01 14:49:22 -07:00
spalger
af2c09edbb [build] prevent massive warnings in build
Since npm is creating a shrinkwrap file that ignores devDeps it logs a huge number of warnings, and since these warnings are logged to stderr they are not hidden by exec.silent(). This changes the logLevel to "error" for these commands and removes the `.silent()` call so that it is clear what is happening
2015-09-01 09:06:28 -07:00
spalger
708f1f1a25 [node] downgrade to 0.12.7
While working to reintroduce shrinkwrap into our workflow it became
apparent that we needed to be using npm3 but unfortunately node-gyp
is not compatible with iojs, and the iojs distros actually contain a
patched version. This means that you can only use iojs with the npm
it ships with.

When trying to find a solution for this issue, we contemplated not
using npm3, but that would mean that we can't use npm-shrinkwrap and
decided that since we are using babel anyway that switching back to
node was the best option.

The only code that must be updated to work in the new node 0.12 env
is lodash templates that use the template string syntax inside their
source (Since 0.12 does not support template strings).
2015-08-31 21:58:46 -07:00
spalger
fa35652bd8 [babel] configure babel to use native generators in node 2015-08-27 19:06:50 -07:00
Joe Fleming
3b18afee8f use exec.silent so npm errors are not swallowed 2015-08-27 09:32:51 -07:00
Joe Fleming
62df5a19c6 proper shrinkwrap in build and release
build will create it if it's missing, copy it to the build and also create a version without dev deps
release requires it and fatals if it doesn't exist

Conflicts:
	tasks/build/index.js
2015-08-26 18:41:37 -07:00
Joe Fleming
8918f26e21 clearer task naming 2015-08-26 18:41:03 -07:00
spalger
694ab70cbe Merge branch 'master' of github.com:elastic/kibana into implement/npm3 2015-08-26 17:12:19 -07:00
spalger
af3387442d [build] ☝️ include webpackShims in build 2015-08-26 17:05:54 -07:00
spalger
faa1011bbd upgrade to npm 3.0 2015-08-26 16:36:19 -07:00
Jim Unger
85e3579105 Merge pull request #4742 from w33ble/test-coverage
Return of the test coverage
2015-08-26 11:51:02 -05:00
Joe Fleming
a395853f34 fix test server command for windows machines 2015-08-26 09:39:01 -07:00
Spencer
2f780507bf Merge pull request #4665 from spalger/chore/packageJsonUpkeep
[package.json] clear out old packages and move dev packages into place
2015-08-25 08:58:20 -07:00
Joe Fleming
2e3ba07774 generate the test coverage 2015-08-24 17:10:21 -07:00
Spencer
6525554a3d Merge pull request #4706 from spalger/implement/testingDocsAndHelpers
Testing docs and helpers
2015-08-19 13:14:24 -07:00
spalger
349ba49b95 [grunt/test] just use test:quick rather than relisting it 2015-08-19 13:13:16 -07:00
spalger
4fdb7c7853 Merge branch 'master' of github.com:elastic/kibana into chore/packageJsonUpkeep 2015-08-19 11:13:40 -07:00
spalger
1fa3210cba [build] hotfix for #4713 2015-08-18 23:39:15 -07:00
spalger
a27d7ba314 [build] remove the "bin" files for deep modules 2015-08-18 23:17:53 -07:00
spalger
8b37a1fc23 [jenkins] build snapshots as the final task of core jobs 2015-08-18 19:26:15 -07:00
spalger
e5390a66f0 [karma] move config into grunt task for client.mocha support 2015-08-18 15:36:00 -07:00
spalger
94b1de68a3 [grunt] broke test task into chunks, linked from package.json 2015-08-18 14:51:31 -07:00
spalger
38ff67b019 [grunt test] always start a new server for the tests, added test:dev task 2015-08-18 13:32:44 -07:00
spalger
e39a47e9bf [optimize] remove optimize.tests config, rely on optimize.bundleFilter instead 2015-08-18 13:30:45 -07:00
spalger
3d2812c13d [build] ship with the 32bit version of node on windows 2015-08-17 11:50:42 -07:00
spalger
1d40ed48a3 [build] drop the .node-version file 2015-08-14 16:28:18 -07:00
spalger
219c7a3b9e [build] allow installed plugins to use live compiled es7->es5 2015-08-14 16:20:48 -07:00
spalger
bc3529ec65 [build] move to absolute paths and improve fpm/pleaserun support 2015-08-14 13:27:41 -07:00
spalger
e1a04f9514 remove "build" task from jenkins script 2015-08-14 11:54:08 -07:00
spalger
552b824711 [build] finish updates 2015-08-14 11:53:26 -07:00
spalger
e4c4bcc513 [build] move some select node modules up in the tree to prevent paths over windows limit 2015-08-14 11:51:23 -07:00
spalger
4f8cad5a0d [webpack] switch to rjs-repack-loader for shorter id and smaller dep tree 2015-08-13 23:38:00 -07:00
spalger
afb283d1b5 [build] stick with grunt:task naming convention 2015-08-13 21:25:40 -07:00
spalger
ce366a06f4 [build] initial fix 2015-08-13 21:16:54 -07:00
spalger
ee83c4103c [build/downloadNode] async/await 2015-08-13 15:43:58 -07:00
spalger
073b6500c6 Merge branch 'master' of github.com:elastic/kibana into chore/packageJsonUpkeep 2015-08-13 15:28:21 -07:00