Skip to content

Homerunner: Permit running HS with remote networking, and provide docker build#560

Merged
kegsay merged 5 commits intomatrix-org:mainfrom
michaelkaye:michaelk/homerunner_support_non_localhost_servers
Nov 29, 2022
Merged

Homerunner: Permit running HS with remote networking, and provide docker build#560
kegsay merged 5 commits intomatrix-org:mainfrom
michaelkaye:michaelk/homerunner_support_non_localhost_servers

Conversation

@michaelkaye
Copy link
Contributor

The aim of this PR is to allow homerunner to start servers using docker-dind, and make them available over a non-local network. We can take advantage of this in a k8s environment by running servers on the PodIP, and so make them available outside of the pod.

This is wanted for trafficlight, where a adapters wrap and automate real clients (eg, ios/android/web) and so running many of them can be heavyweight. Currently we can run everything locally on a single desktop, but managing simultaneous runs of multiple tests needs us to spread the load across hosts.

The change should be a noop for complement run tests, retaining the default behaviour there, and without a configuration option being set, is also a noop for homerunner users.

If we wanted, this could also allow running a homerunner as a hosted service outside of k8s, with the resultant servers available over the network.

(also some gitignore changes because the directory cmd/homerunner/ was being ignored.
@michaelkaye michaelkaye requested review from a team and kegsay as code owners November 21, 2022 14:33
.idea
.bin
.DS_Store
homerunner No newline at end of file
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(required as we were ignoring changes to the homerunner directory)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants