Skip to content

Commit e519fad

Browse files
committed
Merge remote-tracking branch 'origin/rack' into rack
2 parents 86c2c8d + 28ab112 commit e519fad

File tree

501 files changed

+16036
-6102
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

501 files changed

+16036
-6102
lines changed

.github/actions/setup-gradle/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ runs:
3737
using: "composite"
3838
steps:
3939
- name: Setup Java
40-
uses: actions/setup-java@v4
40+
uses: actions/setup-java@v5
4141
with:
4242
distribution: temurin
4343
java-version: ${{ inputs.java-version }}
4444
- name: Setup Gradle
45-
uses: gradle/actions/setup-gradle@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0
45+
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
4646
env:
4747
GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: true
4848
with:

.github/actions/setup-python/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ runs:
2222
using: "composite"
2323
steps:
2424
- name: Setup Python
25-
uses: actions/setup-python@v5
25+
uses: actions/setup-python@v6
2626
with:
2727
python-version: 3.12
2828
- name: Pip install

.github/scripts/requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15+
16+
# Note: Ensure the 'requests' version here matches the version in tests/setup.py
1517
PyYAML~=6.0
1618
pytz==2024.2
17-
requests==2.32.3
19+
requests==2.32.4

.github/workflows/build.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ jobs:
6666
name: Load Test Catalog
6767
steps:
6868
- name: Checkout main
69-
uses: actions/checkout@v4
69+
uses: actions/checkout@v5
7070
with:
7171
persist-credentials: false
7272

7373
- name: Checkout test-catalog
74-
uses: actions/checkout@v4
74+
uses: actions/checkout@v5
7575
with:
7676
ref: 'test-catalog'
7777
persist-credentials: false
@@ -118,7 +118,7 @@ jobs:
118118
env:
119119
GITHUB_CONTEXT: ${{ toJson(github) }}
120120
- name: Checkout code
121-
uses: actions/checkout@v4
121+
uses: actions/checkout@v5
122122
with:
123123
persist-credentials: false
124124
ref: ${{ github.sha }} # this is the default, just being explicit.
@@ -127,7 +127,7 @@ jobs:
127127
- name: Setup Gradle
128128
uses: ./.github/actions/setup-gradle
129129
with:
130-
java-version: 24
130+
java-version: 25
131131
gradle-cache-read-only: ${{ !inputs.is-trunk }}
132132
gradle-cache-write-only: ${{ inputs.is-trunk }}
133133
develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
@@ -181,7 +181,7 @@ jobs:
181181
fail-fast: false
182182
matrix:
183183
# If we change these, make sure to adjust ci-complete.yml
184-
java: [ 24, 17 ]
184+
java: [ 25, 17 ]
185185
run-flaky: [ true, false ]
186186
run-new: [ true, false ]
187187
exclude:
@@ -192,7 +192,7 @@ jobs:
192192
name: JUnit tests Java ${{ matrix.java }}${{ matrix.run-flaky == true && ' (flaky)' || '' }}${{ matrix.run-new == true && ' (new)' || '' }}
193193
steps:
194194
- name: Checkout code
195-
uses: actions/checkout@v4
195+
uses: actions/checkout@v5
196196
with:
197197
persist-credentials: false
198198
ref: ${{ needs.configure.outputs.sha }}
@@ -210,7 +210,7 @@ jobs:
210210
# the overall workflow, so we'll continue here without a test catalog.
211211
- name: Load Test Catalog
212212
id: load-test-catalog
213-
uses: actions/download-artifact@v4
213+
uses: actions/download-artifact@v5
214214
continue-on-error: true
215215
with:
216216
name: combined-test-catalog
@@ -270,7 +270,7 @@ jobs:
270270
python .github/scripts/junit.py \
271271
--path build/junit-xml >> $GITHUB_STEP_SUMMARY
272272
273-
# This job downloads all the JUnit XML files and thread dumps from the JDK 24 test runs.
273+
# This job downloads all the JUnit XML files and thread dumps from the JDK 25 test runs.
274274
# If any test job fails, we will not run this job. Also, if any thread dump artifacts
275275
# are present, this means there was a timeout in the tests and so we will not proceed
276276
# with catalog creation.
@@ -282,13 +282,13 @@ jobs:
282282
uploaded-test-catalog: ${{ steps.archive-test-catalog.outcome == 'success' }}
283283
steps:
284284
- name: Checkout code
285-
uses: actions/checkout@v4
285+
uses: actions/checkout@v5
286286
with:
287287
persist-credentials: false
288288
- name: Download Thread Dumps
289-
uses: actions/download-artifact@v4
289+
uses: actions/download-artifact@v5
290290
with:
291-
pattern: junit-thread-dumps-24-*
291+
pattern: junit-thread-dumps-25-*
292292
path: thread-dumps
293293
merge-multiple: true
294294
- name: Check For Thread Dump
@@ -300,9 +300,9 @@ jobs:
300300
exit 1;
301301
fi
302302
- name: Download JUnit XMLs
303-
uses: actions/download-artifact@v4
303+
uses: actions/download-artifact@v5
304304
with:
305-
pattern: junit-xml-24-* # Only look at JDK 24 tests for the test catalog
305+
pattern: junit-xml-25-* # Only look at JDK 25 tests for the test catalog
306306
path: junit-xml
307307
merge-multiple: true
308308
- name: Collate Test Catalog
@@ -334,15 +334,15 @@ jobs:
334334
contents: write
335335
steps:
336336
- name: Checkout Test Catalog
337-
uses: actions/checkout@v4
337+
uses: actions/checkout@v5
338338
with:
339339
persist-credentials: true # Needed to commit and push later
340340
ref: test-catalog
341341
- name: Reset Catalog
342342
run: |
343343
rm -rf test-catalog
344344
- name: Download Test Catalog
345-
uses: actions/download-artifact@v4
345+
uses: actions/download-artifact@v5
346346
with:
347347
name: test-catalog
348348
path: test-catalog

.github/workflows/ci-complete.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ jobs:
4343
strategy:
4444
fail-fast: false
4545
matrix:
46-
# Make sure these match build.yml
47-
java: [ 24, 17 ]
46+
# Make sure these match build.yml and also keep in mind that GitHub Actions build will always use this file from the trunk branch.
47+
java: [ 25, 17 ]
4848
run-flaky: [ true, false ]
4949
run-new: [ true, false ]
5050
exclude:
@@ -61,7 +61,7 @@ jobs:
6161
env:
6262
GITHUB_CONTEXT: ${{ toJson(github) }}
6363
- name: Checkout code
64-
uses: actions/checkout@v4
64+
uses: actions/checkout@v5
6565
with:
6666
persist-credentials:
6767
false
@@ -72,7 +72,7 @@ jobs:
7272
develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
7373
- name: Download build scan archive
7474
id: download-build-scan
75-
uses: actions/download-artifact@v4
75+
uses: actions/download-artifact@v5
7676
continue-on-error: true # Don't want this step to fail the overall workflow
7777
with:
7878
github-token: ${{ github.token }}
@@ -89,7 +89,7 @@ jobs:
8989
url: '${{ github.event.workflow_run.html_url }}'
9090
description: 'Could not find build scan'
9191
context: Gradle Build Scan / ${{ env.status-context }}
92-
state: 'error'
92+
state: 'success' # Always mark as successful as a temporary fix; non-trunk branches will miss build scan. Real fix in KAFKA-19768
9393
- name: Publish Scan
9494
id: publish-build-scan
9595
if: ${{ steps.download-build-scan.outcome == 'success' }}

.github/workflows/deflake.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
name: Deflake JUnit tests
4343
steps:
4444
- name: Checkout code
45-
uses: actions/checkout@v4
45+
uses: actions/checkout@v5
4646
with:
4747
persist-credentials: false
4848

.github/workflows/docker_build_and_test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232
build:
3333
runs-on: ubuntu-latest
3434
steps:
35-
- uses: actions/checkout@v4
35+
- uses: actions/checkout@v5
3636
- name: Set up Python 3.10
37-
uses: actions/setup-python@v5
37+
uses: actions/setup-python@v6
3838
with:
3939
python-version: "3.10"
4040
- name: Setup Docker Compose
@@ -54,7 +54,7 @@ jobs:
5454
run: |
5555
python docker_build_test.py kafka/test -tag=test -type=$IMAGE_TYPE -u=$KAFKA_URL
5656
- name: Run CVE scan
57-
uses: aquasecurity/trivy-action@6e7b7d1fd3e4fef0c5fa8cce1229c54b2c9bd0d8 # v0.24.0
57+
uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8 # v0.33.1
5858
with:
5959
image-ref: 'kafka/test:test'
6060
format: 'table'

.github/workflows/docker_official_image_build_and_test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ jobs:
3131
build:
3232
runs-on: ubuntu-latest
3333
steps:
34-
- uses: actions/checkout@v4
34+
- uses: actions/checkout@v5
3535
- name: Set up Python 3.10
36-
uses: actions/setup-python@v5
36+
uses: actions/setup-python@v6
3737
with:
3838
python-version: "3.10"
3939
- name: Setup Docker Compose
@@ -53,7 +53,7 @@ jobs:
5353
run: |
5454
python docker_official_image_build_test.py kafka/test -tag=test -type=$IMAGE_TYPE -v=$KAFKA_VERSION
5555
- name: Run CVE scan
56-
uses: aquasecurity/trivy-action@6e7b7d1fd3e4fef0c5fa8cce1229c54b2c9bd0d8 # v0.24.0
56+
uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8 # v0.33.1
5757
with:
5858
image-ref: 'kafka/test:test'
5959
format: 'table'

.github/workflows/docker_promote.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ jobs:
3131
runs-on: ubuntu-latest
3232
steps:
3333
- name: Set up QEMU
34-
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
34+
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
3535
- name: Set up Docker Buildx
36-
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1
36+
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
3737
- name: Login to Docker Hub
38-
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
38+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
3939
with:
4040
username: ${{ secrets.DOCKERHUB_USER }}
4141
password: ${{ secrets.DOCKERHUB_TOKEN }}

.github/workflows/docker_rc_release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,21 @@ jobs:
3737
runs-on: ubuntu-latest
3838
steps:
3939
- name: Checkout
40-
uses: actions/checkout@v4
40+
uses: actions/checkout@v5
4141
- name: Set up Python 3.10
42-
uses: actions/setup-python@v5
42+
uses: actions/setup-python@v6
4343
with:
4444
python-version: "3.10"
4545
- name: Install dependencies
4646
run: |
4747
python -m pip install --upgrade pip
4848
pip install -r docker/requirements.txt
4949
- name: Set up QEMU
50-
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
50+
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
5151
- name: Set up Docker Buildx
52-
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1
52+
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
5353
- name: Login to Docker Hub
54-
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
54+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
5555
with:
5656
username: ${{ secrets.DOCKERHUB_USER }}
5757
password: ${{ secrets.DOCKERHUB_TOKEN }}

0 commit comments

Comments
 (0)