You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "jvrubel (via GitHub)" <gi...@apache.org> on 2026/10/15 12:00:03 UTC
[PR] [Jbang-it] Default to dockerless execution on Windows [camel]
jvrubel opened a new pull request, #27898:
URL: https://github.com/apache/camel/pull/27898
- A new windows-dockerless Maven profile activates automatically via OS detection (<family>windows</family>) and sets camel-cli.instance.type=local-camel-cli-process, selecting CliLocalProcessService instead of
CliLocalContainerService.
- The jbang-it-test profile now forwards camel-cli.instance.type through Failsafe's <systemPropertyVariables>, so the service selection property reaches the test JVM correctly.
- On Windows, failsafe.forkCount is reduced to 1 (no Docker-managed parallelism required) and tests tagged container-only are excluded, since those rely on container-specific operations such as SSH and
/home/jbang path assumptions.
- Non-Windows behavior is unchanged: camel-cli.instance.type defaults to local-camel-cli-container and tests run inside a Docker container as before.
**Why bypassing Docker matters**
CliLocalProcessService runs JBang and the Camel CLI directly on the host via ProcessBuilder, using cmd /c on Windows and /bin/bash -c on Unix. This is the only execution mode that truly works on Windows — the
container service relies on a Linux image and POSIX paths that are not available in a standard Windows environment. With this change, contributors on Windows can run mvn verify -Djbang-it-test and exercise the
same IT suite that CI runs on Linux, without needing Docker Desktop.
**Test plan**
- [ ] On Linux/macOS with Docker: mvn verify -Djbang-it-test — windows-dockerless profile inactive, container service used, full test suite runs as before.
- [ ] On Windows: mvn verify -Djbang-it-test — windows-dockerless profile auto-activates, CliLocalProcessService selected, container-only tests skipped, remaining tests pass.
- [ ] Explicit override on Windows: mvn verify -Djbang-it-test -Dcamel-cli.instance.type=local-camel-cli-container — command-line -D takes priority over the Windows profile, container service is selected.
--
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-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Jbang-it] Default to dockerless execution on Windows [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #27898:
URL: https://github.com/apache/camel/pull/27898#issuecomment-6192287800
<!-- ci-tested-modules -->
:test_tube: **CI tested the following changed modules:**
- `dsl/camel-jbang/camel-jbang-it`
---
<details><summary>:microscope: Scalpel shadow comparison — Scalpel: 0 of 705 tested, 0 compile-only — current: 0 all tested</summary>
[Maveniverse Scalpel](https://github.com/maveniverse/scalpel) detected **0 affected modules** (current approach: 0).
**Skip-tests mode would test 0 modules** (1 direct + 0 downstream), **skip tests for 0** (generated code, meta-modules)
<details><summary>Modules Scalpel would test (0)</summary>
</details>
> :information_source: Shadow mode — Scalpel observes but does not affect test execution. [Learn more](https://github.com/maveniverse/scalpel)
</details>
:warning: **Some tests are disabled on GitHub Actions** (`@DisabledIfSystemProperty(named = "ci.env.name")`) and require manual verification:
- `dsl/camel-jbang/camel-jbang-it`: 1 test(s) disabled on GitHub Actions
---
:gear: [View full build and test results](https://github.com/apache/camel/actions/runs/38731361365)
--
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-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Jbang-it] Default to dockerless execution on Windows [camel]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus merged PR #27898:
URL: https://github.com/apache/camel/pull/27898
--
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-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Jbang-it] Default to dockerless execution on Windows [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #27898:
URL: https://github.com/apache/camel/pull/27898#issuecomment-6191922318
:star2: Thank you for your contribution to the Apache Camel project! :star2:
:robot: CI automation will test this PR automatically.
:camel: Apache Camel Committers, please review the following items:
* First-time contributors **require MANUAL approval** for the GitHub Actions to run
* You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot although they are normally detected and executed by CI.
* You can label PRs using `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR.
* Build and test logs are available in the summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary.
:warning: Be careful when sharing logs. Review their contents before sharing them publicly.
--
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-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org