Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.x: Upgrade ubuntu image to ubuntu-22.04 #9775

Merged
merged 1 commit into from
Feb 12, 2025
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
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ concurrency:

jobs:
create-tag:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
environment: release
outputs:
version: ${{ steps.create-tag.outputs.version }}
Expand All @@ -57,7 +57,7 @@ jobs:
strategy:
matrix:
moduleSet: [ core, integrations, others ]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 30
environment: release
steps:
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
resolve-all:
needs: [ create-tag, deploy ]
timeout-minutes: 30
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: resolve-all
steps:
- uses: actions/checkout@v4
Expand All @@ -144,7 +144,7 @@ jobs:
- quickstart-mp
- database-se
- database-mp
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: smoketest/${{ matrix.archetype }}
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ concurrency:

jobs:
get-version:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
environment: release
outputs:
version: ${{ steps.get-version.outputs.version }}
Expand All @@ -57,7 +57,7 @@ jobs:
strategy:
matrix:
moduleSet: [ core, integrations, others ]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 30
environment: release
steps:
Expand Down
44 changes: 22 additions & 22 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ concurrency:
jobs:
copyright:
timeout-minutes: 5
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -57,7 +57,7 @@ jobs:
run: etc/scripts/copyright.sh
checkstyle:
timeout-minutes: 5
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -67,7 +67,7 @@ jobs:
run: etc/scripts/checkstyle.sh
shellcheck:
timeout-minutes: 5
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -78,7 +78,7 @@ jobs:
run: etc/scripts/shellcheck.sh
build:
timeout-minutes: 15
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -99,10 +99,10 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
os: [ ubuntu-20.04, windows-2022 ]
os: [ ubuntu-22.04, windows-2022 ]
moduleSet: [ core, it, jpa, jpa-oracle, dbclient, dbclient-oracle, others ]
include:
- { os: ubuntu-20.04, platform: linux }
- { os: ubuntu-22.04, platform: linux }
- { os: windows-2022, platform: windows }
runs-on: ${{ matrix.os }}
name: tests/${{ matrix.moduleSet }}-${{matrix.platform}}
Expand All @@ -126,7 +126,7 @@ jobs:
strategy:
matrix:
moduleSet: [ cdi, rest, others ]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: tests/tck-${{ matrix.moduleSet }}
steps:
- uses: actions/checkout@v4
Expand All @@ -147,7 +147,7 @@ jobs:
strategy:
matrix:
moduleSet: [ core, integrations, others ]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: spotbugs/${{ matrix.moduleSet }}
steps:
- uses: actions/checkout@v4
Expand All @@ -170,7 +170,7 @@ jobs:
strategy:
matrix:
moduleSet: [ core, integrations, others ]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -194,7 +194,7 @@ jobs:
docs:
needs: build
timeout-minutes: 15
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -217,9 +217,9 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
os: [ ubuntu-20.04, macos-14 ]
os: [ ubuntu-22.04, macos-14 ]
include:
- { os: ubuntu-20.04, platform: linux }
- { os: ubuntu-22.04, platform: linux }
- { os: macos-14, platform: macos }
runs-on: ${{ matrix.os }}
name: quickstarts/${{ matrix.platform }}
Expand All @@ -240,9 +240,9 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
os: [ ubuntu-20.04, macos-14 ]
os: [ ubuntu-22.04, macos-14 ]
include:
- { os: ubuntu-20.04, platform: linux }
- { os: ubuntu-22.04, platform: linux }
- { os: macos-14, platform: macos }
runs-on: ${{ matrix.os }}
name: examples/${{ matrix.platform }}
Expand Down Expand Up @@ -270,7 +270,7 @@ jobs:
- { group: r4, start: 75, end: 100 }
- { group: r5, start: 101, end: -1 }
- { packaging: jar }
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: archetypes/${{ matrix.group }}-${{ matrix.packaging }}
steps:
- uses: actions/checkout@v4
Expand All @@ -292,7 +292,7 @@ jobs:
legacy-archetypes:
needs: build
timeout-minutes: 30
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: archetypes/legacy
steps:
- uses: actions/checkout@v4
Expand All @@ -312,10 +312,10 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
os: [ ubuntu-20.04, macos-14, windows-2022 ]
os: [ ubuntu-22.04, macos-14, windows-2022 ]
packaging: [ jar, jlink ]
include:
- { os: ubuntu-20.04, platform: linux }
- { os: ubuntu-22.04, platform: linux }
- { os: macos-14, platform: macos }
- { os: windows-2022, platform: windows }
runs-on: ${{ matrix.os }}
Expand All @@ -339,10 +339,10 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
os: [ ubuntu-20.04, macos-14, windows-2022 ]
os: [ ubuntu-22.04, macos-14, windows-2022 ]
module: [ mp-1, mp-2, mp-3, se-1, inject ]
include:
- { os: ubuntu-20.04, platform: linux }
- { os: ubuntu-22.04, platform: linux }
- { os: macos-14, platform: macos }
- { os: windows-2022, platform: windows }
runs-on: ${{ matrix.os }}
Expand All @@ -365,7 +365,7 @@ jobs:
-am \
verify
test-results:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: [ _tests, archetypes, legacy-archetypes, _tck, packaging, _native-image ]
name: tests/results
steps:
Expand All @@ -374,7 +374,7 @@ jobs:
name: test-results
pattern: "tests-*"
gate:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: [ copyright, checkstyle, shellcheck, docs, javadoc, _spotbugs, test-results ]
steps:
- shell: bash
Expand Down