Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.devtools
Commits
589bf3b0
Commit
589bf3b0
authored
Jan 10, 2019
by
André Anjos
💬
Browse files
[ci] Only move conda-bld if there is one
parent
f22845d6
Pipeline
#25808
failed with stages
in 6 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ci/bootstrap.sh
View file @
589bf3b0
...
...
@@ -57,11 +57,13 @@ merge_conda_cache() {
_urlstxt
=
"
${
1
}
/urls.txt"
if
[
-e
${
2
}
]
;
then
log_info
"Merging urls.txt and packages with cached files..."
run_cmd
mv
${
2
}
/pkgs/
*
.tar.bz2
${
1
}
/pkgs
mv
${
2
}
/pkgs/
*
.tar.bz2
${
1
}
/pkgs
cat
${
_urlstxt
}
${
_cached_urlstxt
}
|
sort
|
uniq
>
${
_urlstxt
}
log_info
"Moving conda-bld packages (artifacts)..."
run_cmd
mv
${
2
}
/conda-bld
${
1
}
run_cmd conda index
${
1
}
/conda-bld
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
fi
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment