Question - How to access server running inside the gitlab runner from grid running outside?
Thanks for the project!
I've questions regarding the tests running against the grid both for webdriver.io and web-component-tester test runners.
On my setup I use both of them and I've configured Gitlab Runner to start a webserver with a project on
export GITLAB_TARGET_SELENIUM_REMOTE_URL=http://.../wd/hub as a proxy to a real running selenium hub in my network.
I start the
gitlab-selenium-server with something like
node node_modules/.bin/gitlab-selenium-server --log-level=silly command
When tests are running Then `webdriverio` and `web-component-tester` packages trying to reach selenium hub Then I can see requests are proxying correctly Then Selenium Hub tries to request the running web server back Then it fails as Gitlab Runner doesn't have a "static ip / open port" for the running web server
- Is this the correct scenario how it should work?
- Do you know how to deal with Gitlab Runners open ports?
- Also these tests jobs can run simultaneously, which means, opening a single port will not help. Do you know how to manage open ports in that scenario?
I hope you can help me, thanks!