Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build-ratis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ env:
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
jobs:
ratis:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 60
outputs:
ratis-version: ${{ steps.versions.outputs.ratis }}
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
~/.m2/repository/org/apache/ratis
retention-days: 1
ratis-thirdparty:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs:
- ratis
timeout-minutes: 30
Expand All @@ -123,7 +123,7 @@ jobs:
echo "netty=$(mvn help:evaluate -N -q -DforceStdout -Dscan=false -Dexpression=shaded.netty.version)" >> $GITHUB_OUTPUT
echo "protobuf=$(mvn help:evaluate -N -q -DforceStdout -Dscan=false -Dexpression=shaded.protobuf.version)" >> $GITHUB_OUTPUT
debug:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs:
- ratis
- ratis-thirdparty
Expand Down
29 changes: 17 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ env:
OZONE_WITH_COVERAGE: ${{ github.event_name == 'push' }}
jobs:
build-info:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
outputs:
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
build:
needs:
- build-info
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 60
if: needs.build-info.outputs.needs-build == 'true'
steps:
Expand Down Expand Up @@ -192,7 +192,7 @@ jobs:
matrix:
java: [ 11, 17, 21 ]
include:
- os: ubuntu-20.04
- os: ubuntu-24.04
- java: 8
os: macos-13
fail-fast: false
Expand Down Expand Up @@ -247,7 +247,7 @@ jobs:
basic:
needs:
- build-info
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 30
if: needs.build-info.outputs.needs-basic-check == 'true'
strategy:
Expand Down Expand Up @@ -306,7 +306,7 @@ jobs:
needs:
- build-info
- basic
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 150
if: needs.build-info.outputs.needs-native-check == 'true'
steps:
Expand Down Expand Up @@ -353,7 +353,7 @@ jobs:
needs:
- build-info
- build
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- name: Checkout project
Expand Down Expand Up @@ -392,7 +392,7 @@ jobs:
needs:
- build-info
- build
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 15
steps:
- name: Checkout project
Expand Down Expand Up @@ -440,7 +440,7 @@ jobs:
- basic
- dependency
- license
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 30
steps:
- name: Checkout project
Expand Down Expand Up @@ -497,7 +497,7 @@ jobs:
- basic
- dependency
- license
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 150
if: needs.build-info.outputs.needs-compose-tests == 'true'
strategy:
Expand Down Expand Up @@ -527,6 +527,11 @@ jobs:
mkdir -p hadoop-ozone/dist/target
tar xzvf ozone*.tar.gz -C hadoop-ozone/dist/target
rm ozone*.tar.gz
- name: Setup java 11
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11 # Hadoop may not work with newer Java
- name: Execute tests
run: |
./hadoop-ozone/dev-support/checks/acceptance.sh
Expand All @@ -550,7 +555,7 @@ jobs:
- basic
- dependency
- license
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 60
if: needs.build-info.outputs.needs-kubernetes-tests == 'true'
steps:
Expand Down Expand Up @@ -592,7 +597,7 @@ jobs:
needs:
- build-info
- basic
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 150
if: needs.build-info.outputs.needs-integration-tests == 'true'
strategy:
Expand Down Expand Up @@ -645,7 +650,7 @@ jobs:
path: target/integration
continue-on-error: true
coverage:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 30
if: github.event_name == 'push'
needs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/close-pending.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:
jobs:
close-pending:
name: close-pending
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/comments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:
jobs:
process-comment:
name: check-comment
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/intermittent-test-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ env:
run-name: ${{ github.event_name == 'workflow_dispatch' && format('{0}#{1}[{2}]-{3}x{4}', inputs.test-class, inputs.test-name, inputs.ref, inputs.splits, inputs.iterations) || '' }}
jobs:
prepare-job:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
outputs:
matrix: ${{steps.generate.outputs.matrix}}
steps:
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
needs:
- prepare-job
- ratis
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 60
steps:
- name: Checkout project
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
- ratis
- build
name: Run-Split
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
strategy:
matrix:
split: ${{fromJson(needs.prepare-job.outputs.matrix)}} # Define splits
Expand Down Expand Up @@ -216,7 +216,7 @@ jobs:
count-failures:
if: ${{ failure() }}
needs: run-test
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Download build results
uses: actions/download-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/populate-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ on:

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Checkout project
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:

jobs:
title:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Checkout project
uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/repeat-acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ env:
run-name: ${{ github.event_name == 'workflow_dispatch' && format('{0}[{1}]-{2}', inputs.test-suite || inputs.test-filter, inputs.ref, inputs.splits) || '' }}
jobs:
prepare-job:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
outputs:
matrix: ${{steps.generate.outputs.matrix}}
steps:
Expand All @@ -76,7 +76,7 @@ jobs:
build:
needs:
- prepare-job
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 60
steps:
- name: Checkout project
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
- prepare-job
- build
name: Run-Split
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
strategy:
matrix:
split: ${{ fromJson(needs.prepare-job.outputs.matrix) }}
Expand Down