running git lfs clone

pull/218/head
mdugdale 2021-02-14 17:01:48 +00:00
parent aa2c75aa96
commit 4b7d6a53de
2 changed files with 10 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -9,6 +9,7 @@ const zlib = require('zlib');
class AWS {
static async runBuildJob(buildParameters, baseImage) {
let buildId = nanoid();
await this.run(
buildParameters.awsStackName,
'alpine/git',
@ -37,7 +38,7 @@ class AWS {
},
{
name: 'BUILD_ID',
value: nanoid(),
value: buildId,
},
],
);
@ -47,13 +48,19 @@ class AWS {
['/bin/sh'],
['-c', `
ls;
cd $BUILD_ID;
chmod -R +x /entrypoint.sh;
chmod -R +x /steps;
/entrypoint.sh;
`],
'/data',
'/data/repo/',
[],
[
{
name: 'BUILD_ID',
value: buildId,
},
],
);
}