test lfs file
parent
5679b4192d
commit
8639a6a8b9
|
|
@ -2115,7 +2115,6 @@ class RemoteBuilder {
|
||||||
git clone ${repo2} ${steamPathFull}
|
git clone ${repo2} ${steamPathFull}
|
||||||
#
|
#
|
||||||
${builderPathFull}/dist/remote-builder/cloneNoLFS.sh ${repoPathFull} ${repo3} $GITHUB_SHA
|
${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/setupCache.sh ${cacheFolderFull} ${branchName} ${libraryFolderFull}
|
||||||
${builderPathFull}/dist/remote-builder/handleCaching.sh ${cacheFolderFull} ${branchName} ${libraryFolderFull} ${purgeRemoteCache}
|
${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 ' '
|
||||||
echo "Cloning the repository being built:"
|
echo "Cloning the repository being built:"
|
||||||
# DISABLE LFS
|
# DISABLE LFS
|
||||||
git config --global filter.lfs.smudge "git-lfs smudge --skip -- %f"
|
export GIT_LFS_SKIP_SMUDGE=1
|
||||||
git config --global filter.lfs.process "git-lfs filter-process --skip"
|
|
||||||
# Init new repo and setup origin
|
# Init new repo and setup origin
|
||||||
git init
|
git init
|
||||||
git remote add origin $cloneUrl
|
git remote add origin $cloneUrl
|
||||||
|
|
@ -18,10 +17,15 @@ git remote add origin $cloneUrl
|
||||||
git fetch origin
|
git fetch origin
|
||||||
git reset --hard $githubSha
|
git reset --hard $githubSha
|
||||||
# ENABLE LFS
|
# ENABLE LFS
|
||||||
git config --global filter.lfs.smudge "git-lfs smudge -- %f"
|
export GIT_LFS_SKIP_SMUDGE=0
|
||||||
git config --global filter.lfs.process "git-lfs filter-process"
|
|
||||||
|
|
||||||
tree
|
tree
|
||||||
|
echo ' '
|
||||||
# List git lfs files
|
# List git lfs files
|
||||||
git lfs ls-files --all
|
git lfs ls-files --all
|
||||||
echo ' '
|
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}
|
git clone ${repo2} ${steamPathFull}
|
||||||
#
|
#
|
||||||
${builderPathFull}/dist/remote-builder/cloneNoLFS.sh ${repoPathFull} ${repo3} $GITHUB_SHA
|
${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/setupCache.sh ${cacheFolderFull} ${branchName} ${libraryFolderFull}
|
||||||
${builderPathFull}/dist/remote-builder/handleCaching.sh ${cacheFolderFull} ${branchName} ${libraryFolderFull} ${purgeRemoteCache}
|
${builderPathFull}/dist/remote-builder/handleCaching.sh ${cacheFolderFull} ${branchName} ${libraryFolderFull} ${purgeRemoteCache}
|
||||||
#
|
#
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue