Commit graph

652 commits

Author SHA1 Message Date
LeeDr ae56c13583 merge master 2016-06-16 13:54:01 -05:00
Court Ewing f6196cf662 Target directory created from config value
The target directory was being created based on a hardcoded string
rather from the target directory configuration value.
2016-06-16 10:36:06 -04:00
Court Ewing 3d546336b1 Build task for creating os packages creates target
The target directory is created by the archives task, but it is not
created by the ospackages task, so if you do not have a target
directory and try to skip archives, the build will fail.
2016-06-16 10:18:40 -04: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 314e095441 Merge pull request #7422 from jbudz/package-dirs
[build] Cleanup dirs on uninstall
2016-06-15 09:24:02 -05:00
Jonathan Budzenski bd3cca9efa Merge pull request #7431 from jbudz/issues/7430
[build] Set init description to kibana
2016-06-15 09:22:32 -05:00
Jonathan Budzenski 83681d980d [build] Include babelcache so it can be chowned to kibana user 2016-06-15 07:44:12 -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
Jonathan Budzenski b956a0b938 [build] Set init description to kibana. Closes #7430 2016-06-10 14:53:48 -05:00
Jonathan Budzenski e1cb593ee6 [build] Add name and description to init scripts 2016-06-07 14:48:57 -05:00
Jonathan Budzenski 9213e61608 [build] template chown optimize dir 2016-05-27 10:34:47 -05:00
Jonathan Budzenski 6189c19de8 [build] Style cleanup 2016-05-27 10:34:47 -05:00
Jonathan Budzenski db5ac1e72f [build] Cleanup packages task 2016-05-27 10:34:47 -05:00
Jonathan Budzenski 8f0be48768 [build] consolidate package config 2016-05-27 10:34:47 -05:00
Jonathan Budzenski 6d293afbfb [build] move install to /usr/share, config to /etc/kibana 2016-05-27 10:34:47 -05:00
Jonathan Budzenski 4336f2bc8d [build] Add comment in postrm explaining empty cases 2016-05-27 10:34:25 -05:00
Jonathan Budzenski bab73b8971 [build] Cleanup postrm 2016-05-27 10:34:25 -05:00
Jonathan Budzenski f9033a1c6e [build] Fail on errors 2016-05-27 10:34:25 -05:00
Jonathan Budzenski 6c6e4d31ff [build] Attempt to stop service pre-install 2016-05-27 10:34:25 -05:00
Jonathan Budzenski 83c580298f [build] Try service kibana stop before init script 2016-05-27 10:34:25 -05:00
Jonathan Budzenski 07618c3964 [build] Recursive chown optimize folder 2016-05-27 10:34:25 -05:00
Jonathan Budzenski d9a84b2f03 [build] Run as group kibana 2016-05-27 10:34:25 -05:00
Jonathan Budzenski 53871671e2 [build] template user in install/remove scripts 2016-05-27 10:34:25 -05:00
Jonathan Budzenski 08c9897986 [build] Commit install/remove scripts instead of generating, stop service before removing 2016-05-27 10:34:25 -05: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
Court Ewing 28aa6c9b9c [grunt] Task to rebuild archives with new version
This is useful for when a pre-release build is completely tested and
could be released as-is if it weren't for the pre-release suffix and
commit hash. It will extract the archives in the target, replace the
version, sha, and build numbers with the current working copy's, and
then recreate the archives and shas.
2016-05-17 15:30:25 -04:00
Lee Drengenberg b19cb6dbb3 Merge pull request #7141 from LeeDr/fix-build-windows-cygwin
Re-applied PR 6267 to master to fix Windows/cygwin build
Credit for this work goes to @repocho.  Thanks for getting Windows builds working!
2016-05-05 11:08:01 -05:00
LeeDr 203c7adadc Re-applied PR 6267 to master to fix Windows/cygwin build 2016-05-05 10:35:07 -05:00
Rashid Khan fb8b2a45cc Merge branch 'master' of github.com:elastic/kibana into fix/licenses 2016-05-02 09:56:05 -07:00
Rashid Khan 412b711a19 Add the license check back 2016-05-02 09:55:55 -07:00
Tyler Smalley 5ae32d1930 Revert "Limit memory overhead" 2016-04-28 15:13:41 -07:00
Spencer b5e61dcbef Merge pull request #7026 from spalger/fix/collectFilesToCommit
[grunt/collectFilesToCommit] fix the broken "pathsToIgnore" filter
2016-04-28 13:06:57 -05:00
Jonathan Budzenski f3cd91a0d0 [build] Keep process env variables, re-add done 2016-04-27 17:23:13 -05:00
Tyler Smalley 0865c55e7d Limits memory usage
V8 will not trigger a full mark-sweep & mark-compact until there is memory pressure for the max-old-space-size, which is 1.6GB on a 64bit system. This means that Kibana will, at times, consume over 1.6GB of RSS memory.

Bypassing this can be done by starting with `--dev` or explicitally setting `max-old-space-size`. For example: `NODE_OPTIONS="--max-old-space-size=1024" ./bin/kibana`

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2016-04-26 13:44:42 -07:00
Jonathan Budzenski 86269bca6d [build] Pass env variables to rpm-s3 2016-04-22 15:12:29 -05:00
Jonathan Budzenski 51e8633a4d [build] Move signing config to a file 2016-04-22 15:02:53 -05:00
spalger 45087dad0f [grunt/collectFilesToCommit] fix the broken "pathsToIgnore" filter
In 180aacd470 a "pathsToIngore" filter was introduced that didn't work properly and caused all paths to be ignored. This behavior was likely intended to prevent snake_case filename checking on files in the webpackShims directory but that is being properly handled by [check_added_filename](8f9ec7d932/tasks/check_added_filenames.js (L11)).
2016-04-22 10:39:34 -05:00
LeeDr 4002140a9c Add selenium-server-standalone jar md5. 2016-04-06 08:46:17 -05:00
LeeDr 431fe52cec Update downloadSelenium to match version in intern.js. 2016-04-06 07:36:06 -05:00