running git lfs clone
parent
e7c651827a
commit
8760214f09
File diff suppressed because one or more lines are too long
|
|
@ -35,7 +35,7 @@ Parameters:
|
|||
Default: 'ls'
|
||||
EntryPoint:
|
||||
Type: String
|
||||
Default: '/bin/sh,-c'
|
||||
Default: '/bin/sh'
|
||||
WorkingDirectory:
|
||||
Type: String
|
||||
Default: '/efsdata/'
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue