cleanup and corrections
parent
b363886ecd
commit
7dfe3a2c24
|
|
@ -56,20 +56,24 @@ if [ ! -z "$latestLFSCacheFile" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo ' '
|
echo ' '
|
||||||
|
echo 'Size of LFS cache folder for this branch'
|
||||||
du -sch "$gitLFSDestinationFolder"
|
du -sch "$gitLFSDestinationFolder"
|
||||||
|
echo 'Size of Library cache folder for this branch'
|
||||||
du -sch "$latestLibraryCacheFile"
|
du -sch "$latestLibraryCacheFile"
|
||||||
echo ' '
|
echo ' '
|
||||||
|
echo 'Size of cache folder for this branch'
|
||||||
du -sch "$cacheFolderWithBranch"
|
du -sch "$cacheFolderWithBranch"
|
||||||
echo ' '
|
echo ' '
|
||||||
|
echo 'Size of LFS cache folder'
|
||||||
du -sch "$cacheFolderFull"
|
du -sch "$cacheFolderFull"
|
||||||
echo ' '
|
echo ' '
|
||||||
|
|
||||||
echo "purge $purgeRemoteBuilderCache"
|
|
||||||
# purge cache
|
# purge cache
|
||||||
if [ "$purgeRemoteBuilderCache" == "true" ]; then
|
if [ "$purgeRemoteBuilderCache" == "true" ]; then
|
||||||
|
echo "purging the entire cache"
|
||||||
rm -r "$cacheFolderFull"
|
rm -r "$cacheFolderFull"
|
||||||
fi
|
|
||||||
echo ' '
|
echo ' '
|
||||||
|
fi
|
||||||
|
|
||||||
git lfs pull
|
git lfs pull
|
||||||
zip -r $LFS_ASSETS_HASH -d "$gitLFSDestinationFolder"
|
zip -r $LFS_ASSETS_HASH -d "$gitLFSDestinationFolder"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue