cleanup
parent
0374e9c3f4
commit
b4e953ac86
|
|
@ -276,15 +276,15 @@ class AWS {
|
|||
yield this.run(buildUid, buildParameters.awsStackName, baseImage.toString(), ['/bin/sh'], [
|
||||
'-c',
|
||||
`
|
||||
cp -R /data/${buildUid}/builder/dist/default-build-script/ /UnityBuilderAction;
|
||||
cp -R /data/${buildUid}/builder/dist/entrypoint.sh /entrypoint.sh;
|
||||
cp -R /data/${buildUid}/builder/dist/steps/ /steps;
|
||||
ls;
|
||||
chmod -R +x /entrypoint.sh;
|
||||
chmod -R +x /steps;
|
||||
/entrypoint.sh;
|
||||
ls
|
||||
`,
|
||||
cp -R /data/${buildUid}/builder/dist/default-build-script/ /UnityBuilderAction;
|
||||
cp -R /data/${buildUid}/builder/dist/entrypoint.sh /entrypoint.sh;
|
||||
cp -R /data/${buildUid}/builder/dist/steps/ /steps;
|
||||
ls;
|
||||
chmod -R +x /entrypoint.sh;
|
||||
chmod -R +x /steps;
|
||||
/entrypoint.sh;
|
||||
ls
|
||||
`,
|
||||
], '/data', `/data/${buildUid}/repo/`, [
|
||||
{
|
||||
name: 'GITHUB_WORKSPACE',
|
||||
|
|
@ -390,8 +390,8 @@ class AWS {
|
|||
yield this.run(buildUid, buildParameters.awsStackName, 'amazon/aws-cli', ['/bin/sh'], [
|
||||
'-c',
|
||||
`
|
||||
aws s3 cp ./build-${buildUid}.zip s3://game-ci-storage/${buildUid}.zip
|
||||
aws s3 cp ./cache/${branchName}/lib-${buildUid}.zip s3://game-ci-storage/lib-${buildUid}.zip
|
||||
aws s3 cp ./build-${buildUid}.zip s3://game-ci-storage
|
||||
aws s3 cp ./cache/${branchName}/lib-${buildUid}.zip s3://game-ci-storage
|
||||
rm -r ${buildUid}
|
||||
ls
|
||||
`,
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1,3 +1,5 @@
|
|||
/* eslint-disable unicorn/prevent-abbreviations */
|
||||
|
||||
// Import these named export into your test file:
|
||||
export const mockProjectPath = jest.fn().mockResolvedValue('mockProjectPath');
|
||||
export const mockIsDirtyAllowed = jest.fn().mockResolvedValue(false);
|
||||
|
|
|
|||
|
|
@ -74,15 +74,15 @@ class AWS {
|
|||
[
|
||||
'-c',
|
||||
`
|
||||
cp -R /data/${buildUid}/builder/dist/default-build-script/ /UnityBuilderAction;
|
||||
cp -R /data/${buildUid}/builder/dist/entrypoint.sh /entrypoint.sh;
|
||||
cp -R /data/${buildUid}/builder/dist/steps/ /steps;
|
||||
ls;
|
||||
chmod -R +x /entrypoint.sh;
|
||||
chmod -R +x /steps;
|
||||
/entrypoint.sh;
|
||||
ls
|
||||
`,
|
||||
cp -R /data/${buildUid}/builder/dist/default-build-script/ /UnityBuilderAction;
|
||||
cp -R /data/${buildUid}/builder/dist/entrypoint.sh /entrypoint.sh;
|
||||
cp -R /data/${buildUid}/builder/dist/steps/ /steps;
|
||||
ls;
|
||||
chmod -R +x /entrypoint.sh;
|
||||
chmod -R +x /steps;
|
||||
/entrypoint.sh;
|
||||
ls
|
||||
`,
|
||||
],
|
||||
'/data',
|
||||
`/data/${buildUid}/repo/`,
|
||||
|
|
@ -209,8 +209,8 @@ class AWS {
|
|||
[
|
||||
'-c',
|
||||
`
|
||||
aws s3 cp ./build-${buildUid}.zip s3://game-ci-storage/${buildUid}.zip
|
||||
aws s3 cp ./cache/${branchName}/lib-${buildUid}.zip s3://game-ci-storage/lib-${buildUid}.zip
|
||||
aws s3 cp ./build-${buildUid}.zip s3://game-ci-storage
|
||||
aws s3 cp ./cache/${branchName}/lib-${buildUid}.zip s3://game-ci-storage
|
||||
rm -r ${buildUid}
|
||||
ls
|
||||
`,
|
||||
|
|
|
|||
Loading…
Reference in New Issue