Commit graph

449 commits

Author SHA1 Message Date
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
Joe Fleming
2d43d1cbe9 syntax change, output staged file count 2015-08-13 13:21:04 -07:00
Joe Fleming
ff9b273a2b fix eslint pattern fetch, fatal if missing 2015-08-13 13:15:04 -07:00
spalger
5fb9bbae69 [package.json] clear out old packages and move dev packages into place 2015-08-13 10:24:22 -07:00
spalger
2f416a5ad2 simplify elasticsearch proxy creation to prevent a bug that creates a .kibana type 2015-08-12 17:26:07 -07:00
spalger
7671fc689a ensure that current buildSha and buildNum are read into config 2015-08-11 15:32:13 -07:00
spalger
a016f536ca use fs optimizer in test server 2015-08-11 14:22:58 -07:00
spalger
1c0720a9e5 goodbye mocha timeouts 2015-08-09 23:19:11 -07:00
spalger
41ab3824a9 improve karma support 2015-08-08 22:38:14 -07:00
spalger
cd5b6656aa fixed the test bundling 2015-08-07 11:49:56 -07:00
spalger
e63800ed71 wait for optimization to complete before considering the dev server ready 2015-08-03 11:37:57 -07:00
spalger
e977e642d5 switch from eslint cli to gruntify-eslint 2015-08-03 09:35:31 -07:00
Rashid Khan
79dcc9acf0 add jscs rules to eslint 2015-08-01 14:46:53 -07:00
Rashid Khan
9d4de5e87a Revert "add jscs rules to eslint"
This reverts commit cfde0e5a01.
2015-08-01 14:34:36 -07:00
spalger
cfde0e5a01 add jscs rules to eslint 2015-07-31 19:50:47 -07:00
spalger
e0d78a8475 switch to eslint 2015-07-31 17:16:09 -07:00
spalger
e70987a28a destructuring assignment ftw 2015-07-31 00:02:37 -07:00
spalger
09875a0fa1 move default buildNum and version into config 2015-07-29 13:07:50 -07:00
spalger
f9897a3773 added grunt tasks for jenkins and travis 2015-07-28 09:45:10 -07:00
spalger
6e03b58665 switch to dots reporter in grunt 2015-07-28 06:45:06 -07:00
spalger
5705f1a5d1 update auto-release-sinon 2015-07-27 18:17:54 -07:00
spalger
992e3968a7 karma config for travis 2015-07-27 17:39:46 -07:00
spalger
0f6d59e258 remove license checking from test script 2015-07-27 17:34:33 -07:00
spalger
7fe7ff5fc1 mocha => karma 2015-07-27 17:24:07 -07:00
spalger
cfc398b37d remove bower, nice people matter 2015-07-27 17:13:45 -07:00
spalger
1e555c5961 switch to Karma, now the tests pass with Grunt 2015-07-27 10:53:24 -07:00
spalger
2905b795ab relocated some tests, fixed others, moved more modules to CamelCase names, and shortened many module ids 2015-07-27 03:54:08 -07:00
spalger
2bcf846993 get the server tests passing again 2015-07-26 10:05:57 -07:00
spalger
b2246da3f1 fixed lots of dep issues in tests 2015-07-26 03:03:24 -07:00
spalger
68247c92cf lean on metaLibs using ui/modules for angular-module injection 2015-07-21 19:41:49 -07:00
spalger
450cf58dd8 update licenses 2015-07-21 13:15:25 -07:00
spalger
15864363d5 It has been a while.. sorry 2015-07-20 15:29:48 -07:00
spalger
844f2d602c moved tests next to related source files 2015-07-16 01:27:52 -07:00
spalger
ffc4f3d7e5 flatten the ui directory a bit, shorten module ids 2015-07-15 23:25:46 -07:00
spalger
900126541c clean up old grunt tasks 2015-07-15 22:15:56 -07:00
spalger
2093bf4345 added new node-libs-browser dep to license config 2015-07-15 14:56:16 -07:00
spalger
93c8ab9d97 Merge branch 'master' of github.com:elastic/kibana into apps/home 2015-07-15 14:48:55 -07:00
spalger
d92459d36c [licenses] update overrides, drop unused module 2015-07-14 15:55:58 -07:00
Spencer Alger
22fb1e5a96 Merge branch 'feature/3270/statusPage' of github.com:panda01/kibana into apps/home 2015-07-13 16:55:12 -07:00
Spencer Alger
0d4ebcb072 license has updated, but the licenses are the same 2015-07-12 20:37:40 -07:00
Khalah Jones-Golden
23a22d5aae [Merge] Merged with latest master 2015-07-10 11:26:07 -04:00
Khalah Jones-Golden
0936b0340c [Status] Fixed some bugs, moved some things around generally improved code, Also fixed watch task for status plugin css 2015-07-10 11:14:09 -04:00
Spencer Alger
382598fada split dev server in two, preventing server source file from forcing webpack rebuilds 2015-07-10 06:20:03 -07:00
Spencer Alger
e809f4b718 Merge branch 'master' of github.com:elastic/kibana into apps/home 2015-07-09 20:18:26 -07:00
Spencer Alger
5a5e6fae55 Merge branch 'master' of github.com:elastic/kibana into feature/3270/statusPage 2015-07-09 19:24:04 -07:00
Spencer Alger
f621a42368 fix styles, time to begin finding bugs 2015-07-07 19:32:48 -07:00
Spencer Alger
522a00ec5d building is mostly stable, less is improving, initial cached building added 2015-07-06 20:49:41 -07:00
Spencer Alger
40536fe053 Merge branch 'master' of github.com:elastic/kibana into apps/home 2015-06-30 05:13:28 -07:00
Spencer Alger
844b95c932 initial webpack implementation 2015-06-30 05:12:56 -07:00
Spencer Alger
1ed3cbbfcb Update license-checker, override amdefine
The amdefine module was updated to use a newish license syntax that license-checker doesn't seem to support yet. In order to prevent invalid failures I've added an override that will keep things functioning for now.

