astronomer / astro-cli

CLI that makes it easy to create, test and deploy Airflow DAGs to Astronomer
https://www.astronomer.io
Other
338 stars 70 forks source link

Increase --wait timeout #1455

Open johnhoran opened 8 months ago

johnhoran commented 8 months ago

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?

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

📸 Screenshots

johnhoran commented 8 months ago

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

erdos2n commented 6 months ago

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

sunkickr commented 6 months ago

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

sunkickr commented 2 months ago

I see the issue