-
Notifications
You must be signed in to change notification settings - Fork 18
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
feat: add tests for special IP in --add-host flag #29
Conversation
Signed-off-by: Ziwen Ning <[email protected]>
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.
Tests look good, but should they go into the finch e2e package for now since this won't work with regular nerdctl right now?
IMO, whether it goes into common-tests depends on if it is part of common container development workflow instead of Finch special thing. Special IP is in Docker now and is being added to nerdctl. So I think it is fine to add to common-tests. |
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.
Hopefully this test passes with the new (unmerged) nerdctl feature then
🤖 I have created a release *beep* *boop* --- ## [0.5.0](v0.4.0...v0.5.0) (2023-02-13) ### Features * add tests for special IP in --add-host flag ([#29](#29)) ([1fecd9f](1fecd9f)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Issue #, if available: #209 *Description of changes:* Support special IP `host-gateway` in `--add-host` flag. Finch will resolve to the IP that can be used to access host from containers. It is not configurable for now. See [issue](#209) for more details. *Testing done:* unit tests and e2e tests runfinch/common-tests#29 - [ X ] I've reviewed the guidance in CONTRIBUTING.md #### License Acceptance By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. --------- Signed-off-by: Ziwen Ning <[email protected]>
Signed-off-by: Ziwen Ning [email protected]
Issue #, if available:
runfinch/finch#209
Description of changes:
Start a server in host and try to curl it from container with
--add-host test-host:host-gateway
Testing done:
make run
with the change runfinch/finch#216License Acceptance
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.