Detect host IP #33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "detect-host-IP"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Motivation
Changing the IP of the runner broke the tests recently. That's a silly dependency to have hard coded, So we want to update the tests to automatically detect the host machine's IP
Solution
Use Deno built-in function Deno.networkInterfaces() to get the first physical NIC. Wouldn't work with bridge devices like we have on the prototype but that's okay I think