Commit graph

110 commits

Author SHA1 Message Date
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
Court Ewing
173a217a9d Merge pull request #6676 from jbudz/build-packages
[grunt] Publish packages
2016-05-19 11:10:13 -04:00
LeeDr
203c7adadc Re-applied PR 6267 to master to fix Windows/cygwin build 2016-05-05 10:35:07 -05:00
Jonathan Budzenski
5b3e178976 [build] Set group kibana 2016-03-28 11:09:13 -05:00
Jonathan Budzenski
b0dd6706d5 [build] Build i386 2016-03-28 11:09:13 -05:00
Jonathan Budzenski
ac2ae334fc [build] sha1 packages 2016-03-28 11:09:13 -05:00
Nicolas Bevacqua
849a499771 [hotfix/build] Fix a bug where removing a directory failed under Linux systems 2016-03-18 13:55:00 -03:00
Nicolas Bevacqua
79739ab5ce Ignore OS-specific files in other operating systems. Fixes #4460 2016-03-17 21:05:15 -03:00
spalger
af9ebba958 [rename] hunt down remaining non-snake path refs 2016-02-24 14:18:21 -08:00
spalger
2422a988e5 [rename] rename all files to snake_case 2016-02-24 12:14:05 -08:00
Jonathan Budzenski
93b891b5de Merge pull request #6133 from jbudz/issues/6117
[packages] Set metadata
2016-02-08 10:49:34 -06:00
Jonathan Budzenski
d64ca9c35b [packages] Add www to metadata url 2016-02-08 09:17:59 -06:00
Jonathan Budzenski
f59443316e [packages] Set deb-priority to optional 2016-02-05 12:32:16 -06:00
Jonathan Budzenski
ad2f9b4ba6 Merge pull request #6114 from jbudz/snapshots
[build] Set os-packages flag on jenkins
2016-02-04 15:03:52 -06:00
Jonathan Budzenski
41d3333316 [packages] Add url, maintainer, vendor, license metadata 2016-02-04 13:39:04 -06:00
Jonathan Budzenski
a2b99c44f3 [packaging] Escape spaces instead of quoting description 2016-02-04 09:30:56 -06:00
Jonathan Budzenski
cca8c1a919 [build] Set os-packages flag on jenkins 2016-02-03 20:42:59 -06:00
Jonathan Budzenski
34b9a7379a [packaging] Add description 2016-02-03 19:20:17 -06:00
Spencer
94a10efaa3 Merge pull request #5951 from jbudz/issues/5799
[build] Create os packages on jenkins
2016-02-01 15:30:20 -07:00
spalger
758c59710d [eslint] avoid https://github.com/babel/babel-eslint/issues/245 2016-02-01 13:16:59 -07:00
Jonathan Budzenski
24749258db [build] Create os packages on jenkins 2016-01-20 12:04:50 -06:00
Jonathan Budzenski
4bbee0a88b [packages] Add args for deb and rpm, remove pkg 2015-12-29 15:35:19 -06:00
Jonathan Budzenski
04f886e852 [packges] Remove osx package 2015-12-29 14:25:58 -06:00
Jonathan Budzenski
9a19b978ba [packages] Copy files when making os packages 2015-12-28 11:51:45 -06:00
Jonathan Budzenski
3b992d66c5 [packages] Change optimize folder owner to kibana after install 2015-12-28 11:51:08 -06:00
stdweird
8aac131aee pleaserun: use the userScriptsDir grunt config variable (as defined/used in osPackages)
Fixes #5322
2015-12-28 17:28:25 +00:00
stdweird
eb919f77a8 osPackage: let fpm handle systemd units
Fixes #5322
2015-12-28 17:28:25 +00:00
spalger
5a72e17299 Merge branch 'preventHomeDirAccess' 2015-11-06 16:56:12 -06:00
Court Ewing
d5025bb853 Include node engine version in build manifests 2015-11-06 12:02:22 -05:00
spalger
ed99db7ada [build] babel requires the directory containing the cache exist 2015-11-04 11:10:39 -06:00
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
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
Rashid Khan
b7e667df76 Revert npm3, go back to npm2 2015-09-14 13:39:17 -07: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
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
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