running git lfs clone
parent
39f9046fcb
commit
7864b0e66e
File diff suppressed because one or more lines are too long
|
|
@ -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/',
|
||||||
[],
|
[],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue