Closed rsvoboda closed 2 years ago
/cc @maxandersen, @michael-simons, @quarkusio/devtools, @stuartwdouglas
mvn quarkus:dev -Dquarkus.devservices.enabled=false
with docker available gives:
2021-12-13 21:22:08,464 INFO [org.tes.doc.DockerClientProviderStrategy] (main) Loaded org.testcontainers.dockerclient.UnixSocketClientProviderStrategy from ~/.testcontainers.properties, will try it first
2021-12-13 21:22:08,803 INFO [org.tes.doc.DockerClientProviderStrategy] (main) Found Docker environment with local Unix socket (unix:///var/run/docker.sock)
2021-12-13 21:22:08,804 INFO [org.tes.DockerClientFactory] (main) Docker host IP address is localhost
2021-12-13 21:22:08,840 INFO [org.tes.DockerClientFactory] (main) Connected to docker:
Server Version: 20.10.8
API Version: 1.41
Operating System: Docker Desktop
Total Memory: 7959 MB
2021-12-13 21:22:08,842 INFO [org.tes.uti.ImageNameSubstitutor] (main) Image name substitution will be performed by: DefaultImageNameSubstitutor (composite of 'ConfigurationFileImageNameSubstitutor' and 'PrefixingImageNameSubstitutor')
2021-12-13 21:22:09,462 INFO [org.tes.DockerClientFactory] (main) Ryuk started - will monitor and terminate Testcontainers containers on JVM exit
2021-12-13 21:22:09,462 INFO [org.tes.DockerClientFactory] (main) Checking the system...
2021-12-13 21:22:09,462 INFO [org.tes.DockerClientFactory] (main) ✔︎ Docker server version should be at least 1.6.0
2021-12-13 21:22:09,575 INFO [org.tes.DockerClientFactory] (main) ✔︎ Docker environment should have more than 2GB free disk space
__ ____ __ _____ ___ __ ____ ______
--/ __ \/ / / / _ | / _ \/ //_/ / / / __/
-/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \
--\___\_\____/_/ |_/_/|_/_/|_|\____/___/
2021-12-13 21:22:10,678 INFO [org.neo.dri.int.DriverFactory] (Quarkus Main Thread) Direct driver instance 1591354770 created for server address localhost:7687
2021-12-13 21:22:10,850 INFO [io.quarkus] (Quarkus Main Thread) code-with-quarkus 1.0.0-SNAPSHOT on JVM (powered by Quarkus 2.5.2.Final) started in 2.861s. Listening on: http://localhost:8080
2021-12-13 21:22:10,852 INFO [io.quarkus] (Quarkus Main Thread) Profile dev activated. Live Coding activated.
2021-12-13 21:22:10,853 INFO [io.quarkus] (Quarkus Main Thread) Installed features: [cdi, neo4j, resteasy, smallrye-context-propagation, vertx]
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
f53702429b84 testcontainers/ryuk:0.3.3 "/app" 44 seconds ago Up 44 seconds 0.0.0.0:50153->8080/tcp testcontainers-ryuk-8b83886f-ab36-47b6-ba28-b6ffcda5554d
Ok, it wasn't a great idea to put the IsDockerWorking
check into the annotation.
I have created a PR against 2.5 (See #22168).
Could you please transport this patch to the https://github.com/quarkiverse/quarkus-neo4j version, @gsmet before 2.6 goes out, too? I won't manage this week to get a hold on how to release it, but I like it fixed, too. Thank you!!
Describe the bug
quarkus-neo4j requires docker even if devservices are disabled
Expected behavior
quarkus-neo4j DOES NOT requires docker when devservices are disabled
Actual behavior
quarkus-neo4j requires docker even if devservices are disabled
How to Reproduce?
mvn quarkus:dev -Dquarkus.devservices.enabled=false
Output of
uname -a
orver
No response
Output of
java -version
Java 17
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.5.2.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.1
Additional information
No response