fix unzip cache directory and quiet add alpine apks
parent
58146ffdd8
commit
3bbfeadd3d
|
|
@ -2160,11 +2160,11 @@ class RemoteBuilder {
|
||||||
const initializeSourceRepoForCaching = `${builderPathFull}/dist/remote-builder/cloneNoLFS.sh ${repoPathFull} ${repo3} $GITHUB_SHA`;
|
const initializeSourceRepoForCaching = `${builderPathFull}/dist/remote-builder/cloneNoLFS.sh ${repoPathFull} ${repo3} $GITHUB_SHA`;
|
||||||
const handleCaching = `${builderPathFull}/dist/remote-builder/handleCaching.sh ${cacheFolderFull} ${branchName} ${libraryFolderFull} ${purgeRemoteCache}`;
|
const handleCaching = `${builderPathFull}/dist/remote-builder/handleCaching.sh ${cacheFolderFull} ${branchName} ${libraryFolderFull} ${purgeRemoteCache}`;
|
||||||
yield this.RemoteBuilderProviderPlatform.runBuildTask(buildUid, 'alpine/git', [
|
yield this.RemoteBuilderProviderPlatform.runBuildTask(buildUid, 'alpine/git', [
|
||||||
` apk update
|
` apk update -q
|
||||||
apk add unzip
|
apk add unzip -q
|
||||||
apk add git-lfs
|
apk add git-lfs -q
|
||||||
apk add jq
|
apk add jq -q
|
||||||
apk add tree
|
apk add tree -q
|
||||||
#
|
#
|
||||||
mkdir ${buildPathFull}
|
mkdir ${buildPathFull}
|
||||||
mkdir ${builderPathFull}
|
mkdir ${builderPathFull}
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -45,7 +45,7 @@ if [ ! -z "$latest" ]; then
|
||||||
echo "Library cache exists from build $latest from $branchName"
|
echo "Library cache exists from build $latest from $branchName"
|
||||||
echo 'Creating empty Library folder for cache'
|
echo 'Creating empty Library folder for cache'
|
||||||
mkdir "$libraryFolderFull"
|
mkdir "$libraryFolderFull"
|
||||||
unzip -q "$latest" -d "$libraryFolderFull"
|
unzip -q "$cacheFolderFull/$branchName/$latest" -d "$libraryFolderFull"
|
||||||
else
|
else
|
||||||
echo 'Cache does not exist'
|
echo 'Cache does not exist'
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -106,11 +106,11 @@ class RemoteBuilder {
|
||||||
buildUid,
|
buildUid,
|
||||||
'alpine/git',
|
'alpine/git',
|
||||||
[
|
[
|
||||||
` apk update
|
` apk update -q
|
||||||
apk add unzip
|
apk add unzip -q
|
||||||
apk add git-lfs
|
apk add git-lfs -q
|
||||||
apk add jq
|
apk add jq -q
|
||||||
apk add tree
|
apk add tree -q
|
||||||
#
|
#
|
||||||
mkdir ${buildPathFull}
|
mkdir ${buildPathFull}
|
||||||
mkdir ${builderPathFull}
|
mkdir ${builderPathFull}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue