Closed merrillh closed 2 years ago
Not sure how we can help here, as I am not an expert in GitLab. Maybe check the GitLab docs and see how can services talk to each other.
Closing this as there is not much we can do about this.
maybe my answer can help someone get started
@diemol I must say, getting GitLab CI/CD and selenium/hub
+ selenium/node-<browser>
(Docker in Docker) to work together is notoriously difficult. YAML templates for commonly used pipelines in the readme can be an increasingly important resource as this will be common occurrence to fully utilise Docker Selenium.
Sadly, I haven't figured it out yet.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
What happened?
My gitlab.ci.yml config fails for my deployment pipleline but my docker-compose.yml works locally. The service running a Selenium Chrome node node doesn't register with the Selenium hub service, resulting in a hub not ready error. The default port 5555 used to connect to the hub on the Selenium Chrome node isn't open, even if I make a custom docker image to open the port using EXPOSE 5555.
Command used to start Selenium Grid with Docker
Operating System
macos & linux based gitlab runner
Docker Selenium version (tag)
selenium/hub:4.1.4-20220427 and Selenium/node-chrome:4.1.4-20220427