Docker Compose does weird things when you start two concurrent docker compose up -d commands for the same project (only possible because they are running in separate threads via Harvey) ultimately leading to Docker crashing completely.
Let's add a check prior to running a pipeline that will lock deployments for that project and only release it once the pipeline is finished (success or fail) so that we don't inadvertently break Docker.
Docker Compose does weird things when you start two concurrent
docker compose up -d
commands for the same project (only possible because they are running in separate threads via Harvey) ultimately leading to Docker crashing completely.Let's add a check prior to running a pipeline that will lock deployments for that project and only release it once the pipeline is finished (success or fail) so that we don't inadvertently break Docker.