async pipeline

pull/479/head
Frostebite 2022-12-15 21:47:23 +00:00
parent 257893c1fc
commit 598df6fb92
3 changed files with 4 additions and 3 deletions

2
dist/index.js vendored
View File

@ -1559,7 +1559,7 @@ class AWSJobStack {
try {
cloud_runner_logger_1.default.log(`Creating job cleanup formation`);
CF.createStack(createCleanupStackInput).promise();
yield CF.waitFor('stackCreateComplete', { StackName: createCleanupStackInput.StackName }).promise();
// await CF.waitFor('stackCreateComplete', { StackName: createCleanupStackInput.StackName }).promise();
}
catch (error) {
yield aws_error_1.AWSError.handleStackCreationFailure(error, CF, taskDefStackName);

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -181,7 +181,8 @@ export class AWSJobStack {
try {
CloudRunnerLogger.log(`Creating job cleanup formation`);
CF.createStack(createCleanupStackInput).promise();
await CF.waitFor('stackCreateComplete', { StackName: createCleanupStackInput.StackName }).promise();
// await CF.waitFor('stackCreateComplete', { StackName: createCleanupStackInput.StackName }).promise();
} catch (error) {
await AWSError.handleStackCreationFailure(error, CF, taskDefStackName);
throw error;