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 0d3eaa85a5fe chore: camel-jbang-it - run the tests without Docker on
Windows (#27898)
0d3eaa85a5fe is described below
commit 0d3eaa85a5fef9e960641170671e658cd071647b
Author: Jakub Vrubel <[email protected]>
AuthorDate: Thu Oct 15 16:37:52 2026 +0200
chore: camel-jbang-it - run the tests without Docker on Windows (#27898)
---
dsl/camel-jbang/camel-jbang-it/pom.xml | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/dsl/camel-jbang/camel-jbang-it/pom.xml
b/dsl/camel-jbang/camel-jbang-it/pom.xml
index 645d318c4d38..7ac1650dd2ee 100644
--- a/dsl/camel-jbang/camel-jbang-it/pom.xml
+++ b/dsl/camel-jbang/camel-jbang-it/pom.xml
@@ -218,6 +218,8 @@
<failsafe.forkCount>1C</failsafe.forkCount>
<x11.display>:0</x11.display>
<failsafe.excludedGroups/>
+ <!-- default to Docker-based service; overridden to
local-camel-cli-process by the windows-dockerless profile -->
+
<camel-cli.instance.type>local-camel-cli-container</camel-cli.instance.type>
</properties>
<build>
<plugins>
@@ -278,6 +280,7 @@
<cli.service.command>${cli.service.command}</cli.service.command>
<jbang.it.assert.wait.timeout>300</jbang.it.assert.wait.timeout>
<DISPLAY>${x11.display}</DISPLAY>
+
<camel-cli.instance.type>${camel-cli.instance.type}</camel-cli.instance.type>
</systemPropertyVariables>
<threadCountClasses>1</threadCountClasses>
</configuration>
@@ -298,6 +301,20 @@
<failsafe.excludedGroups>container-only</failsafe.excludedGroups>
</properties>
</profile>
+ <profile>
+ <!-- On Windows, default to running tests directly on the host OS
to achieve the correct configuration since the container is Fedora-based. -->
+ <id>windows-dockerless</id>
+ <activation>
+ <os>
+ <family>windows</family>
+ </os>
+ </activation>
+ <properties>
+
<camel-cli.instance.type>local-camel-cli-process</camel-cli.instance.type>
+ <failsafe.forkCount>1</failsafe.forkCount>
+
<failsafe.excludedGroups>container-only</failsafe.excludedGroups>
+ </properties>
+ </profile>
</profiles>
</project>