insitro / redun

Yet another redundant workflow engine
https://insitro.github.io/redun/
Apache License 2.0
510 stars 43 forks source link

pytest.sh #86

Open gabriel-v opened 12 months ago

gabriel-v commented 12 months ago

closes https://github.com/insitro/redun/issues/85

Right now, I have a messy docker run script.

Maybe this would be cleaner if I added a new service in the compose file, built from ./Dockerfile, start it with sleep infinity as the command, and docker compose exec into it instead of running a new container every time. We could then use docker-compose for the networking between containers, use depends_on and healthchecks to wait for the db to be up (instead of until psql 'select 1;' do sleep 1; done, and so on.

Problems with current implementation: