running git lfs clone
parent
aff960890d
commit
aa0c8921a8
File diff suppressed because one or more lines are too long
|
|
@ -9,6 +9,8 @@ const zlib = require('zlib');
|
||||||
|
|
||||||
class AWS {
|
class AWS {
|
||||||
static async runBuildJob(buildParameters, baseImage) {
|
static async runBuildJob(buildParameters, baseImage) {
|
||||||
|
try{
|
||||||
|
|
||||||
let buildId = nanoid();
|
let buildId = nanoid();
|
||||||
await this.run(
|
await this.run(
|
||||||
buildParameters.awsStackName,
|
buildParameters.awsStackName,
|
||||||
|
|
@ -43,6 +45,7 @@ class AWS {
|
||||||
baseImage.toString(),
|
baseImage.toString(),
|
||||||
['/bin/sh'],
|
['/bin/sh'],
|
||||||
['-c', `
|
['-c', `
|
||||||
|
cat $
|
||||||
cp -r /data/$BUILD_ID/builder/action/default-build-script /UnityBuilderAction;
|
cp -r /data/$BUILD_ID/builder/action/default-build-script /UnityBuilderAction;
|
||||||
cp -r /data/$BUILD_ID/builder/action/entrypoint.sh /entrypoint.sh;
|
cp -r /data/$BUILD_ID/builder/action/entrypoint.sh /entrypoint.sh;
|
||||||
cp -r /data/$BUILD_ID/builder/action/steps /steps;
|
cp -r /data/$BUILD_ID/builder/action/steps /steps;
|
||||||
|
|
@ -116,6 +119,10 @@ class AWS {
|
||||||
value: buildParameters.androidKeyaliasPass,},
|
value: buildParameters.androidKeyaliasPass,},
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
}
|
||||||
|
catch(error){
|
||||||
|
core.error(error);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static async run(stackName, image, entrypoint, commands, mountdir, workingdir, environment, secrets) {
|
static async run(stackName, image, entrypoint, commands, mountdir, workingdir, environment, secrets) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue