From 7dfe3a2c24ff3d3b50b076148c429247a25c1295 Mon Sep 17 00:00:00 2001 From: Frostebite Date: Sun, 1 Aug 2021 17:22:11 +0100 Subject: [PATCH] cleanup and corrections --- dist/remote-builder/handleCaching.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dist/remote-builder/handleCaching.sh b/dist/remote-builder/handleCaching.sh index fb53a827..86385542 100755 --- a/dist/remote-builder/handleCaching.sh +++ b/dist/remote-builder/handleCaching.sh @@ -56,20 +56,24 @@ if [ ! -z "$latestLFSCacheFile" ]; then fi echo ' ' +echo 'Size of LFS cache folder for this branch' du -sch "$gitLFSDestinationFolder" +echo 'Size of Library cache folder for this branch' du -sch "$latestLibraryCacheFile" echo ' ' +echo 'Size of cache folder for this branch' du -sch "$cacheFolderWithBranch" echo ' ' +echo 'Size of LFS cache folder' du -sch "$cacheFolderFull" echo ' ' -echo "purge $purgeRemoteBuilderCache" # purge cache if [ "$purgeRemoteBuilderCache" == "true" ]; then + echo "purging the entire cache" rm -r "$cacheFolderFull" + echo ' ' fi -echo ' ' git lfs pull zip -r $LFS_ASSETS_HASH -d "$gitLFSDestinationFolder"