Commit graph

41 commits

Author SHA1 Message Date
Jonathan Budzenski
365096b05a
Backport PR #7855
---------

**Commit 1:**
Bump marked

* Original sha: 7cf64c75a5
* Authored by Jonathan Budzenski <jbudz@users.noreply.github.com> on 2016-07-21T18:44:47Z
* Committed by Jonathan Budzenski <jon@jbudz.me> on 2016-07-27T13:54:33Z
2016-07-27 15:12:01 -05:00
Elastic Jasper
de9f9424a1 Backport PR #7458
---------

**Commit 1:**
[build] Include babelcache so it can be chowned to kibana user

* Original sha: 83681d980d
* Authored by Jonathan Budzenski <jbudz@users.noreply.github.com> on 2016-06-14T21:48:41Z
2016-06-15 15:24:51 -04:00
Jonathan Budzenski
523892c3e9 Backport PR #6674 2016-06-09 10:54:48 -05:00
Elastic Jasper
a3cc3f253f Backport PR #6676
---------

**Commit 1:**
[build] sha1 packages

* Original sha: ac2ae334fc
* Authored by Jonathan Budzenski <jbudz@users.noreply.github.com> on 2016-03-09T21:03:09Z

**Commit 2:**
[build] Build i386

* Original sha: b0dd6706d5
* Authored by Jonathan Budzenski <jbudz@users.noreply.github.com> on 2016-03-09T21:40:16Z

**Commit 3:**
[build] Set group kibana

* Original sha: 5b3e178976
* Authored by Jonathan Budzenski <jbudz@users.noreply.github.com> on 2016-03-09T21:54:30Z

**Commit 4:**
[build] Add rpm, deb name and path

* Original sha: 6041ff8852
* Authored by Jonathan Budzenski <jbudz@users.noreply.github.com> on 2016-03-09T22:45:55Z

**Commit 5:**
[build] Add tasks for publishing rpm, deb packages

* Original sha: cde84ecb9a
* Authored by Jonathan Budzenski <jbudz@users.noreply.github.com> on 2016-03-10T23:35:56Z

**Commit 6:**
[build] Rename publish to publishPackages

* Original sha: da942d2f62
* Authored by Jonathan Budzenski <jbudz@users.noreply.github.com> on 2016-03-29T14:32:18Z

**Commit 7:**
[build] Move signing config to a file

* Original sha: 51e8633a4d
* Authored by Jonathan Budzenski <jbudz@users.noreply.github.com> on 2016-04-22T20:02:53Z

**Commit 8:**
[build] Pass env variables to rpm-s3

* Original sha: 86269bca6d
* Authored by Jonathan Budzenski <jbudz@users.noreply.github.com> on 2016-04-22T20:12:29Z

**Commit 9:**
[build] Keep process env variables, re-add done

* Original sha: f3cd91a0d0
* Authored by Jonathan Budzenski <jbudz@users.noreply.github.com> on 2016-04-27T22:23:13Z
2016-05-19 11:19:02 -04:00
Jonathan Budzenski
d821b5ba3c Add www to metadata url
Fixes #6133
2016-02-08 16:49:30 +00:00
Jonathan Budzenski
094c49593b Set deb-priority to optional
Fixes #6133
2016-02-08 16:49:30 +00:00
Jonathan Budzenski
d951a87337 Add url, maintainer, vendor, license metadata
Fixes #6133
2016-02-08 16:49:30 +00:00
Jonathan Budzenski
b27633626a Set os-packages flag on jenkins
Fixes #6114
2016-02-04 21:25:53 +00:00
Jonathan Budzenski
0ec2dcfd90 Escape spaces instead of quoting description
Fixes #6103
2016-02-04 17:14:01 +00:00
Jonathan Budzenski
4fb5e48502 Add description
Fixes #6103
2016-02-04 17:14:01 +00:00
Jonathan Budzenski
7b6bf2e68a Create os packages on jenkins
Fixes #5951
2016-02-01 22:30:14 +00:00
spalger
ebf954a050 avoid https://github.com/babel/babel-eslint/issues/245
Fixes #6060
2016-02-01 20:52:19 +00:00
Jonathan Budzenski
8bcd91ec8e Add args for deb and rpm, remove pkg
Fixes #5778
2015-12-29 23:02:22 +00:00
Jonathan Budzenski
6fa3f54f87 Remove osx package
Fixes #5778
2015-12-29 23:02:22 +00:00
Jonathan Budzenski
4c05e8e9c9 Copy files when making os packages
Fixes #5778
2015-12-29 23:02:22 +00:00
Jonathan Budzenski
60853e867f Change optimize folder owner to kibana after install
Fixes #5778
2015-12-29 23:02:22 +00:00
stdweird
52428677b1 pleaserun: use the userScriptsDir grunt config variable (as defined/used in osPackages)
Fixes #5322
2015-12-28 17:28:24 +00:00
stdweird
49b9cb5b55 osPackage: let fpm handle systemd units
Fixes #5322
2015-12-28 17:28:24 +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
spalger
faa1011bbd upgrade to npm 3.0 2015-08-26 16:36:19 -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
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
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