add zip package
parent
ff350ed054
commit
284f8ad9ee
|
|
@ -2163,11 +2163,7 @@ class RemoteBuilder {
|
||||||
const handleCaching = `${this.builderPathFull}/dist/remote-builder/handleCaching.sh ${cacheFolderFull} ${branchName} ${this.libraryFolderFull} ${lfsDirectory} ${purgeRemoteCache}`;
|
const handleCaching = `${this.builderPathFull}/dist/remote-builder/handleCaching.sh ${cacheFolderFull} ${branchName} ${this.libraryFolderFull} ${lfsDirectory} ${purgeRemoteCache}`;
|
||||||
yield this.RemoteBuilderProviderPlatform.runBuildTask(buildUid, 'alpine/git', [
|
yield this.RemoteBuilderProviderPlatform.runBuildTask(buildUid, 'alpine/git', [
|
||||||
` apk update -q
|
` apk update -q
|
||||||
apk add unzip -q
|
apk add unzip zip git-lfs jq tree -q
|
||||||
apk add unzip -q
|
|
||||||
apk add git-lfs -q
|
|
||||||
apk add jq -q
|
|
||||||
apk add tree -q
|
|
||||||
#
|
#
|
||||||
mkdir ${this.buildPathFull}
|
mkdir ${this.buildPathFull}
|
||||||
mkdir ${this.builderPathFull}
|
mkdir ${this.builderPathFull}
|
||||||
|
|
@ -2191,15 +2187,18 @@ class RemoteBuilder {
|
||||||
echo 'Checking cache for the Unity project Library and git LFS files'
|
echo 'Checking cache for the Unity project Library and git LFS files'
|
||||||
${handleCaching}
|
${handleCaching}
|
||||||
echo 'Caching complete'
|
echo 'Caching complete'
|
||||||
|
echo ' '
|
||||||
cd ${this.repoPathFull}
|
cd ${this.repoPathFull}
|
||||||
git lfs pull
|
git lfs pull
|
||||||
ls -alh "${testLFSFile}"
|
ls -alh "${testLFSFile}"
|
||||||
ls -alh "${lfsDirectory}"
|
ls -alh "${lfsDirectory}"
|
||||||
zip -r lib-${buildUid}.zip ".git/lfs/.*"
|
zip -r lib-${buildUid}.zip ".git/lfs/.*"
|
||||||
|
echo ' '
|
||||||
#
|
#
|
||||||
echo 'buildVolumeReport.txt and buildVolumeReport.txt saved to repository workspace directory'
|
echo 'buildVolumeReport.txt and buildVolumeReport.txt saved to repository workspace directory'
|
||||||
tree -L 3 ${this.buildPathFull} > ${this.repoPathFull}/buildVolumeReport.txt
|
tree -L 3 ${this.buildPathFull} > ${this.repoPathFull}/buildVolumeReport.txt
|
||||||
ls -lh /${buildVolumeFolder} > ${this.repoPathFull}/buildVolumeReport.txt
|
ls -lh /${buildVolumeFolder} > ${this.repoPathFull}/buildVolumeReport.txt
|
||||||
|
echo ' '
|
||||||
#
|
#
|
||||||
`,
|
`,
|
||||||
], `/${buildVolumeFolder}`, `/${buildVolumeFolder}/`, [
|
], `/${buildVolumeFolder}`, `/${buildVolumeFolder}/`, [
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -120,10 +120,7 @@ class RemoteBuilder {
|
||||||
'alpine/git',
|
'alpine/git',
|
||||||
[
|
[
|
||||||
` apk update -q
|
` apk update -q
|
||||||
apk add unzip -q
|
apk add unzip zip git-lfs jq tree -q
|
||||||
apk add git-lfs -q
|
|
||||||
apk add jq -q
|
|
||||||
apk add tree -q
|
|
||||||
#
|
#
|
||||||
mkdir ${this.buildPathFull}
|
mkdir ${this.buildPathFull}
|
||||||
mkdir ${this.builderPathFull}
|
mkdir ${this.builderPathFull}
|
||||||
|
|
@ -147,15 +144,18 @@ class RemoteBuilder {
|
||||||
echo 'Checking cache for the Unity project Library and git LFS files'
|
echo 'Checking cache for the Unity project Library and git LFS files'
|
||||||
${handleCaching}
|
${handleCaching}
|
||||||
echo 'Caching complete'
|
echo 'Caching complete'
|
||||||
|
echo ' '
|
||||||
cd ${this.repoPathFull}
|
cd ${this.repoPathFull}
|
||||||
git lfs pull
|
git lfs pull
|
||||||
ls -alh "${testLFSFile}"
|
ls -alh "${testLFSFile}"
|
||||||
ls -alh "${lfsDirectory}"
|
ls -alh "${lfsDirectory}"
|
||||||
zip -r lib-${buildUid}.zip ".git/lfs/.*"
|
zip -r lib-${buildUid}.zip ".git/lfs/.*"
|
||||||
|
echo ' '
|
||||||
#
|
#
|
||||||
echo 'buildVolumeReport.txt and buildVolumeReport.txt saved to repository workspace directory'
|
echo 'buildVolumeReport.txt and buildVolumeReport.txt saved to repository workspace directory'
|
||||||
tree -L 3 ${this.buildPathFull} > ${this.repoPathFull}/buildVolumeReport.txt
|
tree -L 3 ${this.buildPathFull} > ${this.repoPathFull}/buildVolumeReport.txt
|
||||||
ls -lh /${buildVolumeFolder} > ${this.repoPathFull}/buildVolumeReport.txt
|
ls -lh /${buildVolumeFolder} > ${this.repoPathFull}/buildVolumeReport.txt
|
||||||
|
echo ' '
|
||||||
#
|
#
|
||||||
`,
|
`,
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue