running git lfs clone

pull/218/head
mdugdale 2021-02-14 17:23:42 +00:00
parent e7c651827a
commit 8760214f09
3 changed files with 5 additions and 7 deletions

File diff suppressed because one or more lines are too long

View File

@ -35,7 +35,7 @@ Parameters:
Default: 'ls' Default: 'ls'
EntryPoint: EntryPoint:
Type: String Type: String
Default: '/bin/sh,-c' Default: '/bin/sh'
WorkingDirectory: WorkingDirectory:
Type: String Type: String
Default: '/efsdata/' Default: '/efsdata/'

View File

@ -21,13 +21,8 @@ class AWS {
ls; ls;
git clone https://github.com/${process.env.GITHUB_REPOSITORY}.git $BUILD_ID/repo; git clone https://github.com/${process.env.GITHUB_REPOSITORY}.git $BUILD_ID/repo;
git clone https://github.com/webbertakken/unity-builder.git $BUILD_ID/builder; git clone https://github.com/webbertakken/unity-builder.git $BUILD_ID/builder;
ls;
cd $BUILD_ID/repo; cd $BUILD_ID/repo;
git checkout $GITHUB_SHA; git checkout $GITHUB_SHA;
ls;
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;
`], `],
'/data', '/data',
'/data/', '/data/',
@ -47,6 +42,9 @@ class AWS {
baseImage.toString(), baseImage.toString(),
['/bin/sh'], ['/bin/sh'],
['-c', ` ['-c', `
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;
ls; ls;
chmod -R +x /entrypoint.sh; chmod -R +x /entrypoint.sh;
chmod -R +x /steps; chmod -R +x /steps;