spinnaker / roer

A thin Spinnaker CLI
Apache License 2.0
45 stars 45 forks source link

Override default timeout #26

Closed ericfrancis closed 6 years ago

ericfrancis commented 6 years ago

Background

$ ./roer-darwin-amd64 --version
roer version 0.9.3

Current Behavior

$ ./roer-darwin-amd64 -v pipeline-template publish ../templates/spring-base-v1.yaml
DEBU[0000] Reading template                              file=../templates/spring-base-v1.yaml
INFO[0000] Publishing template
INFO[0000] Waiting for task to complete...               refURL=/tasks/df21a778-29b3-446f-80f2-f302a9e81ffc
DEBU[0001] Polling task                                  status=RUNNING
DEBU[0002] Polling task                                  status=RUNNING
...
# Polling task repeats for about a minute or so
[0059] Polling task                                  status=RUNNING

The above command appears to timeout without an error message.

$ echo $?
1

Desired Behavior

  1. An error message should be displayed for the non-zero exit code
  2. If this is a timeout issue, I would like to override the timeout