Wait for healthy containers in integration test
Rather than waiting 5 seconds and hoping for the best after we boot docker compose, add docker healthchecks and wait for all the containers to be healthy.
This commit is contained in:
@@ -9,4 +9,6 @@ RUN mkdir -p /etc/docker/certs.d/registry:4443 && ln -s /shared/certs/domain.crt
|
||||
|
||||
COPY boot.sh .
|
||||
|
||||
HEALTHCHECK --interval=1s CMD pgrep dockerd
|
||||
|
||||
CMD ["./boot.sh"]
|
||||
|
||||
Reference in New Issue
Block a user