Commit graph

10 commits

Author SHA1 Message Date
Tyler Smalley
bc388bfc52 [kbn-es] Updates location of ES OSS snapshot (#18938)
ES snapshots are located again within the base elasticsearch directory and NOT within an additionally nested elasticsearch-oss directory

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-05-09 09:29:34 -07:00
Tyler Smalley
a8ee0775c7 [kbn-es] Fixes ES snapshot path for OSS builds (#17860)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-04-24 15:45:40 -07:00
Jenkins CI
bc5b51554d Migrate x-pack-kibana source to kibana 2018-04-24 13:49:26 -07:00
Spencer
6a7c04737f
[kbn-es] add basic integration tests for exit code/promise handling (#17600) (#17783) 2018-04-19 13:37:01 -07:00
Spencer
b9350316dd
[6.x] [@kbn/es] fix promise and CLI error handling (#17596) (#17598)
* [kbn-es/cluster] fix promise handling to properly route success/failure

* [kbn-es/cli] catch errors that bubble to the CLI and log with a bit of style

* [kbn-es] fix promise handling when building from source

* [kbn-es] check for inverse of .stop() condition

* [kbn-es/cluster] resolve promise is cluster stops cleanly

* [kbn-es/cluster/start] reject if ES exits before starting
2018-04-06 13:20:32 -07:00
spalger
4c24c02d13 [yarn] update lockfile 2018-03-28 16:56:06 -07:00
Tyler Smalley
0b787c5d57 [kbn-es] Wait for close event (#17448)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-03-28 14:23:40 -07:00
Tyler Smalley
0ece786976 [kbn-es] Allows error to bubble up (#17358)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-03-23 07:29:11 -07:00
Spencer
ccdf59e319
[6.x] [kbn-es] download to destPath.tmp rather than /tmp (#17322) (#17323)
When kbn-es downloads a snapshot, it writes the in progress download to
`/tmp` rather than the destination path in case the download fails part
way through, then renames the file from `/tmp` to the final location.
This is a good practice, but in CI the `/tmp` directory isn't stored on
the same disk as the project, which causes a rename error to occur
because we're attempting to rename across devices.

This updates the download logic to write to `${destPath}.tmp` instead,
and do the same renaming, so that we can avoid cross-device errors.
2018-03-21 17:49:52 -07:00
Tyler Smalley
ffd2fe83e3
[kbn-es] Package for managing Elasticsearch during dev and testing (#17168) (#17273)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-03-21 17:48:49 -07:00