@devramps/cli 0.1.9 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +6 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -116,6 +116,7 @@ var MultiStackProgress = class {
|
|
|
116
116
|
this.spinnerFrame = (this.spinnerFrame + 1) % SPINNER_FRAMES.length;
|
|
117
117
|
this.scheduleRender();
|
|
118
118
|
}, 100);
|
|
119
|
+
if (this.spinnerInterval.unref) this.spinnerInterval.unref();
|
|
119
120
|
}
|
|
120
121
|
}
|
|
121
122
|
/**
|
|
@@ -173,6 +174,9 @@ var MultiStackProgress = class {
|
|
|
173
174
|
stack.status = success2 ? "complete" : "failed";
|
|
174
175
|
stack.completed = success2 ? stack.total : stack.completed;
|
|
175
176
|
if (failureReason) stack.failureReason = failureReason;
|
|
177
|
+
if (!stack.cfnStatus || stack.cfnStatus === "STARTING") {
|
|
178
|
+
stack.cfnStatus = success2 ? "NO_CHANGES" : failureReason || "FAILED";
|
|
179
|
+
}
|
|
176
180
|
this.scheduleRender();
|
|
177
181
|
}
|
|
178
182
|
}
|
|
@@ -2877,8 +2881,10 @@ async function executeDeployment(plan, pipelines, pipelineArtifacts, authData, c
|
|
|
2877
2881
|
header("Deployment Summary");
|
|
2878
2882
|
if (results.failed === 0) {
|
|
2879
2883
|
success(`All ${results.success} stack(s) deployed successfully!`);
|
|
2884
|
+
process.exit(0);
|
|
2880
2885
|
} else {
|
|
2881
2886
|
warn(`${results.success} stack(s) succeeded, ${results.failed} stack(s) failed.`);
|
|
2887
|
+
process.exit(1);
|
|
2882
2888
|
}
|
|
2883
2889
|
}
|
|
2884
2890
|
async function deployOrgStack(plan, pipelines, authData, currentAccountId, options) {
|