(cherry picked from commit 6dd8aae1c5)
2015-06-29 11:20:47 -07:00
Rashid Khan
7efd5dbaa6 Use --debug instead of --verbose 2015-06-26 12:16:58 -07:00
Spencer Alger
3ceaf12216 unwrap ui source 2015-06-25 16:00:20 -07:00
Spencer Alger
0edf82145c defaultRoute implemented, redirect when missing a slash 2015-06-25 15:44:06 -07:00
Rashid Khan
81b5197bee Make licenses task take --verbose 2015-06-25 14:24:52 -07:00
Spencer Alger
91f0e125e8 fix status and devServer grunt tasks 2015-06-25 13:40:15 -07:00
Spencer Alger
2181f32a3b fix less building 2015-06-25 10:31:50 -07:00
Khalah Jones-Golden
4595f4b267 [Status] Fixed a bug with the time on tooltip, changed watch config 2015-06-25 11:50:46 -04:00
Khalah Jones-Golden
da2287bdf6 [Licenses] Updated licenses for the weird variation for angular-nvd3 2015-06-25 11:23:09 -04:00
Khalah Jones-Golden
61193f893c [Status] Some code cleanup, added server less to watch adnd less, adjsted some css for proper display, updated code to work again 2015-06-25 11:12:18 -04:00
Khalah Jones-Golden
270cd5c659 Merge remote-tracking branch 'upstream/master' into feature/3270/statusPage 2015-06-25 08:47:44 -04:00
Spencer Alger
8d2e8816dc [server] work out plugin organization, and app declaration 2015-06-24 23:47:19 -07:00
Spencer
9ae53c3715 Disable marvel and refresh master on restart
Since marvel doesn't currently work with es 2.0 I'm disabling the plugin and adding `fresh: true` so that every time the esvm task is run it will refresh our master build.
2015-06-23 11:44:49 -07:00
Chris Cowan
c6b98b3714 Moving esvm to branch:master to pickup ES 2.0 2015-06-23 10:01:44 -07:00
Khalah Jones-Golden
ee53512d83 [bower] Put the proper packages for nvd3 and the like, also disabled licenses, for now. 2015-06-21 11:05:01 -04:00
Spencer Alger
dddfb802c2 Merge branch 'master' of github.com:elastic/kibana into update/lodash 2015-06-19 10:54:22 -07:00
Spencer
9c3784ef03 Merge pull request #4245 from spalger/fix/server-debug-mode
Fix/server debug mode
2015-06-18 07:27:20 -07:00