Commit graph

915 commits

Author SHA1 Message Date
Court Ewing
e2dd40e965 Remove package.json dependencies during build
The kibana app itself requires that package.json exist, so removing it
entirely from distributions is a no go. Instead, we remove only the
dependencies themselves from the package.json so people do not try to
reinstall dependencies on an official distribution.
2015-09-18 14:23:24 -04:00
Jonathan Budzenski
bb85a6c244 Merge branch 'master' into functional-testing 2015-09-18 09:09:14 -05:00
Boaz Leskes
bf59783a4b remove some unused files 2015-09-18 13:12:38 +02:00
Spencer
1bcd867f49 Merge pull request #4916 from Bargs/esvmForAllTests
Use esvm to start and stop elasticsearch for all tests that need it
2015-09-17 15:40:39 -07:00
Court Ewing
8161788eac Remove npm shrinkwrap tasks
We're not maintaining the shrinkwrap as part of the repo, and it doesn't
add any value when being generated automatically as part of our build
process. In its current form, it actually makes it so we cannot
successfully create new builds without manually setting up a local
shrinkwrap first.
2015-09-17 17:57:46 -04:00
Court Ewing
690d204b28 Create shrinkwrap from build
The npm shrinkwrap that we generate during build in order to package
with distributions is now properly created based on the built
dependencies rather than the local dev install.
2015-09-17 16:28:27 -04:00
Jonathan Budzenski
15f6275bd3 [functional testing] Always check selenium hash 2015-09-17 11:56:36 -05:00
Jonathan Budzenski
f611c44af4 [functional testing] Cleanup before going to next task 2015-09-17 11:23:32 -05:00
Jonathan Budzenski
ca81d4b777 [functional testing] Use grunt-run with selenium 2015-09-15 16:26:04 -05:00
Rashid Khan
b7e667df76 Revert npm3, go back to npm2 2015-09-14 13:39:17 -07:00
Jonathan Budzenski
a47725ab91 [functional testing] Use wreck 2015-09-14 14:09:50 -05:00
Jonathan Budzenski
5ae159d6b7 [functional testing] Use sync methods 2015-09-14 10:18:31 -05:00
Jonathan Budzenski
6d44d2e9ef [functional testing] Move task defaults to configs 2015-09-14 09:17:41 -05:00
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