Build Kibana options


(Sébastien Roul) #1

Hi,

Is it possible to specify only one OS and/or only archive in the command "npm run build" ?
We work with Kibana 5.3.

Ex npm run build -- --os=linux-x86_64 --only-archive

Thanks


(Lee Drengenberg) #2

Hi Sébastien,

I think you want to use --skip-os-packages and that should only create the tar.gz and zip.

Regards,
Lee


(Sébastien Roul) #3

Thank that's the oppisit i'd like : only tar for one distribution...


(Lee Drengenberg) #4

I think that's as granular as the build parameters go. That --skip-os-packages makes it skip the .deb and .rpm packages.

If you wanted to only build a single package you might have to modify tasks\config\platforms.js (I'm on master so it might not be the same as 5.3)

You could file an issue to request parameters for individual build outputs, or if you figure out what to change you could submit a pull request to add the option. https://github.com/elastic/kibana

Regards,
Lee


(Sébastien Roul) #5

Ok thanks and sorry for being confuse about this option.


(system) #6

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.