Skip to content

Commit 8feb025

Browse files
dave2wavelhotari
authored andcommitted
[improve][ci] Update GitHub Workflows to Ubuntu 22.04 (#20729)
(cherry picked from commit ae8cfd0)
1 parent ee834f8 commit 8feb025

File tree

7 files changed

+24
-24
lines changed

7 files changed

+24
-24
lines changed

.github/workflows/ci-documentbot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
if: (github.repository == 'apache/pulsar') && (github.event.pull_request.state == 'open')
3737
permissions:
3838
pull-requests: write
39-
runs-on: ubuntu-20.04
39+
runs-on: ubuntu-22.04
4040
steps:
4141
- name: Labeling
4242
uses: apache/pulsar-test-infra/docbot@master

.github/workflows/ci-go-functions.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ env:
3838
jobs:
3939
preconditions:
4040
name: Preconditions
41-
runs-on: ubuntu-20.04
41+
runs-on: ubuntu-22.04
4242
outputs:
4343
docs_only: ${{ steps.check_changes.outputs.docs_only }}
4444
steps:
@@ -73,7 +73,7 @@ jobs:
7373
needs: preconditions
7474
if: ${{ needs.preconditions.outputs.docs_only != 'true' }}
7575
name: Go ${{ matrix.go-version }} Functions style check
76-
runs-on: ubuntu-20.04
76+
runs-on: ubuntu-22.04
7777
strategy:
7878
matrix:
7979
go-version: ['1.21']

.github/workflows/ci-maven-cache-update.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
matrix:
5959
include:
6060
- name: all modules
61-
runs-on: ubuntu-20.04
61+
runs-on: ubuntu-22.04
6262
cache_name: 'm2-dependencies-all'
6363
mvn_arguments: ''
6464

@@ -67,7 +67,7 @@ jobs:
6767
cache_name: 'm2-dependencies-all'
6868

6969
- name: core-modules
70-
runs-on: ubuntu-20.04
70+
runs-on: ubuntu-22.04
7171
cache_name: 'm2-dependencies-core-modules'
7272
mvn_arguments: '-Pcore-modules,-main'
7373

.github/workflows/ci-pulsarbot.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on:
2424

2525
jobs:
2626
pulsarbot:
27-
runs-on: ubuntu-20.04
27+
runs-on: ubuntu-22.04
2828
timeout-minutes: 10
2929
if: github.event_name == 'issue_comment' && contains(github.event.comment.body, '/pulsarbot')
3030
steps:

.github/workflows/ci-stale-issue-pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
77
stale:
8-
runs-on: ubuntu-20.04
8+
runs-on: ubuntu-22.04
99
steps:
1010
- uses: actions/stale@v4
1111
with:

.github/workflows/pulsar-ci-flaky.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ env:
4646
jobs:
4747
preconditions:
4848
name: Preconditions
49-
runs-on: ubuntu-20.04
49+
runs-on: ubuntu-22.04
5050
if: (github.event_name != 'schedule') || (github.repository == 'apache/pulsar')
5151
outputs:
5252
docs_only: ${{ steps.check_changes.outputs.docs_only }}
@@ -96,7 +96,7 @@ jobs:
9696
JOB_NAME: Flaky tests suite
9797
COLLECT_COVERAGE: "${{ needs.preconditions.outputs.collect_coverage }}"
9898
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
99-
runs-on: ubuntu-20.04
99+
runs-on: ubuntu-22.04
100100
timeout-minutes: 100
101101
if: ${{ needs.preconditions.outputs.docs_only != 'true' }}
102102
steps:

.github/workflows/pulsar-ci.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ env:
4646
jobs:
4747
preconditions:
4848
name: Preconditions
49-
runs-on: ubuntu-20.04
49+
runs-on: ubuntu-22.04
5050
if: (github.event_name != 'schedule') || (github.repository == 'apache/pulsar')
5151
outputs:
5252
docs_only: ${{ steps.check_changes.outputs.docs_only }}
@@ -97,7 +97,7 @@ jobs:
9797
env:
9898
JOB_NAME: Build and License check
9999
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
100-
runs-on: ubuntu-20.04
100+
runs-on: ubuntu-22.04
101101
timeout-minutes: 60
102102
if: ${{ needs.preconditions.outputs.docs_only != 'true' }}
103103
steps:
@@ -173,7 +173,7 @@ jobs:
173173
JOB_NAME: CI - Unit - ${{ matrix.name }}
174174
COLLECT_COVERAGE: "${{ needs.preconditions.outputs.collect_coverage }}"
175175
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
176-
runs-on: ubuntu-20.04
176+
runs-on: ubuntu-22.04
177177
timeout-minutes: ${{ matrix.timeout || 60 }}
178178
needs: ['preconditions', 'build-and-license-check']
179179
if: ${{ needs.preconditions.outputs.docs_only != 'true' }}
@@ -307,7 +307,7 @@ jobs:
307307

308308
unit-tests-upload-coverage:
309309
name: CI - Unit - Upload Coverage
310-
runs-on: ubuntu-20.04
310+
runs-on: ubuntu-22.04
311311
timeout-minutes: 30
312312
needs: ['preconditions', 'unit-tests']
313313
if: ${{ needs.preconditions.outputs.collect_coverage == 'true' }}
@@ -386,7 +386,7 @@ jobs:
386386

387387
pulsar-java-test-image:
388388
name: Build Pulsar java-test-image docker image
389-
runs-on: ubuntu-20.04
389+
runs-on: ubuntu-22.04
390390
timeout-minutes: 60
391391
needs: ['preconditions', 'build-and-license-check']
392392
if: ${{ needs.preconditions.outputs.docs_only != 'true'}}
@@ -458,7 +458,7 @@ jobs:
458458

459459
integration-tests:
460460
name: CI - Integration - ${{ matrix.name }}
461-
runs-on: ubuntu-20.04
461+
runs-on: ubuntu-22.04
462462
timeout-minutes: ${{ matrix.timeout || 60 }}
463463
needs: ['preconditions', 'pulsar-java-test-image']
464464
if: ${{ needs.preconditions.outputs.docs_only != 'true' }}
@@ -617,7 +617,7 @@ jobs:
617617

618618
integration-tests-upload-coverage:
619619
name: CI - Integration - Upload Coverage
620-
runs-on: ubuntu-20.04
620+
runs-on: ubuntu-22.04
621621
timeout-minutes: 30
622622
needs: ['preconditions', 'integration-tests']
623623
if: ${{ needs.preconditions.outputs.collect_coverage == 'true' }}
@@ -702,7 +702,7 @@ jobs:
702702

703703
delete-integration-test-docker-image-artifact:
704704
name: "Delete integration test docker image artifact"
705-
runs-on: ubuntu-20.04
705+
runs-on: ubuntu-22.04
706706
timeout-minutes: 10
707707
needs: [
708708
'preconditions',
@@ -726,7 +726,7 @@ jobs:
726726
727727
pulsar-test-latest-version-image:
728728
name: Build Pulsar docker image
729-
runs-on: ubuntu-20.04
729+
runs-on: ubuntu-22.04
730730
timeout-minutes: 60
731731
needs: ['preconditions', 'build-and-license-check']
732732
if: ${{ needs.preconditions.outputs.docs_only != 'true' }}
@@ -834,7 +834,7 @@ jobs:
834834

835835
system-tests:
836836
name: CI - System - ${{ matrix.name }}
837-
runs-on: ubuntu-20.04
837+
runs-on: ubuntu-22.04
838838
timeout-minutes: 60
839839
needs: ['preconditions', 'pulsar-test-latest-version-image']
840840
if: ${{ needs.preconditions.outputs.docs_only != 'true' }}
@@ -979,7 +979,7 @@ jobs:
979979

980980
system-tests-upload-coverage:
981981
name: CI - System - Upload Coverage
982-
runs-on: ubuntu-20.04
982+
runs-on: ubuntu-22.04
983983
timeout-minutes: 30
984984
needs: ['preconditions', 'system-tests']
985985
if: ${{ needs.preconditions.outputs.collect_coverage == 'true' }}
@@ -1065,7 +1065,7 @@ jobs:
10651065

10661066
flaky-system-tests:
10671067
name: CI Flaky - System - ${{ matrix.name }}
1068-
runs-on: ubuntu-20.04
1068+
runs-on: ubuntu-22.04
10691069
timeout-minutes: 60
10701070
needs: [ 'preconditions', 'pulsar-test-latest-version-image' ]
10711071
if: ${{ needs.preconditions.outputs.docs_only != 'true' }}
@@ -1184,7 +1184,7 @@ jobs:
11841184

11851185
delete-system-test-docker-image-artifact:
11861186
name: "Delete system test docker image artifact"
1187-
runs-on: ubuntu-20.04
1187+
runs-on: ubuntu-22.04
11881188
timeout-minutes: 10
11891189
needs: [
11901190
'preconditions',
@@ -1244,7 +1244,7 @@ jobs:
12441244

12451245
owasp-dep-check:
12461246
name: OWASP dependency check
1247-
runs-on: ubuntu-20.04
1247+
runs-on: ubuntu-22.04
12481248
timeout-minutes: 120
12491249
needs: [ 'preconditions', 'integration-tests' ]
12501250
if: ${{ needs.preconditions.outputs.need_owasp == 'true' }}
@@ -1344,7 +1344,7 @@ jobs:
13441344
pulsar-ci-checks-completed:
13451345
name: "Pulsar CI checks completed"
13461346
if: ${{ always() && ((github.event_name != 'schedule') || (github.repository == 'apache/pulsar')) }}
1347-
runs-on: ubuntu-20.04
1347+
runs-on: ubuntu-22.04
13481348
timeout-minutes: 10
13491349
needs: [
13501350
'preconditions',

0 commit comments

Comments
 (0)