logging improvements
parent
77120540c8
commit
6189a5ba11
|
|
@ -12,6 +12,8 @@ libraryCacheFolder="$cacheFolderFull/$branch/lib"
|
||||||
mkdir -p "$lfsCacheFolder"
|
mkdir -p "$lfsCacheFolder"
|
||||||
mkdir -p "$libraryCacheFolder"
|
mkdir -p "$libraryCacheFolder"
|
||||||
|
|
||||||
|
echo 'Library Caching'
|
||||||
|
|
||||||
# if the unity git project has included the library delete it and echo a warning
|
# if the unity git project has included the library delete it and echo a warning
|
||||||
if [ -d "$libraryFolderFull" ]; then
|
if [ -d "$libraryFolderFull" ]; then
|
||||||
rm -r "$libraryFolderFull"
|
rm -r "$libraryFolderFull"
|
||||||
|
|
@ -28,6 +30,10 @@ if [ -z "$libraryCacheFolder/$latestLibraryCacheFile" ]; then
|
||||||
unzip -q "$libraryCacheFolder/$latestLibraryCacheFile" -d "$libraryFolderFull"
|
unzip -q "$libraryCacheFolder/$latestLibraryCacheFile" -d "$libraryFolderFull"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo ' '
|
||||||
|
|
||||||
|
echo 'Large File Caching'
|
||||||
|
|
||||||
echo "Checking large file cache exists ($lfsCacheFolder/$LFS_ASSETS_HASH.zip)"
|
echo "Checking large file cache exists ($lfsCacheFolder/$LFS_ASSETS_HASH.zip)"
|
||||||
if [ -f "$lfsCacheFolder/$LFS_ASSETS_HASH.zip" ]; then
|
if [ -f "$lfsCacheFolder/$LFS_ASSETS_HASH.zip" ]; then
|
||||||
echo "Match found: using large file hash match $LFS_ASSETS_HASH.zip"
|
echo "Match found: using large file hash match $LFS_ASSETS_HASH.zip"
|
||||||
|
|
@ -50,13 +56,13 @@ fi
|
||||||
echo ' '
|
echo ' '
|
||||||
echo "LFS cache for $branch"
|
echo "LFS cache for $branch"
|
||||||
du -sch "$lfsCacheFolder"
|
du -sch "$lfsCacheFolder"
|
||||||
echo ' '
|
echo '**'
|
||||||
echo "Library cache for $branch"
|
echo "Library cache for $branch"
|
||||||
du -sch "$libraryCacheFolder"
|
du -sch "$libraryCacheFolder"
|
||||||
echo ' '
|
echo '**'
|
||||||
echo "Branch: $branch"
|
echo "Branch: $branch"
|
||||||
du -sch "$cacheFolderWithBranch"
|
du -sch "$cacheFolderWithBranch"
|
||||||
echo ' '
|
echo '**'
|
||||||
echo 'Full cache'
|
echo 'Full cache'
|
||||||
du -sch "$cacheFolderFull"
|
du -sch "$cacheFolderFull"
|
||||||
echo ' '
|
echo ' '
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue