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'
EntryPoint:
Type: String
Default: '/bin/sh,-c'
Default: '/bin/sh'
WorkingDirectory:
Type: String
Default: '/efsdata/'

View File

@ -21,13 +21,8 @@ class AWS {
ls;
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;
ls;
cd $BUILD_ID/repo;
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/',
@ -47,6 +42,9 @@ class AWS {
baseImage.toString(),
['/bin/sh'],
['-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;
chmod -R +x /entrypoint.sh;
chmod -R +x /steps;