parent
e5318094ff
commit
f11ead0ee4
|
|
@ -2101,6 +2101,7 @@ class RemoteBuilder {
|
||||||
apk add sort
|
apk add sort
|
||||||
apk add cut
|
apk add cut
|
||||||
apk add tree
|
apk add tree
|
||||||
|
#
|
||||||
mkdir ${buildPathFull}
|
mkdir ${buildPathFull}
|
||||||
mkdir ${builderPathFull}
|
mkdir ${builderPathFull}
|
||||||
mkdir ${repoPathFull}
|
mkdir ${repoPathFull}
|
||||||
|
|
@ -2113,14 +2114,7 @@ class RemoteBuilder {
|
||||||
git clone --branch "remote-builder/unified-providers" ${repo} ${builderPathFull}
|
git clone --branch "remote-builder/unified-providers" ${repo} ${builderPathFull}
|
||||||
git clone ${repo2} ${steamPathFull}
|
git clone ${repo2} ${steamPathFull}
|
||||||
#
|
#
|
||||||
export GIT_LFS_SKIP_SMUDGE=1
|
${builderPathFull}/dist/remote-builder/cloneNoLFS.sh ${repoPathFull} ${repo3} $GITHUB_SHA
|
||||||
#
|
|
||||||
git clone --filter=blob:none ${repo3} ${repoPathFull} $GITHUB_SHA
|
|
||||||
#
|
|
||||||
export GIT_LFS_SKIP_SMUDGE=0
|
|
||||||
#
|
|
||||||
cd ${repoPathFull}
|
|
||||||
git lfs ls-files -l | cut -d ' ' -f1 | sort > lfs-assets-id
|
|
||||||
${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
|
|
@ -0,0 +1,31 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
repoPathFull=$1
|
||||||
|
cloneUrl=$2
|
||||||
|
githubSha=$3
|
||||||
|
|
||||||
|
cd $repoPathFull
|
||||||
|
|
||||||
|
echo ' '
|
||||||
|
echo "Cloning the repository being built:"
|
||||||
|
# DISABLE LFS
|
||||||
|
export GIT_LFS_SKIP_SMUDGE=1
|
||||||
|
# Init new repo and setup origin
|
||||||
|
git init
|
||||||
|
git remote add origin $cloneUrl
|
||||||
|
# Get remote version
|
||||||
|
git fetch origin
|
||||||
|
git reset --hard $githubSha
|
||||||
|
# ENABLE LFS
|
||||||
|
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 ' '
|
||||||
|
|
@ -111,6 +111,7 @@ class RemoteBuilder {
|
||||||
apk add sort
|
apk add sort
|
||||||
apk add cut
|
apk add cut
|
||||||
apk add tree
|
apk add tree
|
||||||
|
#
|
||||||
mkdir ${buildPathFull}
|
mkdir ${buildPathFull}
|
||||||
mkdir ${builderPathFull}
|
mkdir ${builderPathFull}
|
||||||
mkdir ${repoPathFull}
|
mkdir ${repoPathFull}
|
||||||
|
|
@ -123,14 +124,7 @@ class RemoteBuilder {
|
||||||
git clone --branch "remote-builder/unified-providers" ${repo} ${builderPathFull}
|
git clone --branch "remote-builder/unified-providers" ${repo} ${builderPathFull}
|
||||||
git clone ${repo2} ${steamPathFull}
|
git clone ${repo2} ${steamPathFull}
|
||||||
#
|
#
|
||||||
export GIT_LFS_SKIP_SMUDGE=1
|
${builderPathFull}/dist/remote-builder/cloneNoLFS.sh ${repoPathFull} ${repo3} $GITHUB_SHA
|
||||||
#
|
|
||||||
git clone --filter=blob:none ${repo3} ${repoPathFull} $GITHUB_SHA
|
|
||||||
#
|
|
||||||
export GIT_LFS_SKIP_SMUDGE=0
|
|
||||||
#
|
|
||||||
cd ${repoPathFull}
|
|
||||||
git lfs ls-files -l | cut -d ' ' -f1 | sort > lfs-assets-id
|
|
||||||
${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