Skip to content

Commit

Permalink
Better messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Einar Egilsson committed Mar 22, 2020
1 parent 6d5b21f commit 6e6aab1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions beanstalk-deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function deployNewVersion(application, environmentName, versionLabel, file, wait
return waitForDeployment(application, environmentName, versionLabel, deployStart, waitForRecoverySeconds);
} else {
console.log('Deployment started, parameter "wait_for_deployment" was false, so action is finished.');
console.log('Please verify manually that the deployment succeeds!');
console.log('**** IMPORTANT: Please verify manually that the deployment succeeds!');
process.exit(0);
}

Expand Down Expand Up @@ -195,7 +195,7 @@ function deployExistingVersion(application, environmentName, versionLabel, waitU
return waitForDeployment(application, environmentName, versionLabel, deployStart, waitForRecoverySeconds);
} else {
console.log('Deployment started, parameter "wait_for_deployment" was false, so action is finished.');
console.log('Please verify manually that the deployment succeeds!');
console.log('**** IMPORTANT: Please verify manually that the deployment succeeds!');
process.exit(0);
}
}).then(envAfterDeployment => {
Expand Down Expand Up @@ -294,6 +294,7 @@ function main() {
console.log(' AWS Secret Key: ' + awsApiRequest.secretKey.length + ' characters long, starts with ' + awsApiRequest.secretKey.charAt(0));
console.log(' Wait for deployment: ' + waitUntilDeploymentIsFinished);
console.log(' Recovery wait time: ' + waitForRecoverySeconds);
console.log('');

getApplicationVersion(application, versionLabel).then(result => {

Expand Down

0 comments on commit 6e6aab1

Please sign in to comment.