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

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


The following commit(s) were added to refs/heads/main by this push:
     new cfa7ad46c8 Remove redundant steps from JDK 25 & Semeru CI workflows
cfa7ad46c8 is described below

commit cfa7ad46c80b996b2a295fd1f71f7ba6517fe1c0
Author: James Netherton <[email protected]>
AuthorDate: Fri Feb 13 07:14:08 2026 +0000

    Remove redundant steps from JDK 25 & Semeru CI workflows
---
 .github/workflows/ci-semeru-jdk.yaml | 85 ++----------------------------------
 .github/workflows/jdk25-build.yaml   | 82 +---------------------------------
 2 files changed, 5 insertions(+), 162 deletions(-)

diff --git a/.github/workflows/ci-semeru-jdk.yaml 
b/.github/workflows/ci-semeru-jdk.yaml
index ab09cc598b..ea94141b78 100644
--- a/.github/workflows/ci-semeru-jdk.yaml
+++ b/.github/workflows/ci-semeru-jdk.yaml
@@ -19,8 +19,8 @@ name: Semeru JDK Testing
 
 on:
   schedule:
-    # Run every sunday at 0 AM
-    - cron:  '0 0 * * SUN'
+    # Run every Saturday at 0 AM
+    - cron:  '0 0 * * SAT'
   workflow_dispatch:
 
 concurrency:
@@ -35,68 +35,9 @@ env:
   CHECKOUT_REF: ${{ github.event_name == 'pull_request' && 
github.event.pull_request.user.login == 'dependabot[bot]' && github.head_ref || 
'' }}
 
 jobs:
-  pre-build-checks:
-    if: github.repository == 'apache/camel-quarkus'
-    runs-on: ubuntu-latest
-    outputs:
-      continue-build: ${{ steps.pre-build-checks.outputs.continue-build }}
-      run-checks: ${{ steps.init.outputs.run-checks }}
-    steps:
-      - name: Initialize
-        id: init
-        run: |
-          if [[ "${{ github.event_name }}" == "pull_request" ]] && [[ "${{ 
github.event.pull_request.user.login }}" == "dependabot[bot]" ]]; then
-            echo "run-checks=true" >> $GITHUB_OUTPUT
-          else
-            echo "run-checks=false" >> $GITHUB_OUTPUT
-          fi
-      - name: Set up Semeru JDK 21
-        uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # 
v5.2.0
-        if: steps.init.outputs.run-checks == 'true'
-        with:
-          distribution: 'semeru'
-          java-version: '21'
-      - name: Checkout
-        uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 
v6.0.2
-        if: steps.init.outputs.run-checks == 'true'
-        with:
-          ref: ${{ env.CHECKOUT_REF }}
-          fetch-depth: 0
-      - name: Pre build checks
-        id: pre-build-checks
-        run: |
-          if [[ "${{ steps.init.outputs.run-checks }}" == "true" ]]; then
-            ./mvnw cq:sync-versions -N ${CQ_MAVEN_ARGS}
-            ./mvnw clean install -pl poms/bom -am -Dcq.flatten-bom.format 
--fail-never ${CQ_MAVEN_ARGS}
-            ./mvnw clean install -f poms/bom ${CQ_MAVEN_ARGS}
-            ./mvnw clean validate -pl docs ${CQ_MAVEN_ARGS}
-
-            if [[ -z "$(git status --porcelain)" ]]; then
-              echo "continue-build=true" >> $GITHUB_OUTPUT
-            else
-              mkdir ./dependabot-pr
-              echo ${{ github.head_ref }} > ./dependabot-pr/BRANCH_REF
-              echo ${{ github.event.pull_request.head.sha }} > 
./dependabot-pr/PR_HEAD_SHA
-              echo "$GITHUB_REF" | awk -F / '{print $3}' >  
./dependabot-pr/PR_NUMBER
-              git diff -p --binary > ./dependabot-pr/changes.patch
-
-              echo "continue-build=false" >> $GITHUB_OUTPUT
-            fi
-          else
-            echo "continue-build=true" >> $GITHUB_OUTPUT
-          fi
-      - name: Upload dependabot changeset
-        uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f 
# v6.0.0
-        if: steps.pre-build-checks.outputs.continue-build == 'false'
-        with:
-          name: dependabot-pr-changeset
-          path: dependabot-pr/
-          retention-days: 1
-
   initial-mvn-install:
-    if: needs.pre-build-checks.outputs.continue-build == 'true'
+    if: github.repository == 'apache/camel-quarkus'
     runs-on: ubuntu-latest
-    needs: pre-build-checks
     outputs:
       matrix: ${{ steps.set-native-matrix.outputs.matrix }}
       examples-matrix: ${{ steps.set-examples-matrix.outputs.examples-matrix }}
@@ -112,22 +53,6 @@ jobs:
         with:
           distribution: 'semeru'
           java-version: '21'
-      - name: Build Camel
-        if: github.ref == 'refs/heads/camel-main' || github.base_ref == 
'camel-main'
-        run: |
-          cd ../
-          git clone --depth 1 --branch main 
https://github.com/apache/camel.git \
-            && cd camel \
-            && echo "Current Camel commit:" $(git rev-parse HEAD) \
-            && ./mvnw ${CQ_MAVEN_ARGS} clean install -Dquickly -T1C
-      - name: Build Quarkus
-        if: github.ref == 'refs/heads/quarkus-main' || github.base_ref == 
'quarkus-main'
-        run: |
-          git clone --depth 1 --branch main 
https://github.com/quarkusio/quarkus.git \
-            && cd quarkus \
-            && echo "Current Quarkus commit:" $(git rev-parse HEAD) \
-            && sed -i '/<module>integration-tests<\/module>/d' pom.xml \
-            && ./mvnw ${CQ_MAVEN_ARGS} clean install -Dquickly -Prelocations 
-T1C
       - name: Checkout
         uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 
v6.0.2
         with:
@@ -193,7 +118,6 @@ jobs:
     name: Integration Tests - ${{matrix.category}}
     needs: initial-mvn-install
     runs-on: ubuntu-latest
-    if: github.event_name != 'pull_request' || 
!contains(github.event.pull_request.labels.*.name, 'JVM')
     strategy:
       fail-fast: false
       matrix: ${{ fromJson(needs.initial-mvn-install.outputs.matrix) }}
@@ -272,7 +196,6 @@ jobs:
   functional-extension-tests:
     runs-on: ubuntu-latest
     needs: initial-mvn-install
-    if: github.event_name != 'pull_request' || 
!contains(github.event.pull_request.labels.*.name, 'JVM')
     env:
       MAVEN_OPTS: -Xmx3000m
     steps:
@@ -410,7 +333,6 @@ jobs:
       fail-fast: false
       matrix:
         os: [ 'windows-latest' ]
-    if: github.event_name != 'pull_request' || 
!contains(github.event.pull_request.labels.*.name, 'JVM')
     env:
       MAVEN_OPTS: -Xmx3000m
     steps:
@@ -452,7 +374,6 @@ jobs:
     name: Examples Tests - ${{matrix.name}}
     needs: initial-mvn-install
     runs-on: ubuntu-latest
-    if: github.event_name != 'pull_request' || 
!contains(github.event.pull_request.labels.*.name, 'JVM')
     strategy:
       fail-fast: false
       matrix: ${{ fromJson(needs.initial-mvn-install.outputs.examples-matrix) 
}}
diff --git a/.github/workflows/jdk25-build.yaml 
b/.github/workflows/jdk25-build.yaml
index 687bfe86ce..3bde53c70e 100644
--- a/.github/workflows/jdk25-build.yaml
+++ b/.github/workflows/jdk25-build.yaml
@@ -19,7 +19,7 @@ name: JDK 25 Build
 
 on:
   schedule:
-    # Run every sunday at 3 AM
+    # Run every Sunday at 3 AM
     - cron:  '0 3 * * SUN'
   pull_request:
     branches:
@@ -38,68 +38,9 @@ env:
   CHECKOUT_REF: ${{ github.event_name == 'pull_request' && 
github.event.pull_request.user.login == 'dependabot[bot]' && github.head_ref || 
'' }}
 
 jobs:
-  pre-build-checks:
-    if: github.repository == 'apache/camel-quarkus'
-    runs-on: ubuntu-latest
-    outputs:
-      continue-build: ${{ steps.pre-build-checks.outputs.continue-build }}
-      run-checks: ${{ steps.init.outputs.run-checks }}
-    steps:
-      - name: Initialize
-        id: init
-        run: |
-          if [[ "${{ github.event_name }}" == "pull_request" ]] && [[ "${{ 
github.event.pull_request.user.login }}" == "dependabot[bot]" ]]; then
-            echo "run-checks=true" >> $GITHUB_OUTPUT
-          else
-            echo "run-checks=false" >> $GITHUB_OUTPUT
-          fi
-      - name: Set up JDK 25
-        uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # 
v5.2.0
-        if: steps.init.outputs.run-checks == 'true'
-        with:
-          distribution: 'temurin'
-          java-version: '25'
-      - name: Checkout
-        uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 
v6.0.2
-        if: steps.init.outputs.run-checks == 'true'
-        with:
-          ref: ${{ env.CHECKOUT_REF }}
-          fetch-depth: 0
-      - name: Pre build checks
-        id: pre-build-checks
-        run: |
-          if [[ "${{ steps.init.outputs.run-checks }}" == "true" ]]; then
-            ./mvnw cq:sync-versions -N ${CQ_MAVEN_ARGS}
-            ./mvnw clean install -pl poms/bom -am -Dcq.flatten-bom.format 
--fail-never ${CQ_MAVEN_ARGS}
-            ./mvnw clean install -f poms/bom ${CQ_MAVEN_ARGS}
-            ./mvnw clean validate -pl docs ${CQ_MAVEN_ARGS}
-
-            if [[ -z "$(git status --porcelain)" ]]; then
-              echo "continue-build=true" >> $GITHUB_OUTPUT
-            else
-              mkdir ./dependabot-pr
-              echo ${{ github.head_ref }} > ./dependabot-pr/BRANCH_REF
-              echo ${{ github.event.pull_request.head.sha }} > 
./dependabot-pr/PR_HEAD_SHA
-              echo "$GITHUB_REF" | awk -F / '{print $3}' >  
./dependabot-pr/PR_NUMBER
-              git diff -p --binary > ./dependabot-pr/changes.patch
-
-              echo "continue-build=false" >> $GITHUB_OUTPUT
-            fi
-          else
-            echo "continue-build=true" >> $GITHUB_OUTPUT
-          fi
-      - name: Upload dependabot changeset
-        uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f 
# v6.0.0
-        if: steps.pre-build-checks.outputs.continue-build == 'false'
-        with:
-          name: dependabot-pr-changeset
-          path: dependabot-pr/
-          retention-days: 1
-
   initial-mvn-install:
-    if: needs.pre-build-checks.outputs.continue-build == 'true'
+    if: github.repository == 'apache/camel-quarkus'
     runs-on: ubuntu-latest
-    needs: pre-build-checks
     outputs:
       matrix: ${{ steps.set-native-matrix.outputs.matrix }}
       examples-matrix: ${{ steps.set-examples-matrix.outputs.examples-matrix }}
@@ -115,22 +56,6 @@ jobs:
         with:
           distribution: 'temurin'
           java-version: '25'
-      - name: Build Camel
-        if: github.ref == 'refs/heads/camel-main' || github.base_ref == 
'camel-main'
-        run: |
-          cd ../
-          git clone --depth 1 --branch main 
https://github.com/apache/camel.git \
-            && cd camel \
-            && echo "Current Camel commit:" $(git rev-parse HEAD) \
-            && ./mvnw ${CQ_MAVEN_ARGS} clean install -Dquickly -T1C
-      - name: Build Quarkus
-        if: github.ref == 'refs/heads/quarkus-main' || github.base_ref == 
'quarkus-main'
-        run: |
-          git clone --depth 1 --branch main 
https://github.com/quarkusio/quarkus.git \
-            && cd quarkus \
-            && echo "Current Quarkus commit:" $(git rev-parse HEAD) \
-            && sed -i '/<module>integration-tests<\/module>/d' pom.xml \
-            && ./mvnw ${CQ_MAVEN_ARGS} clean install -Dquickly -Prelocations 
-T1C
       - name: Checkout
         uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 
v6.0.2
         with:
@@ -275,7 +200,6 @@ jobs:
   functional-extension-tests:
     runs-on: ubuntu-latest
     needs: initial-mvn-install
-    if: github.event_name != 'pull_request' || 
!contains(github.event.pull_request.labels.*.name, 'JVM')
     env:
       MAVEN_OPTS: -Xmx3000m
     steps:
@@ -413,7 +337,6 @@ jobs:
       fail-fast: false
       matrix:
         os: [ 'windows-latest' ]
-    if: github.event_name != 'pull_request' || 
!contains(github.event.pull_request.labels.*.name, 'JVM')
     env:
       MAVEN_OPTS: -Xmx3000m
     steps:
@@ -455,7 +378,6 @@ jobs:
     name: Examples Tests - ${{matrix.name}}
     needs: initial-mvn-install
     runs-on: ubuntu-latest
-    if: github.event_name != 'pull_request' || 
!contains(github.event.pull_request.labels.*.name, 'JVM')
     strategy:
       fail-fast: false
       matrix: ${{ fromJson(needs.initial-mvn-install.outputs.examples-matrix) 
}}

Reply via email to