orpiske commented on PR #16200:
URL: https://github.com/apache/camel/pull/16200#issuecomment-2464874830

   @christophd I found a few more problems. 
   
   Considering this as the local path: 
`$HOME/code/java/camel/dsl/camel-jbang/camel-jbang-plugin-kubernetes`. 
   
   After running the test, I can see it creates two extra hidden directories in 
the component directory: `.camel-jbang` and `.camel-jbang-run`. 
   
   For instance:
   
   ```
   
[adjust-resource-intensive-tests][~/code/java/camel/dsl/camel-jbang/camel-jbang-plugin-kubernetes]$
 ls -la
   total 16
   drwxr-xr-x   7 opiske  staff   224 Nov  8 15:09 ./
   drwxr-xr-x@ 14 opiske  staff   448 Nov  8 09:06 ../
   drwxr-xr-x@  3 opiske  staff    96 Nov  8 15:09 .camel-jbang/
   drwxr-xr-x@  4 opiske  staff   128 Nov  8 15:09 .camel-jbang-run/
   -rw-r--r--@  1 opiske  staff  4613 Nov  8 14:30 pom.xml
   drwxr-xr-x@  5 opiske  staff   160 Oct  1 15:15 src/
   drwxr-xr-x@ 15 opiske  staff   480 Nov  8 14:30 target/
   ```
   
   Within these 2 directories, we can find multiple references to 
[`JIB`](https://quarkus.io/guides/container-image#jib), which is what is used 
by Quarkus to build containers: 
   
   ```
   ./.camel-jbang-run/route/pom.xml:24:        
<quarkus.container-image.builder>jib</quarkus.container-image.builder>
   ./.camel-jbang-run/route/pom.xml:62:            
<artifactId>quarkus-container-image-jib</artifactId>
   ./.camel-jbang-run/1731074985270/pom.xml:58:            
<artifactId>quarkus-container-image-jib</artifactId>
   
./.camel-jbang/camel-jbang-run.properties:15:camel.jbang.dependencies=io.quarkus\:quarkus-kubernetes,io.quarkus\:quarkus-container-image-jib
   
./.camel-jbang/camel-jbang-run.properties:17:dependency=mvn\:io.quarkus\:quarkus-container-image-jib
   
./src/main/java/org/apache/camel/dsl/jbang/core/commands/kubernetes/traits/model/Builder.java:113:
    @JsonPropertyDescription("A list of tasks sorted by the order of execution 
in a csv format, ie, `<taskName1>,<taskName2>,...`. Mind that you must include 
also the operator tasks (`builder`, `quarkus-native`, `package`, `jib`, `s2i`) 
if you need to execute them. Useful only with `pod` strategy.")
   
./src/main/java/org/apache/camel/dsl/jbang/core/commands/kubernetes/KubernetesRun.java:135:
                        description = "The image builder used to build the 
container image (e.g. docker, jib, podman, s2i).")
   
./src/main/java/org/apache/camel/dsl/jbang/core/commands/kubernetes/KubernetesRun.java:582:
                
args.add("-Dquarkus.jib.platforms=%s".formatted(imagePlatforms));
   
./src/main/java/org/apache/camel/dsl/jbang/core/commands/kubernetes/KubernetesExport.java:108:
    @CommandLine.Option(names = { "--image-builder" }, defaultValue = "jib",
   
./src/main/java/org/apache/camel/dsl/jbang/core/commands/kubernetes/KubernetesExport.java:109:
                        description = "The image builder used to build the 
container image (e.g. docker, jib, podman, s2i).")
   
./src/main/java/org/apache/camel/dsl/jbang/core/commands/kubernetes/KubernetesExport.java:296:
            if ("docker".equals(imageBuilder) || "jib".equals(imageBuilder)) {
   
./src/main/java/org/apache/camel/dsl/jbang/core/commands/kubernetes/KubernetesExport.java:323:
                    imageBuilder = "jib";
   ```
   
   


-- 
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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to