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
16 changes: 8 additions & 8 deletions .github/workflows/pulsar-ci-flaky.yaml
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
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
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