mirror of
https://github.com/openshift/community.okd.git
synced 2026-11-22 07:00:26 +00:00
Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
71714954b9 | ||
|
|
e1d1fd12a0 | ||
|
|
a2da4db909 |
@@ -186,6 +186,8 @@ f_copy_collection_to_working_dir()
|
|||||||
cp "${_build_dir}"/*.tar.gz ./
|
cp "${_build_dir}"/*.tar.gz ./
|
||||||
# Install downstream collection into provided path
|
# Install downstream collection into provided path
|
||||||
if [[ -n ${INSTALL_DOWNSTREAM_COLLECTION_PATH} ]]; then
|
if [[ -n ${INSTALL_DOWNSTREAM_COLLECTION_PATH} ]]; then
|
||||||
|
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}"
|
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
|
ansible-galaxy collection install -p "${INSTALL_DOWNSTREAM_COLLECTION_PATH}" "${_build_dir}"/*.tar.gz
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user