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

[gitlab][after_build] Be more explicit about what is being removed

parent 78ca2840
No related branches found
No related tags found
No related merge requests found
......@@ -4,14 +4,14 @@ source $(dirname ${0})/functions.sh
# 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
rm -rf ${CONDA_ROOT}/pkgs/batl*.tar.bz2
rm -rf ${CONDA_ROOT}/pkgs/beat*.tar.bz2
rm -rf ${CONDA_ROOT}/pkgs/bob*.tar.bz2
rm -rf ${CONDA_ROOT}/pkgs/gridtk*.tar.bz2
run_cmd rm -rf ${CONDA_ROOT}/pkgs/batl*.tar.bz2
run_cmd rm -rf ${CONDA_ROOT}/pkgs/beat*.tar.bz2
run_cmd rm -rf ${CONDA_ROOT}/pkgs/bob*.tar.bz2
run_cmd rm -rf ${CONDA_ROOT}/pkgs/gridtk*.tar.bz2
# run git clean to clean everything that is not needed. This helps to keep the
# disk usage on CI machines to minimum.
git clean -ffdx \
run_cmd git clean -ffdx \
--exclude="miniconda.sh" \
--exclude="miniconda/pkgs/*.tar.bz2" \
--exclude="miniconda/pkgs/urls.txt" \
......@@ -19,4 +19,4 @@ git clean -ffdx \
--exclude="miniconda/conda-bld/osx-64/*.tar.bz2" \
--exclude="_ci" \
--exclude="dist/*.zip" \
--exclude="sphinx" > /dev/null
--exclude="sphinx"
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