You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2022/10/18 11:32:05 UTC

[camel] branch camel-3.18.x updated (fe1db1f0a68 -> 6eb8ee67748)

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

orpiske pushed a change to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git


    from fe1db1f0a68 Rework ref component docs sample section (#8561)
     new 1d8aaa0d296 (chores) ci: increase the number of maximum testable components
     new 7a551f0bc96 (chores) ci: add visual marker for skipped tests
     new f9c128845ec (chores) ci: add support for generating tests summaries
     new 401ad85dac6 (chores) ci: add support for generating checkstyle summaries
     new c07325acfc1 (chores) ci: label buildingtools changes
     new e93f637bff2 (chores) ci: label core build and dependencies changes
     new 34af1baf78b (chores) ci: label core build tooling changes
     new 90596a498b0 (chores) ci: fixes support for generating checkstyle summaries
     new 1eaf987d201 (chores) ci: fix the test results summary table
     new 4489db3f754 (chores) ci: added support for testing core changes
     new 6244f72246f (chores) ci: improved contribution bot messages
     new c6074b4c862 (chores) ci: fixed not generating checkstyle summary on success
     new 1eed52954c2 (chores) ci: make the results easier to understand
     new b859b2c7a64 (chores) ci: fixed missing core results table in summary
     new 836fbbe91d3 (chores) ci: include core as a testable component
     new 280690acb9e (chores) ci: use maven save-to-log instead of bash redirection
     new 72238c56698 (chores) ci: fixed results sable formatting
     new db51292d994 (chores) ci: try to use a newer version of the github-script for artifact download
     new 04826af9b92 (chores) ci: downgrade to the github-script on 3.x version
     new a6f6fd87ff7 (chores) ci: try to use a newer version of the github-script for artifact download
     new 6eb8ee67748 (chores) ci: save test logs from core tests

The 21 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/actions/quick-test/quick-test.sh      | 29 ++++++++++++++++++++++++--
 .github/workflows/component-pr.yaml           | 30 ++++++++++++++++-----------
 .github/workflows/generic-pr/label-config.yml | 10 +++++++++
 .github/workflows/pr-build.yml                | 10 +++++++++
 4 files changed, 65 insertions(+), 14 deletions(-)


[camel] 17/21: (chores) ci: fixed results sable formatting

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 72238c566987c23af3a36c6ded480803b8c83b97
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Oct 13 14:19:13 2022 +0200

    (chores) ci: fixed results sable formatting
---
 .github/workflows/component-pr.yaml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/component-pr.yaml b/.github/workflows/component-pr.yaml
index f619150dbf3..3d5b93b4501 100644
--- a/.github/workflows/component-pr.yaml
+++ b/.github/workflows/component-pr.yaml
@@ -106,11 +106,11 @@ jobs:
                 }
               }
             } else {
-              message = `### Components tested: 
-                    | Total | Tested | Failed :x: | Passed :white_check_mark: | 
-                    | --- | --- | --- |  --- |
-                    | ${total} | ${tested} | ${failures} | ${successes} | 
-                    `
+              message = `### Components tested:
+            
+            | Total | Tested | Failed :x: | Passed :white_check_mark: | 
+            | --- | --- | --- |  --- |
+            | ${total} | ${tested} | ${failures} | ${successes} |`
             }
 
             await github.rest.issues.createComment({


[camel] 10/21: (chores) ci: added support for testing core changes

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 4489db3f754ab1a1b4c6ae7aa5eaa7f00f40ac9b
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Oct 13 12:13:13 2022 +0200

    (chores) ci: added support for testing core changes
---
 .github/actions/quick-test/quick-test.sh | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/.github/actions/quick-test/quick-test.sh b/.github/actions/quick-test/quick-test.sh
index 9b00af62ce0..0e1b160822b 100755
--- a/.github/actions/quick-test/quick-test.sh
+++ b/.github/actions/quick-test/quick-test.sh
@@ -93,6 +93,11 @@ function componentTest() {
   fi
 }
 
+function coreTest() {
+  cd "core"
+  runTest "core" "1" "1"
+}
+
 function main() {
   local current=0
   local startCommit=${1:-""}
@@ -100,6 +105,13 @@ function main() {
 
   mkdir -p "${logDir}"
 
+  echo "Searching for camel core changes"
+  local core=$(git diff "${startCommit}..${endCommit}" --name-only --pretty=format:"" | grep -e '^core' | grep -v -e '^$' | cut -d / -f 1 | uniq | sort)
+  if [[ ! -z "${core}" ]] ; then
+    coreTest
+  fi
+
+
   echo "Searching for modified components"
   local components=$(git diff "${startCommit}..${endCommit}" --name-only --pretty=format:"" | grep -e '^components' | grep -v -e '^$' | cut -d / -f 1-2 | uniq | sort)
   local total=$(echo "${components}" | grep -v -e '^$' | wc -l)


[camel] 16/21: (chores) ci: use maven save-to-log instead of bash redirection

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 280690acb9e81e9d4c473a7599c52b0a8caa8a18
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Oct 13 14:13:07 2022 +0200

    (chores) ci: use maven save-to-log instead of bash redirection
---
 .github/actions/quick-test/quick-test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/actions/quick-test/quick-test.sh b/.github/actions/quick-test/quick-test.sh
index b0c920d80be..d195766fc03 100755
--- a/.github/actions/quick-test/quick-test.sh
+++ b/.github/actions/quick-test/quick-test.sh
@@ -63,7 +63,7 @@ function runTest() {
   echo ""
 
   echo "Logging test to ${logDir}/${component/\//-}.log"
-  mvn -Psourcecheck ${MVN_OPTS} verify 2>&1 >> "${logDir}/${component/\//-}.log"
+  mvn -l "${logDir}/${component/\//-}.log" -Psourcecheck ${MVN_OPTS} verify
   if [[ $? -ne 0 ]]; then
     ((failures++))
     notifyError "${component} test" "${total}" "${current}" "${failures}"


[camel] 14/21: (chores) ci: fixed missing core results table in summary

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit b859b2c7a64023edd7ebd3b2ba12e5eafd82c7e7
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Oct 13 13:56:14 2022 +0200

    (chores) ci: fixed missing core results table in summary
---
 .github/actions/quick-test/quick-test.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/actions/quick-test/quick-test.sh b/.github/actions/quick-test/quick-test.sh
index c063539ab5a..b0c920d80be 100755
--- a/.github/actions/quick-test/quick-test.sh
+++ b/.github/actions/quick-test/quick-test.sh
@@ -96,6 +96,9 @@ function componentTest() {
 }
 
 function coreTest() {
+  echo "| Core | Result |" >> $GITHUB_STEP_SUMMARY
+  echo "| --- | --- |" >> $GITHUB_STEP_SUMMARY
+
   cd "core"
   runTest "core" "1" "1"
 }
@@ -135,6 +138,7 @@ function main() {
   echo "It will test the following ${total} components:"
   echo "${components}"
 
+  echo "" >> $GITHUB_STEP_SUMMARY
   echo "| Component | Result |" >> $GITHUB_STEP_SUMMARY
   echo "| --- | --- |" >> $GITHUB_STEP_SUMMARY
   current=0


[camel] 13/21: (chores) ci: make the results easier to understand

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 1eed52954c27d916a13f623369d1db79fe1a15ff
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Oct 13 13:18:51 2022 +0200

    (chores) ci: make the results easier to understand
---
 .github/actions/quick-test/quick-test.sh |  6 +++++-
 .github/workflows/component-pr.yaml      | 15 ++++++++-------
 2 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/.github/actions/quick-test/quick-test.sh b/.github/actions/quick-test/quick-test.sh
index 0e1b160822b..c063539ab5a 100755
--- a/.github/actions/quick-test/quick-test.sh
+++ b/.github/actions/quick-test/quick-test.sh
@@ -27,6 +27,7 @@ MVN_OPTS=${MVN_OPTS:-$MVN_DEFAULT_OPTS}
 
 # Script variables
 failures=0
+successes=0
 maxNumberOfTestableComponents=20
 basedir=$(pwd)
 testDate=$(date '+%Y-%m-%d-%H%M%S')
@@ -67,6 +68,7 @@ function runTest() {
     ((failures++))
     notifyError "${component} test" "${total}" "${current}" "${failures}"
   else
+    ((successes++))
     notifySuccess "${component}" "${total}" "${current}" "${failures}"
   fi
 
@@ -111,7 +113,6 @@ function main() {
     coreTest
   fi
 
-
   echo "Searching for modified components"
   local components=$(git diff "${startCommit}..${endCommit}" --name-only --pretty=format:"" | grep -e '^components' | grep -v -e '^$' | cut -d / -f 1-2 | uniq | sort)
   local total=$(echo "${components}" | grep -v -e '^$' | wc -l)
@@ -120,11 +121,13 @@ function main() {
   if [[ ${total} -eq 0 ]]; then
     echo "0" > "${logDir}/tested"
     echo "0" > "${logDir}/failures"
+    echo "0" > "${logDir}/successes"
     exit 0
   else
     if [[ ${total} -gt ${maxNumberOfTestableComponents} ]]; then
       echo "0" > "${logDir}/tested"
       echo "0" > "${logDir}/failures"
+      echo "0" > "${logDir}/successes"
       exit 0
     fi
   fi
@@ -142,6 +145,7 @@ function main() {
 
   echo "${total}" > "${logDir}/tested"
   echo "${failures}" > "${logDir}/failures"
+  echo "${successes}" > "${logDir}/successes"
   exit "${failures}"
 }
 
diff --git a/.github/workflows/component-pr.yaml b/.github/workflows/component-pr.yaml
index 20a46a420b6..47836d91326 100644
--- a/.github/workflows/component-pr.yaml
+++ b/.github/workflows/component-pr.yaml
@@ -47,7 +47,7 @@ jobs:
               issue_number: context.issue.number,
               owner: context.repo.owner,
               repo: context.repo.repo,
-              body: `:star2: Thanks for your contribution to the Apache Camel project! :star2: 
+              body: `:star2: Thank you for your contribution to the Apache Camel project! :star2: 
             
             :warning: Please note that the changes on this PR may be **tested automatically**. 
             
@@ -92,7 +92,8 @@ jobs:
             let total = Number(fs.readFileSync('./total'));
             let tested = Number(fs.readFileSync('./tested'));
             let failures = Number(fs.readFileSync('./failures'));
-
+            let successes = Number(fs.readFileSync('./successes'));
+                                
             var message = ""
 
             if (tested === 0) {
@@ -104,11 +105,11 @@ jobs:
                 }
               }
             } else {
-              if (failures === 0) {
-                message = `:heavy_check_mark: Finished component verification: ${failures} component(s) test failed out of **${tested} component(s) tested**`
-              } else {
-                message = `:x: Finished component verification: **${failures} component(s) test failed** out of ${tested} component(s) tested`
-              }
+              message = `### Components tested: 
+                    | Total | Tested | Failed :x: | Passed :white_check_mark: | 
+                    | --- | --- | --- |  --- |
+                    | ${total} | ${tested} | ${failures} | ${successes} | 
+                    `
             }
 
             await github.rest.issues.createComment({


[camel] 21/21: (chores) ci: save test logs from core tests

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 6eb8ee67748f05199f1de46f4061056a4c6b3f70
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Oct 13 16:16:45 2022 +0200

    (chores) ci: save test logs from core tests
---
 .github/actions/quick-test/quick-test.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/actions/quick-test/quick-test.sh b/.github/actions/quick-test/quick-test.sh
index d195766fc03..2eb749fa4bb 100755
--- a/.github/actions/quick-test/quick-test.sh
+++ b/.github/actions/quick-test/quick-test.sh
@@ -101,6 +101,7 @@ function coreTest() {
 
   cd "core"
   runTest "core" "1" "1"
+  find . -iname '*test*.log' -exec mv {} "${logDir}"/ \;
 }
 
 function main() {


[camel] 05/21: (chores) ci: label buildingtools changes

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit c07325acfc17d1112a485fd976c11e2438723a3b
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Oct 13 10:58:04 2022 +0200

    (chores) ci: label buildingtools changes
---
 .github/workflows/generic-pr/label-config.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/generic-pr/label-config.yml b/.github/workflows/generic-pr/label-config.yml
index d9b7e0f96c2..06d7059b4cf 100644
--- a/.github/workflows/generic-pr/label-config.yml
+++ b/.github/workflows/generic-pr/label-config.yml
@@ -57,6 +57,7 @@ tests:
 
 tooling:
   - tooling/**/*
+  - buildingtools/**/*
 
 tooling-maven:
   - archetypes/**/*


[camel] 18/21: (chores) ci: try to use a newer version of the github-script for artifact download

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit db51292d994f9762a0cc7ecfb0bcbbf10848e9f5
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Oct 13 15:01:02 2022 +0200

    (chores) ci: try to use a newer version of the github-script for artifact download
---
 .github/workflows/component-pr.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/component-pr.yaml b/.github/workflows/component-pr.yaml
index 3d5b93b4501..b5d5a405b5d 100644
--- a/.github/workflows/component-pr.yaml
+++ b/.github/workflows/component-pr.yaml
@@ -55,7 +55,7 @@ jobs:
             If necessary Apache Camel Committers may access logs and test results in the job summaries!`
             })
       - name: 'Download artifact'
-        uses: actions/github-script@v3.1.0
+        uses: actions/github-script@v6
         if: |
           github.event_name == 'workflow_run'
         with:


[camel] 15/21: (chores) ci: include core as a testable component

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 836fbbe91d3fdbd9839a1d91237b08c30c7c4d9e
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Oct 13 13:58:43 2022 +0200

    (chores) ci: include core as a testable component
---
 .github/workflows/component-pr.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/component-pr.yaml b/.github/workflows/component-pr.yaml
index 47836d91326..f619150dbf3 100644
--- a/.github/workflows/component-pr.yaml
+++ b/.github/workflows/component-pr.yaml
@@ -23,6 +23,7 @@ on:
       - opened
       - reopened
     paths:
+      - 'core/**'
       - 'components/**'
   workflow_run:
     workflows: [ "main pr build" ]


[camel] 20/21: (chores) ci: try to use a newer version of the github-script for artifact download

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit a6f6fd87ff721d655be5c975ab41c13fa117c4e9
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Oct 13 16:04:37 2022 +0200

    (chores) ci: try to use a newer version of the github-script for artifact download
    
    Also adjust the calls to the rest actions due to changes in github-script v5 and newer
---
 .github/workflows/component-pr.yaml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/component-pr.yaml b/.github/workflows/component-pr.yaml
index 2bc860f8ef0..5fa1d2c42ab 100644
--- a/.github/workflows/component-pr.yaml
+++ b/.github/workflows/component-pr.yaml
@@ -55,7 +55,7 @@ jobs:
             If necessary Apache Camel Committers may access logs and test results in the job summaries!`
             })
       - name: 'Download artifact'
-        uses: actions/github-script@v3.1.1
+        uses: actions/github-script@v6
         if: |
           github.event_name == 'workflow_run'
         with:
@@ -63,7 +63,7 @@ jobs:
 # - https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
 # - https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_run
           script: |
-            var artifacts = await github.actions.listWorkflowRunArtifacts({
+            var artifacts = await github.rest.actions.listWorkflowRunArtifacts({
                owner: context.repo.owner,
                repo: context.repo.repo,
                run_id: ${{github.event.workflow_run.id }},
@@ -71,7 +71,7 @@ jobs:
             var matchArtifact = artifacts.data.artifacts.filter((artifact) => {
               return artifact.name == "test-logs"
             })[0];
-            var download = await github.actions.downloadArtifact({
+            var download = await github.rest.actions.downloadArtifact({
                owner: context.repo.owner,
                repo: context.repo.repo,
                artifact_id: matchArtifact.id,


[camel] 08/21: (chores) ci: fixes support for generating checkstyle summaries

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 90596a498b0a67dd324a1804928a95aa09a939cd
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Oct 13 11:06:39 2022 +0200

    (chores) ci: fixes support for generating checkstyle summaries
---
 .github/workflows/main-checkstyle-build.yml | 10 ----------
 .github/workflows/pr-build.yml              | 10 ++++++++++
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/main-checkstyle-build.yml b/.github/workflows/main-checkstyle-build.yml
index 8a4f7dbe195..aa360a6f40e 100644
--- a/.github/workflows/main-checkstyle-build.yml
+++ b/.github/workflows/main-checkstyle-build.yml
@@ -51,13 +51,3 @@ jobs:
         with:
           name: checkstyle.log
           path: checkstyle.log
-      - name: Generate failure checkstyle summary
-        if: failure()
-        run: |
-          echo ":x: Checkstyle failed" >> $GITHUB_STEP_SUMMARY
-          echo "" >> $GITHUB_STEP_SUMMARY
-      - name: Generate successful checkstyle summary
-        if: failure()
-        run: |
-          echo ":white_check_mark: Checkstyle passed" >> $GITHUB_STEP_SUMMARY
-          echo "" >> $GITHUB_STEP_SUMMARY
diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml
index b8c5f9dc89f..38c1109efcb 100644
--- a/.github/workflows/pr-build.yml
+++ b/.github/workflows/pr-build.yml
@@ -54,6 +54,16 @@ jobs:
       with:
         name: checkstyle.log
         path: checkstyle.log
+    - name: Generate failure checkstyle summary
+      if: failure()
+      run: |
+        echo ":x: Checkstyle failed" >> $GITHUB_STEP_SUMMARY
+        echo "" >> $GITHUB_STEP_SUMMARY
+    - name: Generate successful checkstyle summary
+      if: failure()
+      run: |
+        echo ":white_check_mark: Checkstyle passed" >> $GITHUB_STEP_SUMMARY
+        echo "" >> $GITHUB_STEP_SUMMARY
   build:
     if: github.repository == 'apache/camel'
     permissions:


[camel] 09/21: (chores) ci: fix the test results summary table

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 1eaf987d201b0f142c1cf4aea629a7fc1def8270
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Oct 13 11:58:28 2022 +0200

    (chores) ci: fix the test results summary table
---
 .github/actions/quick-test/quick-test.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/.github/actions/quick-test/quick-test.sh b/.github/actions/quick-test/quick-test.sh
index bb65a479630..9b00af62ce0 100755
--- a/.github/actions/quick-test/quick-test.sh
+++ b/.github/actions/quick-test/quick-test.sh
@@ -62,9 +62,6 @@ function runTest() {
   echo ""
 
   echo "Logging test to ${logDir}/${component/\//-}.log"
-  echo "| Component | Result |" >> $GITHUB_STEP_SUMMARY
-  echo "| --- | --- |" >> $GITHUB_STEP_SUMMARY
-
   mvn -Psourcecheck ${MVN_OPTS} verify 2>&1 >> "${logDir}/${component/\//-}.log"
   if [[ $? -ne 0 ]]; then
     ((failures++))
@@ -123,6 +120,8 @@ function main() {
   echo "It will test the following ${total} components:"
   echo "${components}"
 
+  echo "| Component | Result |" >> $GITHUB_STEP_SUMMARY
+  echo "| --- | --- |" >> $GITHUB_STEP_SUMMARY
   current=0
   for component in $(echo $components); do
     ((current++))


[camel] 07/21: (chores) ci: label core build tooling changes

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 34af1baf78bf147b20e4438dcd53d1ffe7aee5b6
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Oct 13 11:02:34 2022 +0200

    (chores) ci: label core build tooling changes
---
 .github/workflows/generic-pr/label-config.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/generic-pr/label-config.yml b/.github/workflows/generic-pr/label-config.yml
index 7034e49ff0e..9361c5a32f5 100644
--- a/.github/workflows/generic-pr/label-config.yml
+++ b/.github/workflows/generic-pr/label-config.yml
@@ -27,6 +27,11 @@ core-build-and-dependencies:
   - camel-dependencies/**
   - parent/**
 
+core-build-tooling:
+  - buildingtools/**/*
+  - etc/**/*
+  - init/**/*
+
 catalog:
   - catalog/**/*
 
@@ -62,7 +67,6 @@ tests:
 
 tooling:
   - tooling/**/*
-  - buildingtools/**/*
 
 tooling-maven:
   - archetypes/**/*


[camel] 06/21: (chores) ci: label core build and dependencies changes

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit e93f637bff24315291adff8150ac5aa36d9a53d1
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Oct 13 11:00:48 2022 +0200

    (chores) ci: label core build and dependencies changes
---
 .github/workflows/generic-pr/label-config.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.github/workflows/generic-pr/label-config.yml b/.github/workflows/generic-pr/label-config.yml
index 06d7059b4cf..7034e49ff0e 100644
--- a/.github/workflows/generic-pr/label-config.yml
+++ b/.github/workflows/generic-pr/label-config.yml
@@ -22,6 +22,11 @@ ci:
 core:
   - core/**/*
 
+core-build-and-dependencies:
+  - apache-camel/**
+  - camel-dependencies/**
+  - parent/**
+
 catalog:
   - catalog/**/*
 


[camel] 11/21: (chores) ci: improved contribution bot messages

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 6244f72246fa7a16992327c45e55ef741b7eca9a
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Oct 13 12:28:12 2022 +0200

    (chores) ci: improved contribution bot messages
---
 .github/workflows/component-pr.yaml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/component-pr.yaml b/.github/workflows/component-pr.yaml
index ba6630d9049..20a46a420b6 100644
--- a/.github/workflows/component-pr.yaml
+++ b/.github/workflows/component-pr.yaml
@@ -47,7 +47,11 @@ jobs:
               issue_number: context.issue.number,
               owner: context.repo.owner,
               repo: context.repo.repo,
-              body: `:warning: This PR changes Camel components and will be tested automatically.`
+              body: `:star2: Thanks for your contribution to the Apache Camel project! :star2: 
+            
+            :warning: Please note that the changes on this PR may be **tested automatically**. 
+            
+            If necessary Apache Camel Committers may access logs and test results in the job summaries!`
             })
       - name: 'Download artifact'
         uses: actions/github-script@v3.1.0
@@ -96,7 +100,7 @@ jobs:
                 message = ":no_entry_sign: There are (likely) no components to be tested in this PR"
               } else {
                 if (total > 20) {
-                  message = `:leftwards_arrow_with_hook: There are too many components to be tested in this PR, components were removed or the code needs a rebase: (${total} likely to be tested)`
+                  message = `:leftwards_arrow_with_hook: There are either **too many** changes to be tested in this PR or the code **needs be rebased**: (${total} components likely to be affected)`
                 }
               }
             } else {


[camel] 02/21: (chores) ci: add visual marker for skipped tests

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 7a551f0bc96025079e7c63a8dbc71a9cd1b5d206
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Oct 13 10:30:00 2022 +0200

    (chores) ci: add visual marker for skipped tests
---
 .github/workflows/component-pr.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/component-pr.yaml b/.github/workflows/component-pr.yaml
index c41f5437f41..ba6630d9049 100644
--- a/.github/workflows/component-pr.yaml
+++ b/.github/workflows/component-pr.yaml
@@ -96,7 +96,7 @@ jobs:
                 message = ":no_entry_sign: There are (likely) no components to be tested in this PR"
               } else {
                 if (total > 20) {
-                  message = `There are too many components to be tested in this PR, components were removed or the code needs a rebase: (${total} likely to be tested)`
+                  message = `:leftwards_arrow_with_hook: There are too many components to be tested in this PR, components were removed or the code needs a rebase: (${total} likely to be tested)`
                 }
               }
             } else {


[camel] 19/21: (chores) ci: downgrade to the github-script on 3.x version

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 04826af9b92fc58ac6ee5a3ffd33a63a49a0f29a
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Oct 13 15:58:06 2022 +0200

    (chores) ci: downgrade to the github-script on 3.x version
---
 .github/workflows/component-pr.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/component-pr.yaml b/.github/workflows/component-pr.yaml
index b5d5a405b5d..2bc860f8ef0 100644
--- a/.github/workflows/component-pr.yaml
+++ b/.github/workflows/component-pr.yaml
@@ -55,7 +55,7 @@ jobs:
             If necessary Apache Camel Committers may access logs and test results in the job summaries!`
             })
       - name: 'Download artifact'
-        uses: actions/github-script@v6
+        uses: actions/github-script@v3.1.1
         if: |
           github.event_name == 'workflow_run'
         with:


[camel] 01/21: (chores) ci: increase the number of maximum testable components

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 1d8aaa0d296e8d7b8a1b7f6af6c751816fc345f7
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Oct 13 09:35:26 2022 +0200

    (chores) ci: increase the number of maximum testable components
    
    Increases the number of testable components to 20.
---
 .github/actions/quick-test/quick-test.sh | 2 +-
 .github/workflows/component-pr.yaml      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/actions/quick-test/quick-test.sh b/.github/actions/quick-test/quick-test.sh
index 36816cab505..0e0ad4fbdf4 100755
--- a/.github/actions/quick-test/quick-test.sh
+++ b/.github/actions/quick-test/quick-test.sh
@@ -27,7 +27,7 @@ MVN_OPTS=${MVN_OPTS:-$MVN_DEFAULT_OPTS}
 
 # Script variables
 failures=0
-maxNumberOfTestableComponents=15
+maxNumberOfTestableComponents=20
 basedir=$(pwd)
 testDate=$(date '+%Y-%m-%d-%H%M%S')
 logDir=${basedir}/automated-build-log
diff --git a/.github/workflows/component-pr.yaml b/.github/workflows/component-pr.yaml
index 6ff7614e76a..c41f5437f41 100644
--- a/.github/workflows/component-pr.yaml
+++ b/.github/workflows/component-pr.yaml
@@ -95,7 +95,7 @@ jobs:
               if (total === 0) {
                 message = ":no_entry_sign: There are (likely) no components to be tested in this PR"
               } else {
-                if (total > 10) {
+                if (total > 20) {
                   message = `There are too many components to be tested in this PR, components were removed or the code needs a rebase: (${total} likely to be tested)`
                 }
               }


[camel] 03/21: (chores) ci: add support for generating tests summaries

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit f9c128845ec81eb9a07c4c4073290b69a5c0e5ff
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Oct 13 10:31:39 2022 +0200

    (chores) ci: add support for generating tests summaries
---
 .github/actions/quick-test/quick-test.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.github/actions/quick-test/quick-test.sh b/.github/actions/quick-test/quick-test.sh
index 0e0ad4fbdf4..bb65a479630 100755
--- a/.github/actions/quick-test/quick-test.sh
+++ b/.github/actions/quick-test/quick-test.sh
@@ -39,6 +39,7 @@ function notifySuccess() {
   local current=$3
 
   echo "${component} test completed successfully: ${current} verified / ${failures} failed"
+  echo "| ${component} | :white_check_mark: pass" >> $GITHUB_STEP_SUMMARY
 }
 
 function notifyError() {
@@ -47,6 +48,7 @@ function notifyError() {
   local current=$3
 
   echo "Failed ${component} test: ${current} verified / ${failures} failed"
+  echo "| ${component} | :x: fail" >> $GITHUB_STEP_SUMMARY
 }
 
 function runTest() {
@@ -60,6 +62,9 @@ function runTest() {
   echo ""
 
   echo "Logging test to ${logDir}/${component/\//-}.log"
+  echo "| Component | Result |" >> $GITHUB_STEP_SUMMARY
+  echo "| --- | --- |" >> $GITHUB_STEP_SUMMARY
+
   mvn -Psourcecheck ${MVN_OPTS} verify 2>&1 >> "${logDir}/${component/\//-}.log"
   if [[ $? -ne 0 ]]; then
     ((failures++))


[camel] 04/21: (chores) ci: add support for generating checkstyle summaries

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 401ad85dac6b548f5f0b08a55fa4ffa7bca3ae9e
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Oct 13 10:38:53 2022 +0200

    (chores) ci: add support for generating checkstyle summaries
---
 .github/workflows/main-checkstyle-build.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.github/workflows/main-checkstyle-build.yml b/.github/workflows/main-checkstyle-build.yml
index aa360a6f40e..8a4f7dbe195 100644
--- a/.github/workflows/main-checkstyle-build.yml
+++ b/.github/workflows/main-checkstyle-build.yml
@@ -51,3 +51,13 @@ jobs:
         with:
           name: checkstyle.log
           path: checkstyle.log
+      - name: Generate failure checkstyle summary
+        if: failure()
+        run: |
+          echo ":x: Checkstyle failed" >> $GITHUB_STEP_SUMMARY
+          echo "" >> $GITHUB_STEP_SUMMARY
+      - name: Generate successful checkstyle summary
+        if: failure()
+        run: |
+          echo ":white_check_mark: Checkstyle passed" >> $GITHUB_STEP_SUMMARY
+          echo "" >> $GITHUB_STEP_SUMMARY


[camel] 12/21: (chores) ci: fixed not generating checkstyle summary on success

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit c6074b4c8622518608e11164e94856d99a2e7cb7
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Oct 13 12:52:34 2022 +0200

    (chores) ci: fixed not generating checkstyle summary on success
---
 .github/workflows/pr-build.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml
index 38c1109efcb..776a04460bf 100644
--- a/.github/workflows/pr-build.yml
+++ b/.github/workflows/pr-build.yml
@@ -60,7 +60,7 @@ jobs:
         echo ":x: Checkstyle failed" >> $GITHUB_STEP_SUMMARY
         echo "" >> $GITHUB_STEP_SUMMARY
     - name: Generate successful checkstyle summary
-      if: failure()
+      if: success()
       run: |
         echo ":white_check_mark: Checkstyle passed" >> $GITHUB_STEP_SUMMARY
         echo "" >> $GITHUB_STEP_SUMMARY