test lfs file
parent
5679b4192d
commit
8639a6a8b9
|
|
@ -2115,7 +2115,6 @@ class RemoteBuilder {
|
|||
git clone ${repo2} ${steamPathFull}
|
||||
#
|
||||
${builderPathFull}/dist/remote-builder/cloneNoLFS.sh ${repoPathFull} ${repo3} $GITHUB_SHA
|
||||
${builderPathFull}/dist/remote-builder/combineLFSHash.sh ${repoPathFull}
|
||||
${builderPathFull}/dist/remote-builder/setupCache.sh ${cacheFolderFull} ${branchName} ${libraryFolderFull}
|
||||
${builderPathFull}/dist/remote-builder/handleCaching.sh ${cacheFolderFull} ${branchName} ${libraryFolderFull} ${purgeRemoteCache}
|
||||
#
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -9,8 +9,7 @@ cd $repoPathFull
|
|||
echo ' '
|
||||
echo "Cloning the repository being built:"
|
||||
# DISABLE LFS
|
||||
git config --global filter.lfs.smudge "git-lfs smudge --skip -- %f"
|
||||
git config --global filter.lfs.process "git-lfs filter-process --skip"
|
||||
export GIT_LFS_SKIP_SMUDGE=1
|
||||
# Init new repo and setup origin
|
||||
git init
|
||||
git remote add origin $cloneUrl
|
||||
|
|
@ -18,10 +17,15 @@ git remote add origin $cloneUrl
|
|||
git fetch origin
|
||||
git reset --hard $githubSha
|
||||
# ENABLE LFS
|
||||
git config --global filter.lfs.smudge "git-lfs smudge -- %f"
|
||||
git config --global filter.lfs.process "git-lfs filter-process"
|
||||
export GIT_LFS_SKIP_SMUDGE=0
|
||||
|
||||
tree
|
||||
echo ' '
|
||||
# List git lfs files
|
||||
git lfs ls-files --all
|
||||
echo ' '
|
||||
git lfs ls-files -l | cut -d ' ' -f1 | sort
|
||||
echo ' '
|
||||
git lfs ls-files -l | cut -d ' ' -f1 | sort > $1/.lfs-assets-id
|
||||
|
||||
echo ' '
|
||||
|
|
|
|||
|
|
@ -1,8 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo "Combining LFS hash files into one hash, this can be used to cache LFS files"
|
||||
git lfs ls-files -l | cut -d' ' -f1 | sort > $1/.lfs-assets-id
|
||||
echo ' '
|
||||
echo 'combined file:'
|
||||
cat $1/.lfs-assets-id
|
||||
echo ' '
|
||||
|
|
@ -125,7 +125,6 @@ class RemoteBuilder {
|
|||
git clone ${repo2} ${steamPathFull}
|
||||
#
|
||||
${builderPathFull}/dist/remote-builder/cloneNoLFS.sh ${repoPathFull} ${repo3} $GITHUB_SHA
|
||||
${builderPathFull}/dist/remote-builder/combineLFSHash.sh ${repoPathFull}
|
||||
${builderPathFull}/dist/remote-builder/setupCache.sh ${cacheFolderFull} ${branchName} ${libraryFolderFull}
|
||||
${builderPathFull}/dist/remote-builder/handleCaching.sh ${cacheFolderFull} ${branchName} ${libraryFolderFull} ${purgeRemoteCache}
|
||||
#
|
||||
|
|
|
|||
Loading…
Reference in New Issue