refactor: deploy output wording
This commit is contained in:
parent
79b9cc9be7
commit
358490e939
|
@ -415,7 +415,7 @@ func deployServices(
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
logrus.Infof("Starting to poll for deployment status for: %s", appName)
|
logrus.Infof("Waiting for %s to deploy... please hold 🤚", appName)
|
||||||
ch := make(chan error, len(serviceIDs))
|
ch := make(chan error, len(serviceIDs))
|
||||||
for serviceID, serviceName := range serviceIDs {
|
for serviceID, serviceName := range serviceIDs {
|
||||||
logrus.Debugf("waiting on %s to converge", serviceName)
|
logrus.Debugf("waiting on %s to converge", serviceName)
|
||||||
|
@ -472,12 +472,10 @@ func WaitOnService(ctx context.Context, cl *dockerClient.Client, serviceID, appN
|
||||||
return err
|
return err
|
||||||
case <-sigintChannel:
|
case <-sigintChannel:
|
||||||
return fmt.Errorf(fmt.Sprintf(`
|
return fmt.Errorf(fmt.Sprintf(`
|
||||||
Cancelling polling for %s, deployment is still continuing.
|
Not waiting for %s to deploy. The deployment is ongoing...
|
||||||
|
|
||||||
If you want to stop the deployment try:
|
If you want to stop the deployment, try:
|
||||||
abra app undeploy %s
|
abra app undeploy %s`, appName, appName))
|
||||||
|
|
||||||
`, appName, appName))
|
|
||||||
case <-time.After(timeout):
|
case <-time.After(timeout):
|
||||||
return fmt.Errorf(fmt.Sprintf(`
|
return fmt.Errorf(fmt.Sprintf(`
|
||||||
%s has not converged (%s second timeout reached).
|
%s has not converged (%s second timeout reached).
|
||||||
|
|
Loading…
Reference in New Issue