From 71714954b9adbd9cea68e6873400d73fd0b7c940 Mon Sep 17 00:00:00 2001 From: jillr Date: Tue, 3 May 2022 18:49:04 +0000 Subject: [PATCH] DNM - CI testing Trying to figure out why rstcheck is timing out for a change that only touches this shell script in PR 157 --- ci/downstream.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/downstream.sh b/ci/downstream.sh index 4425833..f92eeb8 100755 --- a/ci/downstream.sh +++ b/ci/downstream.sh @@ -186,8 +186,8 @@ f_copy_collection_to_working_dir() cp "${_build_dir}"/*.tar.gz ./ # Install downstream collection into provided path if [[ -n ${INSTALL_DOWNSTREAM_COLLECTION_PATH} ]]; then - rm -fr "${INSTALL_DOWNSTREAM_COLLECTION_PATH}" - mkdir -p "${INSTALL_DOWNSTREAM_COLLECTION_PATH}" + rm -fr "${INSTALL_DOWNSTREAM_COLLECTION_PATH:?}/*" + ##mkdir -p "${INSTALL_DOWNSTREAM_COLLECTION_PATH}" f_log_info "Install built collection *.tar.gz into ${INSTALL_DOWNSTREAM_COLLECTION_PATH}" ansible-galaxy collection install -p "${INSTALL_DOWNSTREAM_COLLECTION_PATH}" "${_build_dir}"/*.tar.gz fi