FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[improve][build] Switch default JDK to 25 for 5.0.0-M2 by lhotari · Pull Request #26070 · apache/pulsar · GitHub

/ pulsar Public
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .toml  (1) .yaml  (2) All 2 file types selected
Only manifest files
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
16 changes: 8 additions & 8 deletions .github/workflows/pulsar-ci-flaky.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ on:
- branch-*
- pulsar-*
schedule:
# scheduled job with JDK 21
- cron: '0 12 * * *'
# scheduled job with JDK 25
- cron: '0 12 * * *'
# scheduled job with JDK 21
# if cron expression is changed, make sure to update the expression in jdk_major_version step in preconditions job
- cron: '0 6 * * *'
workflow_dispatch:
Expand All @@ -42,9 +42,9 @@ on:
required: true
type: choice
options:
- '21'
- '25'
default: '21'
- '21'
default: '25'
trace_test_resource_cleanup:
description: 'Collect thread & heap information before exiting a test JVM. When set to "on", thread dump and heap histogram will be collected. When set to "full", a heap dump will also be collected.'
required: true
Expand Down Expand Up @@ -104,13 +104,13 @@ jobs:
- name: Select JDK major version
id: jdk_major_version
run: |
# use JDK 25 for the scheduled build with cron expression '0 6 * * *'
# use JDK 21 for the scheduled build with cron expression '0 6 * * *'
if [[ "${{ github.event_name == 'schedule' && github.event.schedule == '0 6 * * *' && 'true' || 'false' }}" == "true" ]]; then
echo "jdk_major_version=25" >> $GITHUB_OUTPUT
echo "jdk_major_version=21" >> $GITHUB_OUTPUT
exit 0
fi
# use JDK 21 for build unless overridden with workflow_dispatch input
echo "jdk_major_version=${{ github.event_name == 'workflow_dispatch' && github.event.inputs.jdk_major_version || '21'}}" >> $GITHUB_OUTPUT
# use JDK 25 for build unless overridden with workflow_dispatch input
echo "jdk_major_version=${{ github.event_name == 'workflow_dispatch' && github.event.inputs.jdk_major_version || '25'}}" >> $GITHUB_OUTPUT

- name: checkout
if: ${{ github.event_name == 'pull_request' }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/pulsar-ci.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ on:
- branch-*
- pulsar-*
schedule:
# scheduled job with JDK 21
- cron: '0 12 * * *'
# scheduled job with JDK 25
- cron: '0 12 * * *'
# scheduled job with JDK 21
# if cron expression is changed, make sure to update the expression in jdk_major_version step in preconditions job
- cron: '0 6 * * *'
workflow_dispatch:
Expand All @@ -37,9 +37,9 @@ on:
required: true
type: choice
options:
- '21'
- '25'
default: '21'
- '21'
default: '25'
trace_test_resource_cleanup:
description: 'Collect thread & heap information before exiting a test JVM. When set to "on", thread dump and heap histogram will be collected. When set to "full", a heap dump will also be collected.'
required: true
Expand Down Expand Up @@ -97,13 +97,13 @@ jobs:
- name: Select JDK major version
id: jdk_major_version
run: |
# use JDK 25 for the scheduled build with cron expression '0 6 * * *'
# use JDK 21 for the scheduled build with cron expression '0 6 * * *'
if [[ "${{ github.event_name == 'schedule' && github.event.schedule == '0 6 * * *' && 'true' || 'false' }}" == "true" ]]; then
echo "jdk_major_version=25" >> $GITHUB_OUTPUT
echo "jdk_major_version=21" >> $GITHUB_OUTPUT
exit 0
fi
# use JDK 21 for build unless overridden with workflow_dispatch input
echo "jdk_major_version=${{ github.event_name == 'workflow_dispatch' && github.event.inputs.jdk_major_version || '21'}}" >> $GITHUB_OUTPUT
# use JDK 25 for build unless overridden with workflow_dispatch input
echo "jdk_major_version=${{ github.event_name == 'workflow_dispatch' && github.event.inputs.jdk_major_version || '25'}}" >> $GITHUB_OUTPUT

- name: checkout
if: ${{ github.event_name == 'pull_request' }}
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#
[versions]
# Docker
docker-jdk = "21"
docker-jdk = "25"
pulsar-client-python = "3.12.0"
# Code quality
checkstyle = "13.3.0"
Expand Down
Loading

Back | FazBrowse Home | New Git URL