cleanup
parent
a758f9f8e0
commit
4fed96ce52
|
|
@ -276,6 +276,7 @@ Resources:
|
|||
- Effect: "Allow"
|
||||
Action:
|
||||
- "cloudformation:DeleteStack"
|
||||
- "kinesis:DeleteStream"
|
||||
Resource: "*"
|
||||
|
||||
### cloud watch to kinesis role
|
||||
|
|
|
|||
|
|
@ -227,7 +227,7 @@ class AWS {
|
|||
try {
|
||||
const buildUid = nanoid_1.nanoid();
|
||||
const branchName = (_a = process.env.GITHUB_REF) === null || _a === void 0 ? void 0 : _a.split('/').reverse()[0];
|
||||
core.info('starting part 1/4 (clone from github and restore cache)');
|
||||
core.info('Starting part 1/4 (clone from github and restore cache)');
|
||||
yield this.run(buildUid, buildParameters.awsStackName, 'alpine/git', ['/bin/sh'], [
|
||||
'-c',
|
||||
`apk update;
|
||||
|
|
@ -278,7 +278,7 @@ class AWS {
|
|||
ParameterValue: buildParameters.githubToken,
|
||||
},
|
||||
]);
|
||||
core.info('starting part 2/4 (build)');
|
||||
core.info('Starting part 2/4 (build unity project)');
|
||||
yield this.run(buildUid, buildParameters.awsStackName, baseImage.toString(), ['/bin/sh'], [
|
||||
'-c',
|
||||
`
|
||||
|
|
@ -370,7 +370,7 @@ class AWS {
|
|||
ParameterValue: buildParameters.androidKeyaliasPass ? buildParameters.androidKeyaliasPass : '0',
|
||||
},
|
||||
]);
|
||||
core.info('starting part 3/4 (zip build and latest Library for caching)');
|
||||
core.info('Starting part 3/4 (zip unity build and Library for caching)');
|
||||
// Cleanup
|
||||
yield this.run(buildUid, buildParameters.awsStackName, 'alpine', ['/bin/sh'], [
|
||||
'-c',
|
||||
|
|
@ -392,7 +392,7 @@ class AWS {
|
|||
ParameterValue: buildParameters.githubToken,
|
||||
},
|
||||
]);
|
||||
core.info('starting part 4/4 (upload to s3)');
|
||||
core.info('Starting part 4/4 (upload build to s3)');
|
||||
yield this.run(buildUid, buildParameters.awsStackName, 'amazon/aws-cli', ['/bin/sh'], [
|
||||
'-c',
|
||||
`
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -9,7 +9,7 @@ class AWS {
|
|||
try {
|
||||
const buildUid = nanoid();
|
||||
const branchName = process.env.GITHUB_REF?.split('/').reverse()[0];
|
||||
core.info('starting part 1/4 (clone from github and restore cache)');
|
||||
core.info('Starting part 1/4 (clone from github and restore cache)');
|
||||
await this.run(
|
||||
buildUid,
|
||||
buildParameters.awsStackName,
|
||||
|
|
@ -71,7 +71,7 @@ class AWS {
|
|||
],
|
||||
);
|
||||
|
||||
core.info('starting part 2/4 (build)');
|
||||
core.info('Starting part 2/4 (build unity project)');
|
||||
await this.run(
|
||||
buildUid,
|
||||
buildParameters.awsStackName,
|
||||
|
|
@ -173,7 +173,7 @@ class AWS {
|
|||
},
|
||||
],
|
||||
);
|
||||
core.info('starting part 3/4 (zip build and latest Library for caching)');
|
||||
core.info('Starting part 3/4 (zip unity build and Library for caching)');
|
||||
// Cleanup
|
||||
await this.run(
|
||||
buildUid,
|
||||
|
|
@ -206,7 +206,7 @@ class AWS {
|
|||
],
|
||||
);
|
||||
|
||||
core.info('starting part 4/4 (upload to s3)');
|
||||
core.info('Starting part 4/4 (upload build to s3)');
|
||||
await this.run(
|
||||
buildUid,
|
||||
buildParameters.awsStackName,
|
||||
|
|
|
|||
Loading…
Reference in New Issue