-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
@QuarkusMainIntegrationTest not implemented for Docker #38368
Comments
You can always try to implement it yourself and contribute it back to Quarkus. Looking at existing |
I'd love to add this, although I have no experience in adding new functionality in quarkus. however, time available is the problem. |
Best place to ask on how to do this is either Quarkus Zulip chat or the quarkus-dev list. https://quarkus.io/support |
Hello. Since my company develops both Web and Command Mode Applications, this functionality would greatly simplify our CI processes and help our developers who are all newbies with Quarkus. So I gave it a try and ended up with a subclass of DefaultDockerContainerLauncher where I also had to create a Custom DockerContainerLauncherProvider to get the networkId because Regards, |
Thanks @david-deck-gca for the |
Describe the bug
I am building native images and package those as container image:
mvn clean install -Pnative -Dquarkus.native.container-build=true -Dquarkus.container-image.build=true
I have a Command Mode Application, with a container that should be short lived, so thus I want to have it native, to boot fast.
Testing with @QuarkusMainis fine but @QuarkusMainIntegrationTest is not implemented. This is for some time, I was expecting at some point it will be implemented, but still not, thus this issue (maybe you forgot to implement this).
I do need to use Docker for integration testing (not having rights on a Windows machine, and cannot install additional Microsoft packages needed for native build, thus building using the build docker image, and the output also as an image).
Source code of
DefaultDockerContainerLauncher
:Expected behavior
@QuarkusMainIntegrationTest tests to run when the input is a Docker container.
Actual behavior
@QuarkusMainIntegrationTest not implemented for Docker.
How to Reproduce?
Output of
uname -a
orver
No response
Output of
java -version
No response
Mandrel or GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: