You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2022/04/29 04:19:40 UTC

[camel] branch main updated: CAMEL-18032: camel-jbang - Skip including docker-compose files

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 519393807eb CAMEL-18032: camel-jbang - Skip including docker-compose files
519393807eb is described below

commit 519393807eb6f9e147c301880a09555dba8d7d5f
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Apr 29 06:19:26 2022 +0200

    CAMEL-18032: camel-jbang - Skip including docker-compose files
---
 .../src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java   | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java
index 4408b813f15..05059433f4d 100644
--- a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java
+++ b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java
@@ -513,6 +513,10 @@ class Run implements Callable<Integer> {
         if ("camel-runner.jar".equals(name)) {
             return true;
         }
+        if ("docker-compose.yml".equals(name) || "docker-compose.yaml".equals(name) || "compose.yml".equals(name)
+                || "compose.yaml".equals(name)) {
+            return true;
+        }
 
         // skip dirs
         File f = new File(name);