46
46
jobs :
47
47
preconditions :
48
48
name : Preconditions
49
- runs-on : ubuntu-20 .04
49
+ runs-on : ubuntu-22 .04
50
50
if : (github.event_name != 'schedule') || (github.repository == 'apache/pulsar')
51
51
outputs :
52
52
docs_only : ${{ steps.check_changes.outputs.docs_only }}
97
97
env :
98
98
JOB_NAME : Build and License check
99
99
DEVELOCITY_ACCESS_KEY : ${{ secrets.DEVELOCITY_ACCESS_KEY }}
100
- runs-on : ubuntu-20 .04
100
+ runs-on : ubuntu-22 .04
101
101
timeout-minutes : 60
102
102
if : ${{ needs.preconditions.outputs.docs_only != 'true' }}
103
103
steps :
@@ -173,7 +173,7 @@ jobs:
173
173
JOB_NAME : CI - Unit - ${{ matrix.name }}
174
174
COLLECT_COVERAGE : " ${{ needs.preconditions.outputs.collect_coverage }}"
175
175
DEVELOCITY_ACCESS_KEY : ${{ secrets.DEVELOCITY_ACCESS_KEY }}
176
- runs-on : ubuntu-20 .04
176
+ runs-on : ubuntu-22 .04
177
177
timeout-minutes : ${{ matrix.timeout || 60 }}
178
178
needs : ['preconditions', 'build-and-license-check']
179
179
if : ${{ needs.preconditions.outputs.docs_only != 'true' }}
@@ -307,7 +307,7 @@ jobs:
307
307
308
308
unit-tests-upload-coverage :
309
309
name : CI - Unit - Upload Coverage
310
- runs-on : ubuntu-20 .04
310
+ runs-on : ubuntu-22 .04
311
311
timeout-minutes : 30
312
312
needs : ['preconditions', 'unit-tests']
313
313
if : ${{ needs.preconditions.outputs.collect_coverage == 'true' }}
@@ -386,7 +386,7 @@ jobs:
386
386
387
387
pulsar-java-test-image :
388
388
name : Build Pulsar java-test-image docker image
389
- runs-on : ubuntu-20 .04
389
+ runs-on : ubuntu-22 .04
390
390
timeout-minutes : 60
391
391
needs : ['preconditions', 'build-and-license-check']
392
392
if : ${{ needs.preconditions.outputs.docs_only != 'true'}}
@@ -458,7 +458,7 @@ jobs:
458
458
459
459
integration-tests :
460
460
name : CI - Integration - ${{ matrix.name }}
461
- runs-on : ubuntu-20 .04
461
+ runs-on : ubuntu-22 .04
462
462
timeout-minutes : ${{ matrix.timeout || 60 }}
463
463
needs : ['preconditions', 'pulsar-java-test-image']
464
464
if : ${{ needs.preconditions.outputs.docs_only != 'true' }}
@@ -617,7 +617,7 @@ jobs:
617
617
618
618
integration-tests-upload-coverage :
619
619
name : CI - Integration - Upload Coverage
620
- runs-on : ubuntu-20 .04
620
+ runs-on : ubuntu-22 .04
621
621
timeout-minutes : 30
622
622
needs : ['preconditions', 'integration-tests']
623
623
if : ${{ needs.preconditions.outputs.collect_coverage == 'true' }}
@@ -702,7 +702,7 @@ jobs:
702
702
703
703
delete-integration-test-docker-image-artifact :
704
704
name : " Delete integration test docker image artifact"
705
- runs-on : ubuntu-20 .04
705
+ runs-on : ubuntu-22 .04
706
706
timeout-minutes : 10
707
707
needs : [
708
708
' preconditions' ,
@@ -726,7 +726,7 @@ jobs:
726
726
727
727
pulsar-test-latest-version-image :
728
728
name : Build Pulsar docker image
729
- runs-on : ubuntu-20 .04
729
+ runs-on : ubuntu-22 .04
730
730
timeout-minutes : 60
731
731
needs : ['preconditions', 'build-and-license-check']
732
732
if : ${{ needs.preconditions.outputs.docs_only != 'true' }}
@@ -834,7 +834,7 @@ jobs:
834
834
835
835
system-tests :
836
836
name : CI - System - ${{ matrix.name }}
837
- runs-on : ubuntu-20 .04
837
+ runs-on : ubuntu-22 .04
838
838
timeout-minutes : 60
839
839
needs : ['preconditions', 'pulsar-test-latest-version-image']
840
840
if : ${{ needs.preconditions.outputs.docs_only != 'true' }}
@@ -979,7 +979,7 @@ jobs:
979
979
980
980
system-tests-upload-coverage :
981
981
name : CI - System - Upload Coverage
982
- runs-on : ubuntu-20 .04
982
+ runs-on : ubuntu-22 .04
983
983
timeout-minutes : 30
984
984
needs : ['preconditions', 'system-tests']
985
985
if : ${{ needs.preconditions.outputs.collect_coverage == 'true' }}
@@ -1065,7 +1065,7 @@ jobs:
1065
1065
1066
1066
flaky-system-tests :
1067
1067
name : CI Flaky - System - ${{ matrix.name }}
1068
- runs-on : ubuntu-20 .04
1068
+ runs-on : ubuntu-22 .04
1069
1069
timeout-minutes : 60
1070
1070
needs : [ 'preconditions', 'pulsar-test-latest-version-image' ]
1071
1071
if : ${{ needs.preconditions.outputs.docs_only != 'true' }}
@@ -1184,7 +1184,7 @@ jobs:
1184
1184
1185
1185
delete-system-test-docker-image-artifact :
1186
1186
name : " Delete system test docker image artifact"
1187
- runs-on : ubuntu-20 .04
1187
+ runs-on : ubuntu-22 .04
1188
1188
timeout-minutes : 10
1189
1189
needs : [
1190
1190
' preconditions' ,
@@ -1244,7 +1244,7 @@ jobs:
1244
1244
1245
1245
owasp-dep-check :
1246
1246
name : OWASP dependency check
1247
- runs-on : ubuntu-20 .04
1247
+ runs-on : ubuntu-22 .04
1248
1248
timeout-minutes : 120
1249
1249
needs : [ 'preconditions', 'integration-tests' ]
1250
1250
if : ${{ needs.preconditions.outputs.need_owasp == 'true' }}
@@ -1344,7 +1344,7 @@ jobs:
1344
1344
pulsar-ci-checks-completed :
1345
1345
name : " Pulsar CI checks completed"
1346
1346
if : ${{ always() && ((github.event_name != 'schedule') || (github.repository == 'apache/pulsar')) }}
1347
- runs-on : ubuntu-20 .04
1347
+ runs-on : ubuntu-22 .04
1348
1348
timeout-minutes : 10
1349
1349
needs : [
1350
1350
' preconditions' ,
0 commit comments