flyingcircusio / batou

batou is a universal, fractal deployment utility using Python.
https://batou.readthedocs.org
Other
47 stars 11 forks source link

bootstrapping a project does not build a migrate-able batou project #308

Closed elikoga closed 2 years ago

elikoga commented 2 years ago

Reproduce:

./
  (dir) batou
  (dir) batou_project
cd ./batou_project
sh ../batou/bootstrap
echo "-e ../batou" > ./requirements.txt
./appenv update-lockfile
./batou migrate

What should happen: Project should be set up

What happens:

FileNotFoundError: [Errno 2] No such file or directory: '/Users/elikoga/batou_project/environments'
ctheune commented 2 years ago

We noticed that this isn't true. @elikoga bootstrapped a new project but the bootstrap script died before reaching the ./batou migrate --bootstrap step. This is fine.