fix unzip cache directory and quiet add alpine apks

pull/273/head
Frostebite 2021-07-31 22:05:46 +01:00
parent 58146ffdd8
commit 3bbfeadd3d
4 changed files with 12 additions and 12 deletions

10
dist/index.js vendored
View File

@ -2160,11 +2160,11 @@ class RemoteBuilder {
const initializeSourceRepoForCaching = `${builderPathFull}/dist/remote-builder/cloneNoLFS.sh ${repoPathFull} ${repo3} $GITHUB_SHA`;
const handleCaching = `${builderPathFull}/dist/remote-builder/handleCaching.sh ${cacheFolderFull} ${branchName} ${libraryFolderFull} ${purgeRemoteCache}`;
yield this.RemoteBuilderProviderPlatform.runBuildTask(buildUid, 'alpine/git', [
` apk update
apk add unzip
apk add git-lfs
apk add jq
apk add tree
` apk update -q
apk add unzip -q
apk add git-lfs -q
apk add jq -q
apk add tree -q
#
mkdir ${buildPathFull}
mkdir ${builderPathFull}

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -45,7 +45,7 @@ if [ ! -z "$latest" ]; then
echo "Library cache exists from build $latest from $branchName"
echo 'Creating empty Library folder for cache'
mkdir "$libraryFolderFull"
unzip -q "$latest" -d "$libraryFolderFull"
unzip -q "$cacheFolderFull/$branchName/$latest" -d "$libraryFolderFull"
else
echo 'Cache does not exist'
fi

View File

@ -106,11 +106,11 @@ class RemoteBuilder {
buildUid,
'alpine/git',
[
` apk update
apk add unzip
apk add git-lfs
apk add jq
apk add tree
` apk update -q
apk add unzip -q
apk add git-lfs -q
apk add jq -q
apk add tree -q
#
mkdir ${buildPathFull}
mkdir ${builderPathFull}