astro-cli icon indicating copy to clipboard operation
astro-cli copied to clipboard

Increase --wait timeout

Open johnhoran opened this issue 2 years ago • 4 comments

Describe the bug Increase the length of time given to astro deploy --wait I regularly get

Waiting for the deployment to become healthy…

This may take a few minutes
Error: timed out waiting for the deployment to become healthy

The deployment in question ultimately does succeed, but my script fails because the timeout is too short.

What CLI Version did you experience this bug? v1.20.1

This CLI bug is related to which Astronomer Platform?

  • [x] Astro
  • [ ] Software
  • [ ] None/Unknown

What Operating System is the above CLI installed on? Linux github actions runner 🪜 Steps To Reproduce

📸 Screenshots

johnhoran avatar Nov 20 '23 17:11 johnhoran

I can see for astro dev start commands https://github.com/astronomer/astro-cli/blob/18d0c7515e5a614beb6860edb3d3179e6c4ecf79/cmd/airflow.go#L236C1-L236C2 its configurable, but not for astro deploy

johnhoran avatar Nov 21 '23 14:11 johnhoran

@johnhoran how much time you have given it? Have you tried --wait=5m? More information will be helpful.

erdos2n avatar Jan 11 '24 14:01 erdos2n

@johnhoran astro deploy should not need a --wait flag. That command does not start the project just builds and deploys

sunkickr avatar Jan 16 '24 15:01 sunkickr

I see the issue

sunkickr avatar Apr 22 '24 15:04 sunkickr