running git lfs clone

pull/218/head
mdugdale 2021-02-14 16:52:50 +00:00
parent 39f9046fcb
commit 7864b0e66e
2 changed files with 8 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@ -11,12 +11,12 @@ class AWS {
static async runBuildJob(buildParameters, baseImage) { static async runBuildJob(buildParameters, baseImage) {
await this.run( await this.run(
buildParameters.awsStackName, buildParameters.awsStackName,
'ubuntu', 'alpine/git',
['/bin/sh'], ['/bin/sh'],
[ [
'-c', '-c',
`apt update; `apk update;
apt install git-lfs -y; apk add git-lfs;
ls; ls;
git clone https://github.com/${process.env.GITHUB_REPOSITORY}.git repo; git clone https://github.com/${process.env.GITHUB_REPOSITORY}.git repo;
git clone https://github.com/webbertakken/unity-builder.git builder; git clone https://github.com/webbertakken/unity-builder.git builder;
@ -28,8 +28,8 @@ class AWS {
cp -r /data/builder/action/entrypoint.sh /entrypoint.sh; cp -r /data/builder/action/entrypoint.sh /entrypoint.sh;
cp -r /data/builder/action/steps /steps; cp -r /data/builder/action/steps /steps;
`], `],
'/efsdata', '/data',
'/efsdata/', '/data/',
[ [
{ {
name: 'GITHUB_SHA', name: 'GITHUB_SHA',
@ -48,8 +48,8 @@ class AWS {
chmod -R +x /steps; chmod -R +x /steps;
/entrypoint.sh; /entrypoint.sh;
`], `],
'/efsdata', '/data',
'/efsdata/', '/data/',
[], [],
); );
} }