fix
parent
040d7eff6f
commit
416dc584e7
|
|
@ -2180,6 +2180,8 @@ class RemoteBuilder {
|
||||||
echo ' '
|
echo ' '
|
||||||
echo 'Initializing source repository for cloning with caching of LFS files'
|
echo 'Initializing source repository for cloning with caching of LFS files'
|
||||||
${initializeSourceRepoForCaching}
|
${initializeSourceRepoForCaching}
|
||||||
|
export LFS_ASSETS_HASH="$(cat .lfs-assets-id)"
|
||||||
|
echo "LFS_ASSETS_HASH $LFS_ASSETS_HASH"
|
||||||
echo ' '
|
echo ' '
|
||||||
echo 'Large File before LFS caching and pull'
|
echo 'Large File before LFS caching and pull'
|
||||||
ls -alh "${testLFSFile}"
|
ls -alh "${testLFSFile}"
|
||||||
|
|
@ -2187,7 +2189,7 @@ class RemoteBuilder {
|
||||||
echo 'Source repository initialized'
|
echo 'Source repository initialized'
|
||||||
echo ' '
|
echo ' '
|
||||||
echo 'Checking cache for the Unity project Library and git LFS files'
|
echo 'Checking cache for the Unity project Library and git LFS files'
|
||||||
${handleCaching}
|
${handleCaching} "$LFS_ASSETS_HASH"
|
||||||
echo 'Caching complete'
|
echo 'Caching complete'
|
||||||
echo ' '
|
echo ' '
|
||||||
echo 'Large File after LFS caching and pull'
|
echo 'Large File after LFS caching and pull'
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -25,7 +25,4 @@ echo ' '
|
||||||
echo 'Contents of .lfs-assets-id-sum file:'
|
echo 'Contents of .lfs-assets-id-sum file:'
|
||||||
cat .lfs-assets-id-sum
|
cat .lfs-assets-id-sum
|
||||||
|
|
||||||
export LFS_ASSETS_HASH="$(cat .lfs-assets-id)"
|
|
||||||
echo "LFS_ASSETS_HASH $LFS_ASSETS_HASH"
|
|
||||||
|
|
||||||
echo ' '
|
echo ' '
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ cacheKey=$2
|
||||||
libraryFolderFull=$3
|
libraryFolderFull=$3
|
||||||
gitLFSDestinationFolder=$4
|
gitLFSDestinationFolder=$4
|
||||||
purgeRemoteBuilderCache=$5
|
purgeRemoteBuilderCache=$5
|
||||||
|
LFS_ASSETS_HASH=$6
|
||||||
|
|
||||||
cacheFolderWithBranch="$cacheFolderFull/$cacheKey"
|
cacheFolderWithBranch="$cacheFolderFull/$cacheKey"
|
||||||
lfsCacheFolder="$cacheFolderFull/$cacheKey/lfs"
|
lfsCacheFolder="$cacheFolderFull/$cacheKey/lfs"
|
||||||
|
|
|
||||||
|
|
@ -135,6 +135,8 @@ class RemoteBuilder {
|
||||||
echo ' '
|
echo ' '
|
||||||
echo 'Initializing source repository for cloning with caching of LFS files'
|
echo 'Initializing source repository for cloning with caching of LFS files'
|
||||||
${initializeSourceRepoForCaching}
|
${initializeSourceRepoForCaching}
|
||||||
|
export LFS_ASSETS_HASH="$(cat .lfs-assets-id)"
|
||||||
|
echo "LFS_ASSETS_HASH $LFS_ASSETS_HASH"
|
||||||
echo ' '
|
echo ' '
|
||||||
echo 'Large File before LFS caching and pull'
|
echo 'Large File before LFS caching and pull'
|
||||||
ls -alh "${testLFSFile}"
|
ls -alh "${testLFSFile}"
|
||||||
|
|
@ -142,7 +144,7 @@ class RemoteBuilder {
|
||||||
echo 'Source repository initialized'
|
echo 'Source repository initialized'
|
||||||
echo ' '
|
echo ' '
|
||||||
echo 'Checking cache for the Unity project Library and git LFS files'
|
echo 'Checking cache for the Unity project Library and git LFS files'
|
||||||
${handleCaching}
|
${handleCaching} "$LFS_ASSETS_HASH"
|
||||||
echo 'Caching complete'
|
echo 'Caching complete'
|
||||||
echo ' '
|
echo ' '
|
||||||
echo 'Large File after LFS caching and pull'
|
echo 'Large File after LFS caching and pull'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue