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'
|
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/'
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue