-
Notifications
You must be signed in to change notification settings - Fork 127
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
K3s Module #212
Comments
Hi @nemoo, thank you for your question! This project is driven by the community and java modules are getting added to the scala version as the community needs it. If you'd like to contribute support for this module, it would be huge help for this project! |
Great, I will give it a go. Is there a contribution guide? When I tried Edit: ok for testing I now set the scala version explicitly via |
Sorry, unfortunately I don't have a contribution guide but you can check out several recent PRs that add support for various containers: |
This requires also a bump to testcontainers java 1.16.3. I guess that would be a different pull request? |
Also, in the original java k3s module test, a special log consumer Slf4jLogConsumer is used:
Do we have any examples on how the use of .withLogConsumer() should be ported over to scala? |
It's fine if you bump it here
I think it'd look like this: case class K3sContainer(
logConsumer: Slf4jLogConsumer
) {
...
c.withLogConsumer(logConsumer)
...
} |
Not an issue but more of a question.
testcontainers-java now features a module for lightweight Kubernetes clusters called K3s: https://github.com/testcontainers/testcontainers-java/blob/master/modules/k3s/src/main/java/org/testcontainers/k3s/K3sContainer.java
The module documentation can be found here: https://www.testcontainers.org/modules/k3s/
Will this module also be wrapped in testcontainers-scala?
The text was updated successfully, but these errors were encountered: