From 79a9728a55ecfe4b2337a93281dc7d749f60f885 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Wed, 18 Apr 2018 17:33:51 +0200
Subject: [PATCH] Make caches smaller for beat and batl packages as well

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

diff --git a/gitlab/after_build.sh b/gitlab/after_build.sh
index 43de272..4459b01 100755
--- a/gitlab/after_build.sh
+++ b/gitlab/after_build.sh
@@ -4,6 +4,8 @@ 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
 
-- 
GitLab