running git lfs clone

pull/218/head
mdugdale 2021-02-14 18:47:58 +00:00
parent aff960890d
commit aa0c8921a8
2 changed files with 8 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -9,6 +9,8 @@ const zlib = require('zlib');
class AWS {
static async runBuildJob(buildParameters, baseImage) {
try{
let buildId = nanoid();
await this.run(
buildParameters.awsStackName,
@ -43,6 +45,7 @@ class AWS {
baseImage.toString(),
['/bin/sh'],
['-c', `
cat $
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/steps /steps;
@ -117,6 +120,10 @@ class AWS {
]
);
}
catch(error){
core.error(error);
}
}
static async run(stackName, image, entrypoint, commands, mountdir, workingdir, environment, secrets) {
const ECS = new SDK.ECS();