Commit graph

85 commits

Author SHA1 Message Date
Court Ewing
694eda8fb7 Use x86_64 in build name instead of x64
For consistency with the other projects for the unified release process.
2016-07-20 10:37:01 -04:00
Jonathan Budzenski
144a40b780 [build] Remove user before group 2016-07-07 15:40:18 -05:00
Jonathan Budzenski
b54ef4ed00 [build] Ensure group kibana is added, stricter user creation 2016-07-07 14:28:51 -05:00
Court Ewing
ac4018871d Merge pull request #7495 from epixa/urp
Consistent build archives
2016-07-06 18:39:36 -04:00
Court Ewing
c00e49dd06 internal: Cleanup code in _build:archives task
This just a code cleanup - there are no functional changes to this task.
2016-07-05 21:20:48 -04:00
Court Ewing
2f2742e11b Consistent build archives
We do not release zip archives for any operating system except windows,
and we do not release tar.gz archives for windows. For consistency and
clarity sake, we'll explicitly list the architecture (x86) of the
windows build as well.
2016-07-05 21:19:06 -04:00
Jonathan Budzenski
03866c1292 [build] update pleaserun path to be compatible with 0.0.22+ 2016-07-05 16:30:46 -05:00
Jonathan Budzenski
a30cae3316 [folder structure] plugins/.data -> data 2016-07-05 14:06:16 -05:00
Jonathan Budzenski
28f30f8b73 [folder structure] installedPlugins -> plugins 2016-07-05 14:05:59 -05:00
Jonathan Budzenski
f781c80358 [build] Add package log path 2016-06-30 11:12:19 -05:00
Jonathan Budzenski
62f258b83c Merge pull request #7457 from jbudz/issues/7157
[build] Add data directory for plugins
2016-06-21 07:45:25 -05:00
Court Ewing
c550bbcc95 Build artifact names for unified release process
These changes are necessary for Kibana to be compatible with Elastic's
unified release process from 5.0 onward. The way artifacts get created
has not changed, but the naming conventions have.
2016-06-16 16:47:02 -04:00
Jonathan Budzenski
5b19534314 [build] Add data directory that plugins can write to. Closes #7157 2016-06-16 10:14:27 -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
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
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
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