for now we will cache to s3 and efs

pull/235/head
mdugdale 2021-04-03 01:29:47 +01:00
parent 358d9068cd
commit 26fc8ef82d
3 changed files with 5 additions and 3 deletions

3
dist/index.js vendored
View File

@ -388,7 +388,8 @@ class AWS {
yield this.run(buildUid, buildParameters.awsStackName, 'amazon/aws-cli', ['/bin/sh'], [
'-c',
`
aws s3 cp ./${buildUid}/output.zip s3://game-ci-storage/${buildUid}.zip
aws s3 cp ./${buildUid}/output.zip s3://game-ci-storage/${buildUid}.zip
aws s3 cp ./cache/lib-${buildUid}.zip s3://game-ci-storage/cache/lib-${buildUid}.zip
rm -r ${buildUid}
ls
`,

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -209,7 +209,8 @@ class AWS {
[
'-c',
`
aws s3 cp ./${buildUid}/output.zip s3://game-ci-storage/${buildUid}.zip
aws s3 cp ./${buildUid}/output.zip s3://game-ci-storage/${buildUid}.zip
aws s3 cp ./cache/lib-${buildUid}.zip s3://game-ci-storage/cache/lib-${buildUid}.zip
rm -r ${buildUid}
ls
`,