pull/289/head
Frostebite 2021-08-02 01:00:37 +01:00
parent b7a6404f32
commit a1079e84dd
1 changed files with 9 additions and 9 deletions

View File

@ -60,20 +60,26 @@ if [ ! -f "$lfsCacheFolder/$latestLFSCacheFile" ]; then
unzip "$lfsCacheFolder/$latestLFSCacheFile" -d "$gitLFSDestinationFolder"
fi
echo ' '
echo 'Size of LFS cache folder for this branch'
du -sch "$lfsCacheFolder"
echo ' '
echo 'Size of Library cache folder for this branch'
du -sch "$libraryCacheFolder"
echo ' '
echo 'Size of cache folder for this branch'
du -sch "$cacheFolderWithBranch"
echo ' '
echo 'Size of LFS cache folder'
echo 'Size of cache folder'
du -sch "$cacheFolderFull"
echo ' '
git lfs pull
echo 'pulled latest LFS files'
zip -r "$LFS_ASSETS_HASH.zip" "$gitLFSDestinationFolder"
cp "$LFS_ASSETS_HASH.zip" "$lfsCacheFolder"
echo "copied $LFS_ASSETS_HASH to $lfsCacheFolder"
echo ' '
# purge cache
if [ "$purgeRemoteBuilderCache" == "true" ]; then
@ -82,9 +88,3 @@ if [ "$purgeRemoteBuilderCache" == "true" ]; then
echo ' '
fi
git lfs pull
zip -r "$LFS_ASSETS_HASH.zip" "$gitLFSDestinationFolder"
cp "$LFS_ASSETS_HASH.zip" "$lfsCacheFolder"
echo "copied $LFS_ASSETS_HASH to $lfsCacheFolder"
echo ' '