Hi, I’m having trouble with healthcheck for services in GitLab CI when using Network per build, I have a bunch of services which start just fine and work as expected, but the healthcheck always end in timeout, which adds significant time to build duration. This was working previously when not using the Network per Build feature. I have all the appropriate ports exposed in my Dockerfiles (cannot share them as they are on my company’s private Artifactory)
I’m seeing following logs when running job with defined services (again, the services itself work as expected, but waiting for healthcheck prolongs the overall build time)
- GitLab: 12.10 - self managed
- Runner: 12.10 - self managed
- using Docker with socket mounting
Relevant config files
relevant part of .gitlab-ci.yml (redacted sensitive stuff)
component tests: tags: ... image: **redacted**/php72-cli:2.1.0 services: - name: **redacted** alias: **redacted** - .... other services variables: ... stage: test script: - ...
.... EXPOSE 8091 ....
I’ve double checked my Exposed ports, checked documentation on healthcheck and services, not much else I can do I guess
If anybody got any ideas / clues it would be much appreciated, thanks very much in advance