Cleanup stack def resources
parent
0ec9aebd6e
commit
b9cb7ebf41
File diff suppressed because one or more lines are too long
|
|
@ -144,7 +144,7 @@ class AWS {
|
||||||
for (let index = 0; index < records.Records.length; index++) {
|
for (let index = 0; index < records.Records.length; index++) {
|
||||||
const element = records.Records[index];
|
const element = records.Records[index];
|
||||||
core.info(JSON.stringify(element.Data));
|
core.info(JSON.stringify(element.Data));
|
||||||
core.info(Buffer.from(element.Data, 'base64').toString());
|
core.info(Buffer.from(element.Data.toString('utf8'), 'utf8').toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -154,6 +154,10 @@ class AWS {
|
||||||
tasks: [task.tasks[0].taskArn],
|
tasks: [task.tasks[0].taskArn],
|
||||||
}).promise();
|
}).promise();
|
||||||
|
|
||||||
|
await CF.deleteStack({
|
||||||
|
StackName: taskDefStackName,
|
||||||
|
}).promise();
|
||||||
|
|
||||||
core.info('Build job has ended');
|
core.info('Build job has ended');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue