-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
don't set /etc/hosts in CI #1729
Conversation
It seems
does not resolve and thus our k8s tests are failing here: >>> import socket
>>> socket.gethostbyname("github-actions.nebari.dev")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
socket.gaierror: [Errno -2] Name or service not known However, this actually means that our k8s tests are not sufficient: as explained in 2. above, it is not sufficient to fix @costrouc can we have an A record for |
Hey @pmeier, is this still a WIP? |
@pmeier I've added github-actions.nebari.dev to our dns. I'll retrigger the dns. |
We have some failures although the DNS now points to the address of the load balancer: https://github.com/nebari-dev/nebari/actions/runs/4861477270/jobs/8666565311?pr=1729#step:11:5906 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah let's remove this since like you said this doesn't actually do anything within the Kubernetes deployment.
What does this implement/fix?
There are basically two scenarios:
/etc/hosts
since the DNS is handling it for us/etc/hosts
is not enough. See [BUG] - Installing nebari locally (local with kind) fails. #1703 (comment) and [BUG] - local deploy cannot guaranteed be done without having access to a domain #1707.Thus, there is no need to set it at all. This PR removes it from CI to see if anything breaks (it shouldn't). If we move forward here, we also need to send a PR to the docs and remove that section there.
Testing