Moves CI cache out of tmp (#17643)

* Moves CI cache out of tmp

We are seeing issues where the LICENSE file is absent from the temp directory where we cache node to, however, the binaries are still present.

Currently, tmpfiles.d is configured to clean up files older than 11 days old. I believe the binaries are in use, therefore are not cleaned during a sweep while things like the LICENSE file are.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
This commit is contained in:
Tyler Smalley 2018-04-12 07:57:51 -07:00 committed by GitHub
parent adabbf3c49
commit b6758083fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,8 +3,7 @@
set -e
dir="$(pwd)"
cacheDir="${CACHE_DIR:-"/tmp/kibana"}"
cacheDir="${CACHE_DIR:-"$HOME/.kibana"}"
###
### check that we seem to be in a kibana project