Skip to content
Snippets Groups Projects
Commit 1599a845 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Wrap clean commands with run_cmd

parent b320f1bb
No related branches found
No related tags found
No related merge requests found
...@@ -4,11 +4,11 @@ source $(dirname ${0})/functions.sh ...@@ -4,11 +4,11 @@ source $(dirname ${0})/functions.sh
# delete the bob packages from the cache otherwise the cache keeps increasing # delete the bob packages from the cache otherwise the cache keeps increasing
# over and over. See https://gitlab.idiap.ch/bob/bob.admin/issues/65 # over and over. See https://gitlab.idiap.ch/bob/bob.admin/issues/65
rm -rf ${CONDA_ROOT}/pkgs/bob*.tar.bz2 run_cmd rm -rf ${CONDA_ROOT}/pkgs/bob*.tar.bz2
# run git clean to clean everything that is not needed. This helps to keep the # run git clean to clean everything that is not needed. This helps to keep the
# disk usage on CI machines to minimum. # disk usage on CI machines to minimum.
git clean -ffdx \ run_cmd git clean -ffdx \
--exclude="miniconda.sh" \ --exclude="miniconda.sh" \
--exclude="miniconda/pkgs/*.tar.bz2" \ --exclude="miniconda/pkgs/*.tar.bz2" \
--exclude="miniconda/pkgs/urls.txt" \ --exclude="miniconda/pkgs/urls.txt" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment