You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "gnodet (via GitHub)" <gi...@apache.org> on 2026/03/05 11:31:26 UTC

[PR] chore(ci): add main branch build workflow and concurrency control [camel]

gnodet opened a new pull request, #21720:
URL: https://github.com/apache/camel/pull/21720

   ## Summary
   
   - Add `main-build.yml` workflow for push builds on `main` and release branches (`camel-4.10.x`, `camel-4.14.x`) with JDK 21
   - Add concurrency groups with `cancel-in-progress: true` to PR workflows (`pr-build-main`, `depsreview`, `pr-doc-validation`, `pr-id`) so outdated CI runs are automatically cancelled when a PR is updated
   
   Supersedes #20226 (rebased onto current main with updated action versions and JDK 17 dropped).
   
   ## Test plan
   - [ ] CI passes on this PR
   - [ ] Verify concurrency groups cancel previous runs on PR update
   - [ ] Verify main-build workflow triggers on push to main
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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] chore(ci): add main branch build workflow and concurrency control [camel]

Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet merged PR #21720:
URL: https://github.com/apache/camel/pull/21720


-- 
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] chore(ci): add main branch build workflow and concurrency control [camel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #21720:
URL: https://github.com/apache/camel/pull/21720#issuecomment-4004402276

   :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 `build-all`, `build-dependents`, `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


Re: [PR] chore(ci): add main branch build workflow and concurrency control [camel]

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on code in PR #21720:
URL: https://github.com/apache/camel/pull/21720#discussion_r2889848882


##########
.github/workflows/main-build.yml:
##########
@@ -0,0 +1,74 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: Main build
+
+on:
+  push:
+    branches:
+      - main
+      - camel-4.10.x

Review Comment:
   yeah 4.10 is EOL



-- 
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] chore(ci): add main branch build workflow and concurrency control [camel]

Posted by "Croway (via GitHub)" <gi...@apache.org>.
Croway commented on code in PR #21720:
URL: https://github.com/apache/camel/pull/21720#discussion_r2889456277


##########
.github/workflows/main-build.yml:
##########
@@ -0,0 +1,74 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: Main build
+
+on:
+  push:
+    branches:
+      - main
+      - camel-4.10.x

Review Comment:
   camel-4.18.x is missing, I think camel-4.10.x should be replaced with camel-4.18.x, I just did something similar to the jenkinsfiles, maybe the same need to be done on the GitHub



-- 
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