Skip to content

Commit

Permalink
[package testing] Create target dir before copying artifacts
Browse files Browse the repository at this point in the history
gsutil requires a directory to exist before copying artifacts in.
Prior to elastic#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.
  • Loading branch information
jbudz committed Aug 4, 2021
1 parent a89f6a1 commit 9482340
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/scripts/jenkins_xpack_package_deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions test/scripts/jenkins_xpack_package_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions test/scripts/jenkins_xpack_package_rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9482340

Please sign in to comment.