You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by ad...@apache.org on 2026/03/16 15:01:50 UTC
(ozone) 06/07: HDDS-14833. Bump GitHub action versions
This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch ozone-1.4
in repository https://gitbox.apache.org/repos/asf/ozone.git
commit 074b2f030c55ac84cc539c27753fc0d2aea409e8
Author: Doroszlai, Attila <ad...@apache.org>
AuthorDate: Mon Mar 16 12:52:57 2026 +0100
HDDS-14833. Bump GitHub action versions
---
.github/workflows/ci.yml | 96 +++++++++++++--------------
.github/workflows/close-pending.yaml | 2 +-
.github/workflows/comments.yaml | 2 +-
.github/workflows/intermittent-test-check.yml | 12 ++--
.github/workflows/populate-cache.yml | 10 +--
.github/workflows/pull-request.yml | 2 +-
.github/workflows/repeat-acceptance.yml | 18 ++---
7 files changed, 71 insertions(+), 71 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 237644119ed..cfb2187a60c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -42,11 +42,11 @@ jobs:
needs-kubernetes-tests: ${{ steps.selective-checks.outputs.needs-kubernetes-tests }}
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
with:
persist-credentials: false
- name: Fetch incoming commit ${{ github.sha }} with its parent
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
with:
ref: ${{ github.sha }}
fetch-depth: 2
@@ -85,9 +85,9 @@ jobs:
fail-fast: false
steps:
- name: Checkout project
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
- name: Cache for npm dependencies
- uses: actions/cache@v4
+ uses: actions/cache@v5
with:
path: |
~/.pnpm-store
@@ -96,7 +96,7 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-
- name: Cache for maven dependencies
- uses: actions/cache/restore@v4
+ uses: actions/cache/restore@v5
with:
path: |
~/.m2/repository/*/*/*
@@ -105,7 +105,7 @@ jobs:
restore-keys: |
maven-repo-
- name: Setup java
- uses: actions/setup-java@v4
+ uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
@@ -114,7 +114,7 @@ jobs:
env:
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
- name: Store binaries for tests
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: ozone-bin
path: |
@@ -122,13 +122,13 @@ jobs:
!hadoop-ozone/dist/target/ozone-*-src.tar.gz
retention-days: 1
- name: Store source tarball for compilation
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: ozone-src
path: hadoop-ozone/dist/target/ozone-*-src.tar.gz
retention-days: 1
- name: Store Maven repo for tests
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: ozone-repo
path: |
@@ -152,7 +152,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Download Ozone source tarball
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name: ozone-src
- name: Untar sources
@@ -165,7 +165,7 @@ jobs:
git config user.email 'noreply@github.com'
git commit --allow-empty -a -m 'workaround for HADOOP-19011'
- name: Cache for maven dependencies
- uses: actions/cache/restore@v4
+ uses: actions/cache/restore@v5
with:
path: |
~/.m2/repository/*/*/*
@@ -174,7 +174,7 @@ jobs:
restore-keys: |
maven-repo-
- name: Setup java
- uses: actions/setup-java@v4
+ uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
@@ -195,15 +195,15 @@ jobs:
fail-fast: false
steps:
- name: Checkout project
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
if: matrix.check != 'bats'
- name: Checkout project with history
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
with:
fetch-depth: 0
if: matrix.check == 'bats'
- name: Cache for maven dependencies
- uses: actions/cache/restore@v4
+ uses: actions/cache/restore@v5
with:
path: |
~/.m2/repository/*/*/*
@@ -213,7 +213,7 @@ jobs:
maven-repo-
if: ${{ !contains('author,bats', matrix.check) }}
- name: Setup java
- uses: actions/setup-java@v4
+ uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: 8
@@ -226,7 +226,7 @@ jobs:
run: hadoop-ozone/dev-support/checks/_summary.sh target/${{ matrix.check }}/summary.txt
if: ${{ !cancelled() }}
- name: Archive build results
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
if: ${{ !cancelled() }}
with:
name: ${{ matrix.check }}
@@ -245,9 +245,9 @@ jobs:
fail-fast: false
steps:
- name: Checkout project
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
- name: Cache for maven dependencies
- uses: actions/cache/restore@v4
+ uses: actions/cache/restore@v5
with:
path: |
~/.m2/repository/*/*/*
@@ -256,7 +256,7 @@ jobs:
restore-keys: |
maven-repo-
- name: Setup java
- uses: actions/setup-java@v4
+ uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: 8
@@ -269,7 +269,7 @@ jobs:
run: hadoop-ozone/dev-support/checks/_summary.sh target/${{ matrix.check }}/summary.txt
if: ${{ !cancelled() }}
- name: Archive build results
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
if: ${{ !cancelled() }}
with:
name: ${{ matrix.check }}
@@ -284,9 +284,9 @@ jobs:
if: needs.build-info.outputs.needs-dependency-check == 'true'
steps:
- name: Checkout project
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
- name: Cache for maven dependencies
- uses: actions/cache/restore@v4
+ uses: actions/cache/restore@v5
with:
path: |
~/.m2/repository/*/*/*
@@ -295,7 +295,7 @@ jobs:
restore-keys: |
maven-repo-
- name: Download compiled Ozone binaries
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name: ozone-bin
- name: Untar binaries
@@ -307,7 +307,7 @@ jobs:
export OZONE_DIST_DIR=`pwd`/dist
./hadoop-ozone/dev-support/checks/dependency.sh
- name: Archive build results
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
if: always()
with:
name: dependency
@@ -322,9 +322,9 @@ jobs:
if: needs.build-info.outputs.needs-dependency-check == 'true'
steps:
- name: Checkout project
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
- name: Cache for maven dependencies
- uses: actions/cache/restore@v4
+ uses: actions/cache/restore@v5
with:
path: |
~/.m2/repository/*/*/*
@@ -334,7 +334,7 @@ jobs:
maven-repo-
- name: Download Ozone repo
id: download-ozone-repo
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name: ozone-repo
path: |
@@ -347,7 +347,7 @@ jobs:
run: hadoop-ozone/dev-support/checks/_summary.sh target/${{ github.job }}/summary.txt
if: ${{ !cancelled() }}
- name: Archive build results
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
if: always()
with:
name: ${{ github.job }}
@@ -367,9 +367,9 @@ jobs:
fail-fast: false
steps:
- name: Checkout project
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
- name: Cache for maven dependencies
- uses: actions/cache/restore@v4
+ uses: actions/cache/restore@v5
with:
path: |
~/.m2/repository/*/*/*
@@ -378,7 +378,7 @@ jobs:
restore-keys: |
maven-repo-
- name: Download compiled Ozone binaries
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name: ozone-bin
- name: Untar binaries
@@ -388,7 +388,7 @@ jobs:
rm ozone*.tar.gz
sudo chmod -R a+rwX hadoop-ozone/dist/target
- name: Setup java 11
- uses: actions/setup-java@v4
+ uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: 11 # Hadoop may not work with newer Java
@@ -407,7 +407,7 @@ jobs:
run: hadoop-ozone/dev-support/checks/_summary.sh target/${{ github.job }}/summary.txt
if: ${{ !cancelled() }}
- name: Archive build results
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
if: always()
with:
name: acceptance-${{ matrix.suite }}
@@ -423,9 +423,9 @@ jobs:
if: needs.build-info.outputs.needs-kubernetes-tests == 'true'
steps:
- name: Checkout project
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
- name: Cache for maven dependencies
- uses: actions/cache/restore@v4
+ uses: actions/cache/restore@v5
with:
path: |
~/.m2/repository/*/*/*
@@ -434,7 +434,7 @@ jobs:
restore-keys: |
maven-repo-
- name: Download compiled Ozone binaries
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name: ozone-bin
- name: Untar binaries
@@ -452,7 +452,7 @@ jobs:
run: hadoop-ozone/dev-support/checks/_summary.sh target/${{ github.job }}/summary.txt
if: ${{ !cancelled() }}
- name: Archive build results
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
if: always()
with:
name: kubernetes
@@ -481,9 +481,9 @@ jobs:
fail-fast: false
steps:
- name: Checkout project
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
- name: Cache for maven dependencies
- uses: actions/cache/restore@v4
+ uses: actions/cache/restore@v5
with:
path: |
~/.m2/repository/*/*/*
@@ -493,14 +493,14 @@ jobs:
maven-repo-
- name: Download Ozone repo
id: download-ozone-repo
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name: ozone-repo
path: |
~/.m2/repository/org/apache/ozone
continue-on-error: true
- name: Setup java
- uses: actions/setup-java@v4
+ uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: 8
@@ -523,7 +523,7 @@ jobs:
run: hadoop-ozone/dev-support/checks/_summary.sh target/${{ github.job }}/summary.txt
if: ${{ !cancelled() }}
- name: Archive build results
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
if: always()
with:
name: it-${{ matrix.profile }}
@@ -539,11 +539,11 @@ jobs:
- integration
steps:
- name: Checkout project
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Cache for maven dependencies
- uses: actions/cache/restore@v4
+ uses: actions/cache/restore@v5
with:
path: |
~/.m2/repository/*/*/*
@@ -552,7 +552,7 @@ jobs:
restore-keys: |
maven-repo-
- name: Download artifacts
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
path: target/artifacts
- name: Untar binaries
@@ -562,7 +562,7 @@ jobs:
- name: Calculate combined coverage
run: ./hadoop-ozone/dev-support/checks/coverage.sh
- name: Setup java 17
- uses: actions/setup-java@v4
+ uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: 17
@@ -573,7 +573,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
- name: Archive build results
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: coverage
path: target/coverage
diff --git a/.github/workflows/close-pending.yaml b/.github/workflows/close-pending.yaml
index 3dfe736cd39..79c87f2e8ca 100644
--- a/.github/workflows/close-pending.yaml
+++ b/.github/workflows/close-pending.yaml
@@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout code
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
- name: Execute close-pending script
if: github.repository == 'apache/ozone'
run: ./.github/close-pending.sh
diff --git a/.github/workflows/comments.yaml b/.github/workflows/comments.yaml
index d10b9475981..cba690c4f9b 100644
--- a/.github/workflows/comments.yaml
+++ b/.github/workflows/comments.yaml
@@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout code
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
- name: Execute process-comment script
run: ./.github/process-comment.sh
env:
diff --git a/.github/workflows/intermittent-test-check.yml b/.github/workflows/intermittent-test-check.yml
index 93139b76d03..88864fd9b70 100644
--- a/.github/workflows/intermittent-test-check.yml
+++ b/.github/workflows/intermittent-test-check.yml
@@ -54,7 +54,7 @@ jobs:
matrix: ${{steps.generate.outputs.matrix}}
test_type: ${{steps.check-test-existence.outputs.test_type}}
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v6
with:
ref: ${{ github.event.inputs.ref }}
- name: Check for Test File
@@ -101,11 +101,11 @@ jobs:
split: ${{fromJson(needs.prepare-job.outputs.matrix)}} # Define splits
fail-fast: ${{ fromJson(github.event.inputs.fail-fast) }}
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v6
with:
ref: ${{ github.event.inputs.ref }}
- name: Cache for maven dependencies
- uses: actions/cache/restore@v4
+ uses: actions/cache/restore@v5
with:
path: |
~/.m2/repository/*/*/*
@@ -114,7 +114,7 @@ jobs:
restore-keys: |
maven-repo-
- name: Setup java
- uses: actions/setup-java@v4
+ uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: 8
@@ -140,7 +140,7 @@ jobs:
run: hadoop-ozone/dev-support/checks/_summary.sh target/${{ needs.prepare-job.outputs.test_type }}/summary.txt
if: ${{ !cancelled() }}
- name: Archive build results
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
if: always()
with:
name: result-${{ env.TEST_CLASS }}-split-${{ matrix.split }}
@@ -157,7 +157,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Download build results
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
- name: Count failures
run: |
failures=$(find . -name 'summary.txt' | grep -v 'iteration' | xargs grep -v 'exit code: 0' | wc -l)
diff --git a/.github/workflows/populate-cache.yml b/.github/workflows/populate-cache.yml
index edd82317cc2..da009734563 100644
--- a/.github/workflows/populate-cache.yml
+++ b/.github/workflows/populate-cache.yml
@@ -35,11 +35,11 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout project
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
- name: Restore cache for Maven dependencies
id: restore-cache
- uses: actions/cache/restore@v4
+ uses: actions/cache/restore@v5
with:
path: |
~/.m2/repository/*/*/*
@@ -48,7 +48,7 @@ jobs:
- name: Setup Java
if: steps.restore-cache.outputs.cache-hit != 'true'
- uses: actions/setup-java@v4
+ uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: 8
@@ -61,7 +61,7 @@ jobs:
- name: Restore NodeJS tarballs
id: restore-nodejs
if: steps.restore-cache.outputs.cache-hit != 'true'
- uses: actions/cache@v4
+ uses: actions/cache@v5
with:
path: ~/.m2/repository/com/github/eirslett/node
key: nodejs-${{ steps.nodejs-version.outputs.nodejs-version }}
@@ -86,7 +86,7 @@ jobs:
- name: Save cache for Maven dependencies
if: steps.restore-cache.outputs.cache-hit != 'true'
- uses: actions/cache/save@v4
+ uses: actions/cache/save@v5
with:
path: |
~/.m2/repository/*/*/*
diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml
index 7ccbb9ef20a..9527d3069c9 100644
--- a/.github/workflows/pull-request.yml
+++ b/.github/workflows/pull-request.yml
@@ -28,7 +28,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout project
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
- name: Check pull request title
env:
TITLE: ${{ github.event.pull_request.title }}
diff --git a/.github/workflows/repeat-acceptance.yml b/.github/workflows/repeat-acceptance.yml
index 01387a0f207..06b41e5e2cd 100644
--- a/.github/workflows/repeat-acceptance.yml
+++ b/.github/workflows/repeat-acceptance.yml
@@ -55,7 +55,7 @@ jobs:
outputs:
matrix: ${{steps.generate.outputs.matrix}}
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v6
with:
ref: ${{ github.event.inputs.ref }}
- name: Verify Test Filter
@@ -80,9 +80,9 @@ jobs:
timeout-minutes: 60
steps:
- name: Checkout project
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
- name: Cache for npm dependencies
- uses: actions/cache@v4
+ uses: actions/cache@v5
with:
path: |
~/.pnpm-store
@@ -91,7 +91,7 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-
- name: Cache for maven dependencies
- uses: actions/cache/restore@v4
+ uses: actions/cache/restore@v5
with:
path: |
~/.m2/repository/*/*/*
@@ -101,7 +101,7 @@ jobs:
maven-repo-${{ hashFiles('**/pom.xml') }}
maven-repo-
- name: Setup java
- uses: actions/setup-java@v4
+ uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: ${{ env.JAVA_VERSION }}
@@ -110,7 +110,7 @@ jobs:
env:
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
- name: Store binaries for tests
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: ozone-bin
path: |
@@ -128,11 +128,11 @@ jobs:
split: ${{ fromJson(needs.prepare-job.outputs.matrix) }}
fail-fast: ${{ fromJson(github.event.inputs.fail-fast) }}
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v6
with:
ref: ${{ github.event.inputs.ref }}
- name: Download compiled Ozone binaries
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name: ozone-bin
- name: Untar binaries
@@ -155,7 +155,7 @@ jobs:
run: hadoop-ozone/dev-support/checks/_summary.sh target/${{ github.job }}/summary.txt
if: ${{ !cancelled() }}
- name: Archive build results
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
if: always()
with:
name: acceptance-${{ matrix.split }}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozone.apache.org
For additional commands, e-mail: commits-help@ozone.apache.org