add zip package

pull/273/head
Frostebite 2021-08-01 00:27:44 +01:00
parent ff350ed054
commit 284f8ad9ee
3 changed files with 9 additions and 10 deletions

9
dist/index.js vendored
View File

@ -2163,11 +2163,7 @@ class RemoteBuilder {
const handleCaching = `${this.builderPathFull}/dist/remote-builder/handleCaching.sh ${cacheFolderFull} ${branchName} ${this.libraryFolderFull} ${lfsDirectory} ${purgeRemoteCache}`;
yield this.RemoteBuilderProviderPlatform.runBuildTask(buildUid, 'alpine/git', [
` apk update -q
apk add unzip -q
apk add unzip -q
apk add git-lfs -q
apk add jq -q
apk add tree -q
apk add unzip zip git-lfs jq tree -q
#
mkdir ${this.buildPathFull}
mkdir ${this.builderPathFull}
@ -2191,15 +2187,18 @@ class RemoteBuilder {
echo 'Checking cache for the Unity project Library and git LFS files'
${handleCaching}
echo 'Caching complete'
echo ' '
cd ${this.repoPathFull}
git lfs pull
ls -alh "${testLFSFile}"
ls -alh "${lfsDirectory}"
zip -r lib-${buildUid}.zip ".git/lfs/.*"
echo ' '
#
echo 'buildVolumeReport.txt and buildVolumeReport.txt saved to repository workspace directory'
tree -L 3 ${this.buildPathFull} > ${this.repoPathFull}/buildVolumeReport.txt
ls -lh /${buildVolumeFolder} > ${this.repoPathFull}/buildVolumeReport.txt
echo ' '
#
`,
], `/${buildVolumeFolder}`, `/${buildVolumeFolder}/`, [

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -120,10 +120,7 @@ class RemoteBuilder {
'alpine/git',
[
` apk update -q
apk add unzip -q
apk add git-lfs -q
apk add jq -q
apk add tree -q
apk add unzip zip git-lfs jq tree -q
#
mkdir ${this.buildPathFull}
mkdir ${this.builderPathFull}
@ -147,15 +144,18 @@ class RemoteBuilder {
echo 'Checking cache for the Unity project Library and git LFS files'
${handleCaching}
echo 'Caching complete'
echo ' '
cd ${this.repoPathFull}
git lfs pull
ls -alh "${testLFSFile}"
ls -alh "${lfsDirectory}"
zip -r lib-${buildUid}.zip ".git/lfs/.*"
echo ' '
#
echo 'buildVolumeReport.txt and buildVolumeReport.txt saved to repository workspace directory'
tree -L 3 ${this.buildPathFull} > ${this.repoPathFull}/buildVolumeReport.txt
ls -lh /${buildVolumeFolder} > ${this.repoPathFull}/buildVolumeReport.txt
echo ' '
#
`,
],