-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Dev Services with a remote Docker environment #18494
Comments
/cc @stuartwdouglas |
Did this used to work? I don't think we changed anything in particular here. |
Ah, never mind, just saw the linked issue. |
@philschaller any chance you could build the linked PR and see if it fixes your issue? I don't have a remote docker env to test. |
@stuartwdouglas Thanks for the quick fix! It works as expected.
|
Description
Since Quarkus 2.0.0.Alpha2 (#16904) Dev Services are restricted to local Docker environments. Any existing remote environments are ignored. Our build system relies on such a remote Docker environment (GitLab Runner with k8s and DinD).
Workaround
Use an explicit test container with
QuarkusTestResourceLifecycleManager
and disable Dev Services withquarkus.datasource.devservices=true
.Implementation ideas
In addition to the local check also evaluate DOCKER_HOST and probably also DOCKER_TLS_VERIFY, DOCKER_CERT_PATH.
The text was updated successfully, but these errors were encountered: