You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2025/03/17 11:33:10 UTC

(camel-quarkus-examples) branch camel-quarkus-main updated: Build saga project in its own CI group

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

jamesnetherton pushed a commit to branch camel-quarkus-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git


The following commit(s) were added to refs/heads/camel-quarkus-main by this push:
     new 1c9f0ba  Build saga project in its own CI group
1c9f0ba is described below

commit 1c9f0baa8be69a62248c22eda6b7fa1c0d406f4d
Author: James Netherton <ja...@gmail.com>
AuthorDate: Mon Mar 17 11:03:04 2025 +0000

    Build saga project in its own CI group
---
 .github/generate-test-groups.groovy | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.github/generate-test-groups.groovy b/.github/generate-test-groups.groovy
index 3c481d1..26d75f8 100644
--- a/.github/generate-test-groups.groovy
+++ b/.github/generate-test-groups.groovy
@@ -23,6 +23,11 @@ int groupId = 0
 // Distribute example projects across a bounded set of test groups and output as JSON
 new File(".").eachFileRecurse { file ->
     if (file.getName() == "pom.xml" && file.getParentFile().getParentFile().getName() == ".") {
+        if (file.getParentFile().getName() == "saga") {
+            // saga is put into a dedicated group as it's a multi-module build
+            return
+        }
+
         if (GROUPS[groupId] == null) {
             GROUPS[groupId] = [:]
             GROUPS[groupId].name = "group-${String.format("%02d", groupId + 1)}"
@@ -40,4 +45,9 @@ new File(".").eachFileRecurse { file ->
     }
 }
 
+// Add saga to a dedicated group
+GROUPS[MAX_GROUPS] = [:]
+GROUPS[MAX_GROUPS].name =  "group-${String.format("%02d", MAX_GROUPS + 1)}"
+GROUPS[MAX_GROUPS].tests = "saga"
+
 print JsonOutput.toJson(["include": GROUPS])