cloudmason 1.4.19 → 1.6.21
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/commands/update_app.js +4 -2
- package/package.json +1 -1
package/commands/update_app.js
CHANGED
|
@@ -67,10 +67,12 @@ exports.main = async function(args){
|
|
|
67
67
|
py: app.pyV
|
|
68
68
|
});
|
|
69
69
|
console.log('Instance Launched:',instance_id);
|
|
70
|
-
console.log('Waiting 60s');
|
|
70
|
+
console.log('Waiting 60s to initiate checks');
|
|
71
71
|
await sleep(60*1000);
|
|
72
72
|
console.log('Checking Instance Status');
|
|
73
73
|
await waitUntilInstanceReady(instance_id,process.env.orgRegion);
|
|
74
|
+
console.log('Waiting 5m for app to be ready');
|
|
75
|
+
await sleep(300*1000);
|
|
74
76
|
|
|
75
77
|
// Create AMI
|
|
76
78
|
const buildNumber = (app.versions[args.v]?.currentBuild || 0) + 1;
|
|
@@ -208,7 +210,7 @@ async function waitUntilInstanceReady(instance_id,region){
|
|
|
208
210
|
throw `Ec2 Instance Not Ready After ${totalSleepTime}s`
|
|
209
211
|
} else {
|
|
210
212
|
console.log(`Instance Ready After ${totalSleepTime}s. Waiting 5m to Proceed`);
|
|
211
|
-
await sleep(
|
|
213
|
+
await sleep(300000);
|
|
212
214
|
}
|
|
213
215
|
return true;
|
|
214
216
|
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"cloudmason","version":"1.
|
|
1
|
+
{"name":"cloudmason","version":"1.6.21","description":"","main":"main.js","scripts":{"build":"node build.js"},"bin":{"mason":"./main.js"},"repository":{"type":"git","url":"https://github.com/kai-harvey/secure-saas.git"},"author":"Kai Harvey","license":"ISC","dependencies":{"@aws-sdk/client-acm":"^3.418.0","@aws-sdk/client-auto-scaling":"^3.470.0","@aws-sdk/client-cloudformation":"^3.418.0","@aws-sdk/client-ec2":"^3.416.0","@aws-sdk/client-iam":"^3.418.0","@aws-sdk/client-marketplace-catalog":"^3.716.0","@aws-sdk/client-route-53":"^3.425.0","@aws-sdk/client-s3":"^3.418.0","@aws-sdk/client-ssm":"^3.421.0","adm-zip":"^0.5.10","yaml":"^2.6.1"}}
|