Allow specifying network for instance test runner
What does this MR do and why?
Describe in detail what your merge request does and why.
This adds support for specifying a Docker network for instance tests.
In my case, working on https://gitlab.com/groups/gitlab-org/distribution/build-architecture/-/epics/34+, QA instances are deployed in GKE, and SSH is exposed via an HAProxy layer — so accessing Git over SSH requires a custom GIT_SSH_COMMAND.
Since passing extra environment variables isn't currently supported, a workaround is to run a proxy container in the QA runner’s Docker network and point the QA job at the proxy’s DNS address.
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
Commits include Changelog:trailer -
I have evaluated the MR acceptance checklist for this MR.