[package testing] Create target dir before copying artifacts (#107679)

gsutil requires a directory to exist before copying artifacts in.
Prior to https://github.com/elastic/kibana/pull/107217, a
.bootstrap-cache file was written, providing the directory for these
writes.  Now that we're no longer writing this file, we need to ensure
it exists.
This commit is contained in:
Jonathan Budzenski 2021-08-04 16:12:35 -05:00 committed by GitHub
parent 0f2d837a2b
commit 5e5580e687
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View file

@ -4,6 +4,7 @@ set -e
source src/dev/ci_setup/setup_env.sh
mkdir -p target
gsutil -q -m cp "gs://ci-artifacts.kibana.dev/package-testing/$GIT_COMMIT/kibana-*.deb" ./target
export VAGRANT_CWD=test/package

View file

@ -4,6 +4,7 @@ set -e
source src/dev/ci_setup/setup_env.sh
mkdir -p target
gsutil -q -m cp "gs://ci-artifacts.kibana.dev/package-testing/$GIT_COMMIT/kibana-[0-9]*-docker-image.tar.gz" ./target
export VAGRANT_CWD=test/package

View file

@ -4,6 +4,7 @@ set -e
source src/dev/ci_setup/setup_env.sh
mkdir -p target
gsutil -q -m cp "gs://ci-artifacts.kibana.dev/package-testing/$GIT_COMMIT/kibana-*.rpm" ./target
export VAGRANT_CWD=test/package