If OCI_TARGET_BASE is not set, then this override doesn't work

This commit is contained in:
Igor
2023-03-21 20:56:58 +01:00
committed by Igor Pečovnik
parent 6bd665eaf4
commit a01f764195

View File

@@ -43,10 +43,6 @@ function cli_artifact_run() {
ignore_local_cache="yes"
deploy_to_remote="yes"
if [[ "${FORCE_ARTIFACTS_DOWNLOAD}" == "yes" ]]; then
skip_unpack_if_found_in_caches="no"
fi
# Pass ARTIFACT_USE_CACHE=yes to actually use the cache versions, but don't deploy to remote.
# @TODO this is confusing. each op should be individually controlled...
# what we want is:
@@ -61,5 +57,10 @@ function cli_artifact_run() {
fi
fi
# Force artifacts download we need to populate repository
if [[ "${FORCE_ARTIFACTS_DOWNLOAD}" == "yes" ]]; then
skip_unpack_if_found_in_caches="no"
fi
do_with_default_build obtain_complete_artifact # @TODO: < /dev/null -- but what about kernel configure?
}