forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
We want to build ZIP's for each Kibiter version. This could be usefull in order to check new versions or little changes.
Kibana has by default a way to build a tar.gz of the current version that you are, doing:
npm run build
This must create the tars into KIBITER_HOME/target/, one tar for each OS. However, this command generates an error and it's impossible to continue, so we just add this option in order to avoid that error:
npm run build -- --skip-os-packages
Now, tars have been built and are in KIBITER_HOME/target/.
Important: That command don't copy the plugins don't into the plugins/ folder of the tars, so it's needed to add this line into a grunt configurations file (before the tar creation):
- In
KIBITER_HOME/tasks/build/archives.js:
async function archives({ name, buildName, zipPath, tarPath }) {
...
await exec('cp', ['-rf', fromRoot("plugins/"), fromRoot("build/" + buildName + "/.")]); //This line
await exec('tar', tarArguments);
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels