rbcb-bedag opened a new issue, #1722:
URL: https://github.com/apache/incubator-kie-issues/issues/1722

   # Setup
   Windows 23H2 but executed inside WSL 2 Distro Ubuntu 22.04.3 LTS.
   Used branch 10.0.x
   
   # Problem
   
   When using the project setup of the KIE Sandbox Quarkus Accelerator (eg. 
https://github.com/apache/incubator-kie-sandbox-quarkus-accelerator/tree/10.0.0)
 it wont startup correctly, because the TestContainer for data-index cannot be 
pulled => it does not exist on docker-hub.
   
   ```bash
   apache/incubator-kie-kogito-data-index-ephemeral:10.0 not found
   ```
   
   The problem is, that it should use the tag `10.0.0` and not `10.0`
   
   # How to reproduce:
   
   Clone Accelerator Repository:
   ```bash
   git clone 
https://github.com/apache/incubator-kie-sandbox-quarkus-accelerator.git;
   cd incubator-kie-sandbox-quarkus-accelerator
   ```
   
   Checkout branch 10.0.x
   ```bash
   git checkout tags/10.0.0 -b 10.0.x
   ```
   
   Do a maven build
   ```bash
   mvn clean install
   ```
   
   Startup in dev mode
   ```bash
   mvn quarkus:dev
   ```
   
   Output:
   ```
   2024-12-18 08:12:58,672 INFO  [tc.tes.1.0] (build-17) Container 
testcontainers/sshd:1.1.0 started in PT2.291080682S
   2024-12-18 08:13:00,835 ERROR [com.git.doc.api.asy.ResultCallbackTemplate] 
(docker-java-stream--288756554) Error during callback: 
com.github.dockerjava.api.exception.NotFoundException: Status 404: 
{"message":"manifest for apache/incubator-kie-kogito-data-index-ephemeral:10.0 
not found: manifest unknown: manifest unknown"}
   ```
   
   # Temporary Fix (for developers)
   
   We can manually define inside the `application.properties` which tag should 
be used for the devservice.
   
   ```bash
   # src/main/resources/application.properties
   
quarkus.kogito.devservices.image-name=apache/incubator-kie-kogito-data-index-ephemeral:10.0.0
   ``` 
   
   Now starting the application should spin up testcontainers for inifinispan, 
kafka and dataindex.
   
   ```bash
   mvn quarkus:dev
   ```
   
   
![image](https://github.com/user-attachments/assets/e712e9ad-c76c-4c42-a4b1-da14c4ca2ee0)
   
   
   # Also to consider
   This problem occurs for the template with infinispan (eg. ephemeral storage 
for dataindex).
   Maybe it also occurs when using postgres as persistence, but to test this we 
need to adjust the dependencies in the pom.xml (for now i don't know how the 
correct setup would look like).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to