run builder in builder
parent
e41bbafc3c
commit
68cce84cf1
|
|
@ -2089,10 +2089,12 @@ class RemoteBuilder {
|
||||||
const projectPathFull = `${repoPathFull}/${buildParameters.projectPath}`;
|
const projectPathFull = `${repoPathFull}/${buildParameters.projectPath}`;
|
||||||
const libraryFolderFull = `${projectPathFull}/Library`;
|
const libraryFolderFull = `${projectPathFull}/Library`;
|
||||||
yield this.RemoteBuilderProviderPlatform.runBuildTask(buildUid, 'alpine/git', [
|
yield this.RemoteBuilderProviderPlatform.runBuildTask(buildUid, 'alpine/git', [
|
||||||
`apk update;
|
` apk update
|
||||||
apk add unzip;
|
apk add unzip
|
||||||
apk add git-lfs;
|
apk add git-lfs
|
||||||
apk add jq;
|
apk add jq
|
||||||
|
apk add jq
|
||||||
|
apk add nodejs
|
||||||
mkdir ${buildPathFull}
|
mkdir ${buildPathFull}
|
||||||
mkdir ${builderPathFull}
|
mkdir ${builderPathFull}
|
||||||
mkdir ${repoPathFull}
|
mkdir ${repoPathFull}
|
||||||
|
|
@ -2100,6 +2102,7 @@ class RemoteBuilder {
|
||||||
echo "Cloning utility repositories required for building:"
|
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/unity-builder.git ${builderPathFull}
|
||||||
git clone -q https://${buildParameters.githubToken}@github.com/game-ci/steam-deploy.git ${steamPathFull}
|
git clone -q https://${buildParameters.githubToken}@github.com/game-ci/steam-deploy.git ${steamPathFull}
|
||||||
|
node ${builderPathFull}/dist/index.js
|
||||||
cd ${repoPathFull}
|
cd ${repoPathFull}
|
||||||
# DISABLE LFS
|
# DISABLE LFS
|
||||||
git config --global filter.lfs.smudge "git-lfs smudge --skip -- %f"
|
git config --global filter.lfs.smudge "git-lfs smudge --skip -- %f"
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -98,10 +98,12 @@ class RemoteBuilder {
|
||||||
buildUid,
|
buildUid,
|
||||||
'alpine/git',
|
'alpine/git',
|
||||||
[
|
[
|
||||||
`apk update;
|
` apk update
|
||||||
apk add unzip;
|
apk add unzip
|
||||||
apk add git-lfs;
|
apk add git-lfs
|
||||||
apk add jq;
|
apk add jq
|
||||||
|
apk add jq
|
||||||
|
apk add nodejs
|
||||||
mkdir ${buildPathFull}
|
mkdir ${buildPathFull}
|
||||||
mkdir ${builderPathFull}
|
mkdir ${builderPathFull}
|
||||||
mkdir ${repoPathFull}
|
mkdir ${repoPathFull}
|
||||||
|
|
@ -109,6 +111,7 @@ class RemoteBuilder {
|
||||||
echo "Cloning utility repositories required for building:"
|
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/unity-builder.git ${builderPathFull}
|
||||||
git clone -q https://${buildParameters.githubToken}@github.com/game-ci/steam-deploy.git ${steamPathFull}
|
git clone -q https://${buildParameters.githubToken}@github.com/game-ci/steam-deploy.git ${steamPathFull}
|
||||||
|
node ${builderPathFull}/dist/index.js
|
||||||
cd ${repoPathFull}
|
cd ${repoPathFull}
|
||||||
# DISABLE LFS
|
# DISABLE LFS
|
||||||
git config --global filter.lfs.smudge "git-lfs smudge --skip -- %f"
|
git config --global filter.lfs.smudge "git-lfs smudge --skip -- %f"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue