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

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new bf102c6bea7 HDDS-17602. Use different runners for some jobs (#11977)
bf102c6bea7 is described below

commit bf102c6bea7f137e62a20f3679b15793f801bffe
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Tue Nov 10 08:46:41 2026 +0100

    HDDS-17602. Use different runners for some jobs (#11977)
---
 .github/workflows/ci.yml                                | 13 ++++++++-----
 hadoop-ozone/dev-support/checks/rat.sh                  |  5 ++++-
 hadoop-ozone/dist/src/main/license/update-jar-report.sh |  3 +--
 3 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a44e8f0e6af..b59ee650c4e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -183,7 +183,7 @@ jobs:
         include:
           - os: ubuntu-24.04
           - java: 21
-            os: macos-15
+            os: ${{ github.event_name == 'push' && 'ubuntu-24.04' || 
'macos-15' }}
       fail-fast: false
     uses: $/.github/workflows/check.yml
     with:
@@ -195,7 +195,7 @@ jobs:
       script-args: "-Pdist -DskipRecon -Dmaven.javadoc.failOnWarnings 
-Dozone.java.version.server=${{ matrix.java }}"
       sha: ${{ needs.build-info.outputs.sha }}
       split: ${{ matrix.java }}
-      timeout-minutes: 45
+      timeout-minutes: 60
       with-coverage: false
     secrets:
       DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
@@ -207,9 +207,10 @@ jobs:
     uses: $/.github/workflows/check.yml
     with:
       checkout-fetch-depth: ${{ matrix.check != 'bats' && 1 || 0 }}
-      java-version: ${{ needs.build-info.outputs.java-version }}
+      java-version: ${{ !contains('author,bats', matrix.check) && 
needs.build-info.outputs.java-version || '' }}
       needs-maven-cache: ${{ !contains('author,bats', matrix.check) }}
       ratis-args: ${{ inputs.ratis_args }}
+      runner: ${{ contains('author,bats', matrix.check) && 'ubuntu-slim' || 
'ubuntu-26.04' }}
       script: ${{ matrix.check }}
       sha: ${{ needs.build-info.outputs.sha }}
       timeout-minutes: 30
@@ -220,7 +221,7 @@ jobs:
         check: ${{ fromJson(needs.build-info.outputs.basic-checks) }}
         exclude:
           - check: errorprone
-      fail-fast: false
+      fail-fast: true
 
   errorprone:
     needs:
@@ -247,8 +248,9 @@ jobs:
     secrets:
       DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
     with:
-      java-version: ${{ needs.build-info.outputs.java-version }}
+      needs-maven-cache: false
       needs-ozone-binary-tarball: true
+      runner: ubuntu-slim
       script: dependency
       sha: ${{ needs.build-info.outputs.sha }}
       timeout-minutes: 5
@@ -319,6 +321,7 @@ jobs:
       java-version: 11 # Hadoop may not work with newer Java
       needs-ozone-binary-tarball: true
       ratis-args: ${{ inputs.ratis_args }}
+      runner: ubuntu-26.04
       script: acceptance
       script-args: ${{ matrix.suite }}
       sha: ${{ needs.build-info.outputs.sha }}
diff --git a/hadoop-ozone/dev-support/checks/rat.sh 
b/hadoop-ozone/dev-support/checks/rat.sh
index 44d642edc86..0abd8ae8b8d 100755
--- a/hadoop-ozone/dev-support/checks/rat.sh
+++ b/hadoop-ozone/dev-support/checks/rat.sh
@@ -16,6 +16,8 @@
 
 #checks:basic
 
+set -u -o pipefail
+
 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
 cd "$DIR/../../.." || exit 1
 
@@ -29,8 +31,9 @@ REPORT_FILE="$REPORT_DIR/summary.txt"
 
 mvn -B --no-transfer-progress -fn org.apache.rat:apache-rat-plugin:check "$@" \
     | tee "${REPORT_DIR}/output.log"
+rc=$?
 
-grep -r --include=rat.txt "!????" $dirs | tee "$REPORT_FILE"
+grep -r --include=rat.txt "!????" . | tee "$REPORT_FILE"
 
 ERROR_PATTERN="\[ERROR\]"
 source "${DIR}/_post_process.sh"
diff --git a/hadoop-ozone/dist/src/main/license/update-jar-report.sh 
b/hadoop-ozone/dist/src/main/license/update-jar-report.sh
index 8b8f0354015..17ce466ab19 100755
--- a/hadoop-ozone/dist/src/main/license/update-jar-report.sh
+++ b/hadoop-ozone/dist/src/main/license/update-jar-report.sh
@@ -22,8 +22,7 @@ REPORT_NAME=${1:-current.txt}
 
 cd "$SCRIPTDIR/../../.." || exit 1
 
-OZONE_VERSION=$(mvn help:evaluate -Dexpression=ozone.version -q -DforceStdout 
-Dscan=false)
-DIST_DIR="$SCRIPTDIR/../../../target/ozone-$OZONE_VERSION"
+DIST_DIR="$(find target -mindepth 1 -maxdepth 1 -type d -name 'ozone-[0-9]*' | 
sort | head -1)"
 : ${OZONE_DIST_DIR:=$DIST_DIR}
 
 cd "$OZONE_DIST_DIR"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to