Commit 938c0bb1 authored by André Anjos's avatar André Anjos 💬
Browse files

[ci] Fix conda merge procedure

parent d143254d
Pipeline #25810 canceled with stages
in 3 minutes and 38 seconds
......@@ -55,15 +55,15 @@ merge_conda_cache() {
if [ -e ${1} ]; then
_cached_urlstxt="${2}/urls.txt"
_urlstxt="${1}/urls.txt"
if [ -e ${2} ]; then
if [ -e ${2}/pkgs ]; then
log_info "Merging urls.txt and packages with cached files..."
mv ${2}/pkgs/*.tar.bz2 ${1}/pkgs
cat ${_urlstxt} ${_cached_urlstxt} | sort | uniq > ${_urlstxt}
if [ -d ${2}/conda-bld ]; then
log_info "Moving conda-bld packages (artifacts)..."
run_cmd mv ${2}/conda-bld ${1}
run_cmd conda index ${1}/conda-bld
fi
fi
if [ -d ${2}/conda-bld ]; then
log_info "Moving conda-bld packages (artifacts)..."
run_cmd mv ${2}/conda-bld ${1}
run_cmd conda index ${1}/conda-bld
fi
fi
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment