astro-cli
astro-cli copied to clipboard
astro dev upgrade-test does not support dynamic path for .env
Describe the bug
astro dev upgrade-test does not support passing dynamic path for .env file to pass with --env option
While astro dev start and others support it., ex: astro dev start --env=.env/dev.env
sudo astro dev upgrade-test -a 3.0.0
Building image for current version
✔ Project image has been updated
Comparing dependency versions between current and upgraded environment
Obtaining pip freeze for current version
Building image for new version
✔ Project image has been updated
Obtaining pip freeze for new version
Comparing pip freeze files
Pip Freeze comparison can be found at /Users/sakethsomaraju/work/tickets/75692/upgrade-test-12.5.0--3.0-1/dependency_compare.txt
Checking the DAGs in this project for errors against the new Airflow version 3.0-1
Building image for new version
✔ Project image has been updated
Running DAG parse test with the new Airflow version
docker: read .env: is a directory.
See 'docker create --help'.
Error: something went wrong while parsing your DAGs: failed to execute cmd: exit status 125
What CLI Version did you experience this bug? 1.34.0
This CLI bug is related to which Astronomer Platform?
- [Y] Astro
- [ ] Software
- [ ] None/Unknown
What Operating System is the above CLI installed on? MAC OS
🪜 Steps To Reproduce
- Run
astro dev init -v 12.5.0 - Delete
.envin the astro project and createdev.envfile in.envdirectory. - Run
astro dev start --env=.env/dev.env - Run
astro dev upgrade-test -a 3.0.0