logging improvements
parent
a5eb941886
commit
311dab0318
|
|
@ -1130,11 +1130,12 @@ class AWSBuildEnvironment {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
core.info(JSON.stringify(secrets, undefined, 4));
|
core.info(JSON.stringify(secrets, undefined, 4));
|
||||||
core.info(taskDefCloudFormation);
|
core.info(taskDefCloudFormation);
|
||||||
|
core.error(error);
|
||||||
|
core.info('Getting events and resources for task stack');
|
||||||
const events = (yield CF.describeStackEvents({ StackName: taskDefStackName }).promise()).StackEvents;
|
const events = (yield CF.describeStackEvents({ StackName: taskDefStackName }).promise()).StackEvents;
|
||||||
const resources = (yield CF.describeStackResources({ StackName: taskDefStackName }).promise()).StackResources;
|
const resources = (yield CF.describeStackResources({ StackName: taskDefStackName }).promise()).StackResources;
|
||||||
core.info(JSON.stringify(events, undefined, 4));
|
core.info(JSON.stringify(events, undefined, 4));
|
||||||
core.info(JSON.stringify(resources, undefined, 4));
|
core.info(JSON.stringify(resources, undefined, 4));
|
||||||
core.error(error);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
readTaskCloudFormationTemplate() {
|
readTaskCloudFormationTemplate() {
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -316,11 +316,12 @@ class AWSBuildEnvironment implements RemoteBuilderProviderInterface {
|
||||||
) {
|
) {
|
||||||
core.info(JSON.stringify(secrets, undefined, 4));
|
core.info(JSON.stringify(secrets, undefined, 4));
|
||||||
core.info(taskDefCloudFormation);
|
core.info(taskDefCloudFormation);
|
||||||
|
core.error(error);
|
||||||
|
core.info('Getting events and resources for task stack');
|
||||||
const events = (await CF.describeStackEvents({ StackName: taskDefStackName }).promise()).StackEvents;
|
const events = (await CF.describeStackEvents({ StackName: taskDefStackName }).promise()).StackEvents;
|
||||||
const resources = (await CF.describeStackResources({ StackName: taskDefStackName }).promise()).StackResources;
|
const resources = (await CF.describeStackResources({ StackName: taskDefStackName }).promise()).StackResources;
|
||||||
core.info(JSON.stringify(events, undefined, 4));
|
core.info(JSON.stringify(events, undefined, 4));
|
||||||
core.info(JSON.stringify(resources, undefined, 4));
|
core.info(JSON.stringify(resources, undefined, 4));
|
||||||
core.error(error);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
readTaskCloudFormationTemplate(): string {
|
readTaskCloudFormationTemplate(): string {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue