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

Astronomer deployment create arbitrary version

Open johnhoran opened this issue 2 years ago • 1 comments

  • [x] I have checked that a similar feature request does not already exist.

✍️ Is your feature request related to a problem? Please describe.

astro deployment create --runtime-version only supports a small number of versions. This is an issue because we are working on a setup where deployments are created in staging for pull requests, however if my repo is currently using 9.4.0 then I can't create a deployment using 9.5.0 because (correct me if I'm wrong) I can't downgrade to an older version. Currently I'm just hardcoding an older version 8.10.0 and then letting the deployment upgrade, but that feels brittle. My alternative is to try deploying 9.4.0, then parse the error to figure out what I could deploy and upgrade from.

🧩 Describe the solution you'd like

I would like to be able to create a deployment using any officially released version of astronomer.

🤔 Describe alternatives you've considered

Is your feature request specific to a particular Astronomer Platform?

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

💡 Additional context

johnhoran avatar Nov 14 '23 19:11 johnhoran

Are you saying astro deployment create won't let you create a deployment with a 9.4.0 runtime version? Are you using the latest CLI version? This may be fixed now in latest

sunkickr avatar Jan 16 '24 15:01 sunkickr

@johnhoran I believe this issue is fixed. If you have an existing deployment that is running on a runtime version we do allow you to create a new deployment with the same runtime version even though its deprecated. I am going to close this ticket, but feel free to re-open it if you continue to face an issue and we would be happy to look into it.

kushalmalani avatar May 04 '24 01:05 kushalmalani