From 62266181550714841a7a1fe994b3a886d2010d13 Mon Sep 17 00:00:00 2001
From: Amir MOHAMMADI <amir.mohammadi@idiap.ch>
Date: Wed, 21 Feb 2018 14:51:53 +0100
Subject: [PATCH] Delete gridtk cached packages too.

---
 gitlab/after_build.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gitlab/after_build.sh b/gitlab/after_build.sh
index 26ca3d6..43de272 100755
--- a/gitlab/after_build.sh
+++ b/gitlab/after_build.sh
@@ -4,11 +4,12 @@ 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
-run_cmd rm -rf ${CONDA_ROOT}/pkgs/bob*.tar.bz2
+rm -rf ${CONDA_ROOT}/pkgs/bob*.tar.bz2
+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.
-run_cmd git clean -ffdx \
+git clean -ffdx \
     --exclude="miniconda.sh" \
     --exclude="miniconda/pkgs/*.tar.bz2" \
     --exclude="miniconda/pkgs/urls.txt" \
-- 
GitLab