run builder in builder

pull/273/head
Frostebite 2021-07-03 00:02:23 +01:00
parent e41bbafc3c
commit 68cce84cf1
3 changed files with 15 additions and 9 deletions

11
dist/index.js vendored
View File

@ -2089,10 +2089,12 @@ class RemoteBuilder {
const projectPathFull = `${repoPathFull}/${buildParameters.projectPath}`;
const libraryFolderFull = `${projectPathFull}/Library`;
yield this.RemoteBuilderProviderPlatform.runBuildTask(buildUid, 'alpine/git', [
`apk update;
apk add unzip;
apk add git-lfs;
apk add jq;
` apk update
apk add unzip
apk add git-lfs
apk add jq
apk add jq
apk add nodejs
mkdir ${buildPathFull}
mkdir ${builderPathFull}
mkdir ${repoPathFull}
@ -2100,6 +2102,7 @@ class RemoteBuilder {
echo "Cloning utility repositories required for building:"
git clone -q https://${buildParameters.githubToken}@github.com/game-ci/unity-builder.git ${builderPathFull}
git clone -q https://${buildParameters.githubToken}@github.com/game-ci/steam-deploy.git ${steamPathFull}
node ${builderPathFull}/dist/index.js
cd ${repoPathFull}
# DISABLE LFS
git config --global filter.lfs.smudge "git-lfs smudge --skip -- %f"

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -98,10 +98,12 @@ class RemoteBuilder {
buildUid,
'alpine/git',
[
`apk update;
apk add unzip;
apk add git-lfs;
apk add jq;
` apk update
apk add unzip
apk add git-lfs
apk add jq
apk add jq
apk add nodejs
mkdir ${buildPathFull}
mkdir ${builderPathFull}
mkdir ${repoPathFull}
@ -109,6 +111,7 @@ class RemoteBuilder {
echo "Cloning utility repositories required for building:"
git clone -q https://${buildParameters.githubToken}@github.com/game-ci/unity-builder.git ${builderPathFull}
git clone -q https://${buildParameters.githubToken}@github.com/game-ci/steam-deploy.git ${steamPathFull}
node ${builderPathFull}/dist/index.js
cd ${repoPathFull}
# DISABLE LFS
git config --global filter.lfs.smudge "git-lfs smudge --skip -- %f"