Commit cfdeeb4d authored by nimrod's avatar nimrod
Browse files

Longer wait for Docker Compose deployment to be healthy.

Specifically for GitLab, which takes a long time not only to start but
finish its setup process and until it does it returns a 502. Eventually
it does finish and is healthy but the job already failed.
parent b52ed22a
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -133,7 +133,7 @@ dummy:
    - docker-compose up --detach --remove-orphans
    # yamllint disable rule:line-length
    - |
        for i in $(seq 12)
        for i in $(seq 30)
        do
            docker container inspect --format '{{ .State.Health.Status }}' $(docker-compose ps -q) | grep -v '^healthy$' || break
            sleep 10