cleanup
parent
0374e9c3f4
commit
b4e953ac86
|
|
@ -276,15 +276,15 @@ class AWS {
|
||||||
yield this.run(buildUid, buildParameters.awsStackName, baseImage.toString(), ['/bin/sh'], [
|
yield this.run(buildUid, buildParameters.awsStackName, baseImage.toString(), ['/bin/sh'], [
|
||||||
'-c',
|
'-c',
|
||||||
`
|
`
|
||||||
cp -R /data/${buildUid}/builder/dist/default-build-script/ /UnityBuilderAction;
|
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/entrypoint.sh /entrypoint.sh;
|
||||||
cp -R /data/${buildUid}/builder/dist/steps/ /steps;
|
cp -R /data/${buildUid}/builder/dist/steps/ /steps;
|
||||||
ls;
|
ls;
|
||||||
chmod -R +x /entrypoint.sh;
|
chmod -R +x /entrypoint.sh;
|
||||||
chmod -R +x /steps;
|
chmod -R +x /steps;
|
||||||
/entrypoint.sh;
|
/entrypoint.sh;
|
||||||
ls
|
ls
|
||||||
`,
|
`,
|
||||||
], '/data', `/data/${buildUid}/repo/`, [
|
], '/data', `/data/${buildUid}/repo/`, [
|
||||||
{
|
{
|
||||||
name: 'GITHUB_WORKSPACE',
|
name: 'GITHUB_WORKSPACE',
|
||||||
|
|
@ -390,8 +390,8 @@ class AWS {
|
||||||
yield this.run(buildUid, buildParameters.awsStackName, 'amazon/aws-cli', ['/bin/sh'], [
|
yield this.run(buildUid, buildParameters.awsStackName, 'amazon/aws-cli', ['/bin/sh'], [
|
||||||
'-c',
|
'-c',
|
||||||
`
|
`
|
||||||
aws s3 cp ./build-${buildUid}.zip s3://game-ci-storage/${buildUid}.zip
|
aws s3 cp ./build-${buildUid}.zip s3://game-ci-storage
|
||||||
aws s3 cp ./cache/${branchName}/lib-${buildUid}.zip s3://game-ci-storage/lib-${buildUid}.zip
|
aws s3 cp ./cache/${branchName}/lib-${buildUid}.zip s3://game-ci-storage
|
||||||
rm -r ${buildUid}
|
rm -r ${buildUid}
|
||||||
ls
|
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:
|
// Import these named export into your test file:
|
||||||
export const mockProjectPath = jest.fn().mockResolvedValue('mockProjectPath');
|
export const mockProjectPath = jest.fn().mockResolvedValue('mockProjectPath');
|
||||||
export const mockIsDirtyAllowed = jest.fn().mockResolvedValue(false);
|
export const mockIsDirtyAllowed = jest.fn().mockResolvedValue(false);
|
||||||
|
|
|
||||||
|
|
@ -74,15 +74,15 @@ class AWS {
|
||||||
[
|
[
|
||||||
'-c',
|
'-c',
|
||||||
`
|
`
|
||||||
cp -R /data/${buildUid}/builder/dist/default-build-script/ /UnityBuilderAction;
|
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/entrypoint.sh /entrypoint.sh;
|
||||||
cp -R /data/${buildUid}/builder/dist/steps/ /steps;
|
cp -R /data/${buildUid}/builder/dist/steps/ /steps;
|
||||||
ls;
|
ls;
|
||||||
chmod -R +x /entrypoint.sh;
|
chmod -R +x /entrypoint.sh;
|
||||||
chmod -R +x /steps;
|
chmod -R +x /steps;
|
||||||
/entrypoint.sh;
|
/entrypoint.sh;
|
||||||
ls
|
ls
|
||||||
`,
|
`,
|
||||||
],
|
],
|
||||||
'/data',
|
'/data',
|
||||||
`/data/${buildUid}/repo/`,
|
`/data/${buildUid}/repo/`,
|
||||||
|
|
@ -209,8 +209,8 @@ class AWS {
|
||||||
[
|
[
|
||||||
'-c',
|
'-c',
|
||||||
`
|
`
|
||||||
aws s3 cp ./build-${buildUid}.zip s3://game-ci-storage/${buildUid}.zip
|
aws s3 cp ./build-${buildUid}.zip s3://game-ci-storage
|
||||||
aws s3 cp ./cache/${branchName}/lib-${buildUid}.zip s3://game-ci-storage/lib-${buildUid}.zip
|
aws s3 cp ./cache/${branchName}/lib-${buildUid}.zip s3://game-ci-storage
|
||||||
rm -r ${buildUid}
|
rm -r ${buildUid}
|
||||||
ls
|
ls
|
||||||
`,
|
`,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue