Skip to content

Commit de5f599

Browse files
committed
Merge branch 'main' into add-pulsar-plugin
2 parents fb64f80 + 93be949 commit de5f599

File tree

85 files changed

+3831
-316
lines changed

Some content is hidden

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

85 files changed

+3831
-316
lines changed

.github/renovate.json5

+6
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,12 @@
7878
'com.gradleup.shadow{/,}**',
7979
],
8080
},
81+
{
82+
groupName: 'jackson packages',
83+
matchPackageNames: [
84+
'com.fasterxml.jackson{/,}**',
85+
],
86+
},
8187
{
8288
// prevent update to 2.4-groovy-4.0-SNAPSHOT
8389
allowedVersions: '!/\\-SNAPSHOT$/',

.github/workflows/auto-update-otel-sdk.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
- name: Use CLA approved bot
8585
run: .github/scripts/use-cla-approved-bot.sh
8686

87-
- uses: actions/create-github-app-token@0d564482f06ca65fa9e77e2510873638c82206f2 # v1.11.5
87+
- uses: actions/create-github-app-token@21cfef2b496dd8ef5b904c159339626a10ad380e # v1.11.6
8888
id: otelbot-token
8989
with:
9090
app-id: ${{ vars.OTELBOT_APP_ID }}

.github/workflows/backport.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Use CLA approved bot
3030
run: .github/scripts/use-cla-approved-bot.sh
3131

32-
- uses: actions/create-github-app-token@0d564482f06ca65fa9e77e2510873638c82206f2 # v1.11.5
32+
- uses: actions/create-github-app-token@21cfef2b496dd8ef5b904c159339626a10ad380e # v1.11.6
3333
id: otelbot-token
3434
with:
3535
app-id: ${{ vars.OTELBOT_APP_ID }}

.github/workflows/build-common.yml

+25-11
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ jobs:
223223
path: "sboms/*.json"
224224

225225
test:
226-
name: test${{ matrix.test-partition }} (${{ matrix.test-java-version }}, ${{ matrix.vm }})
226+
name: test${{ matrix.test-partition }} (${{ matrix.test-java-version }}, ${{ matrix.vm }}, indy ${{ matrix.test-indy }})
227227
runs-on: ubuntu-latest
228228
strategy:
229229
matrix:
@@ -233,6 +233,7 @@ jobs:
233233
- 17
234234
- 21
235235
- 23
236+
- 24-ea
236237
vm:
237238
- hotspot
238239
- openj9
@@ -241,8 +242,13 @@ jobs:
241242
- 1
242243
- 2
243244
- 3
245+
test-indy:
246+
- false
247+
- true
244248
exclude:
245249
- vm: ${{ inputs.skip-openj9-tests && 'openj9' || '' }}
250+
- test-java-version: 24-ea
251+
vm: openj9
246252
fail-fast: false
247253
steps:
248254
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -272,7 +278,7 @@ jobs:
272278

273279
# vaadin tests use pnpm
274280
- name: Cache pnpm modules
275-
uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
281+
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
276282
with:
277283
path: ~/.pnpm-store
278284
key: ${{ runner.os }}-test-cache-pnpm-modules
@@ -307,6 +313,7 @@ jobs:
307313
${{ env.test-tasks }}
308314
-PtestJavaVersion=${{ matrix.test-java-version }}
309315
-PtestJavaVM=${{ matrix.vm }}
316+
-PtestIndy=${{ matrix.test-indy }}
310317
-Porg.gradle.java.installations.paths=${{ steps.setup-test-java.outputs.path }}
311318
-Porg.gradle.java.installations.auto-download=false
312319
${{ inputs.no-build-cache && ' --no-build-cache' || '' }}
@@ -324,15 +331,22 @@ jobs:
324331
with:
325332
result-encoding: string
326333
script: |
327-
const { data: workflow_run } = await github.rest.actions.listJobsForWorkflowRun({
328-
owner: context.repo.owner,
329-
repo: context.repo.repo,
330-
run_id: context.runId,
331-
per_page: 100
332-
});
333334
const matrix = JSON.parse(process.env.matrix);
334-
const job_name = `common / test${ matrix['test-partition'] } (${ matrix['test-java-version'] }, ${ matrix.vm })`;
335-
return workflow_run.jobs.find((job) => job.name === job_name).html_url;
335+
const job_name = `common / test${ matrix['test-partition'] } (${ matrix['test-java-version'] }, ${ matrix.vm }, indy ${ matrix['test-indy'] })`;
336+
337+
const workflow_jobs_nested = await github.paginate(
338+
github.rest.actions.listJobsForWorkflowRun,
339+
{
340+
owner: context.repo.owner,
341+
repo: context.repo.repo,
342+
run_id: context.runId,
343+
per_page: 100
344+
},
345+
(response) => {
346+
return response.data;
347+
},
348+
);
349+
return workflow_jobs_nested.flat().find((job) => job.name === job_name).html_url;
336350
337351
- name: Flaky test report
338352
if: ${{ !cancelled() }}
@@ -349,7 +363,7 @@ jobs:
349363
if: failure()
350364
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
351365
with:
352-
name: deadlock-detector-test-${{ matrix.test-java-version }}-${{ matrix.vm }}-${{ matrix.test-partition }}
366+
name: deadlock-detector-test-${{ matrix.test-java-version }}-${{ matrix.vm }}-${{ matrix.test-partition }}-indy-${{ matrix.test-indy }}
353367
path: /tmp/deadlock-detector-*
354368
if-no-files-found: ignore
355369

.github/workflows/build-daily-no-build-cache.yml

-7
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,6 @@ jobs:
2424
secrets:
2525
FLAKY_TEST_REPORTER_ACCESS_KEY: ${{ secrets.FLAKY_TEST_REPORTER_ACCESS_KEY }}
2626

27-
test-indy:
28-
uses: ./.github/workflows/reusable-test-indy.yml
29-
with:
30-
no-build-cache: true
31-
secrets:
32-
FLAKY_TEST_REPORTER_ACCESS_KEY: ${{ secrets.FLAKY_TEST_REPORTER_ACCESS_KEY }}
33-
3427
# muzzle is not included here because it doesn't use gradle cache anyway and so is already covered
3528
# by the normal daily build
3629

.github/workflows/build-daily.yml

-5
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ jobs:
2020
secrets:
2121
FLAKY_TEST_REPORTER_ACCESS_KEY: ${{ secrets.FLAKY_TEST_REPORTER_ACCESS_KEY }}
2222

23-
test-indy:
24-
uses: ./.github/workflows/reusable-test-indy.yml
25-
secrets:
26-
FLAKY_TEST_REPORTER_ACCESS_KEY: ${{ secrets.FLAKY_TEST_REPORTER_ACCESS_KEY }}
27-
2823
muzzle:
2924
uses: ./.github/workflows/reusable-muzzle.yml
3025

.github/workflows/build-pull-request.yml

-5
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ jobs:
2929
with:
3030
cache-read-only: true
3131

32-
test-indy:
33-
uses: ./.github/workflows/reusable-test-indy.yml
34-
with:
35-
cache-read-only: true
36-
3732
test-native:
3833
uses: ./.github/workflows/reusable-native-tests.yml
3934
with:

.github/workflows/codeql.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
contents: read
2626
actions: read # for github/codeql-action/init to get workflow details
2727
security-events: write # for github/codeql-action/analyze to upload SARIF results
28-
runs-on: otel-linux-latest-8-cores
28+
runs-on: oracle-8cpu-32gb-x86-64
2929

3030
steps:
3131
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

.github/workflows/prepare-patch-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- name: Use CLA approved bot
5252
run: .github/scripts/use-cla-approved-bot.sh
5353

54-
- uses: actions/create-github-app-token@0d564482f06ca65fa9e77e2510873638c82206f2 # v1.11.5
54+
- uses: actions/create-github-app-token@21cfef2b496dd8ef5b904c159339626a10ad380e # v1.11.6
5555
id: otelbot-token
5656
with:
5757
app-id: ${{ vars.OTELBOT_APP_ID }}

.github/workflows/prepare-release-branch.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
- name: Use CLA approved bot
6464
run: .github/scripts/use-cla-approved-bot.sh
6565

66-
- uses: actions/create-github-app-token@0d564482f06ca65fa9e77e2510873638c82206f2 # v1.11.5
66+
- uses: actions/create-github-app-token@21cfef2b496dd8ef5b904c159339626a10ad380e # v1.11.6
6767
id: otelbot-token
6868
with:
6969
app-id: ${{ vars.OTELBOT_APP_ID }}
@@ -120,7 +120,7 @@ jobs:
120120
- name: Use CLA approved bot
121121
run: .github/scripts/use-cla-approved-bot.sh
122122

123-
- uses: actions/create-github-app-token@0d564482f06ca65fa9e77e2510873638c82206f2 # v1.11.5
123+
- uses: actions/create-github-app-token@21cfef2b496dd8ef5b904c159339626a10ad380e # v1.11.6
124124
id: otelbot-token
125125
with:
126126
app-id: ${{ vars.OTELBOT_APP_ID }}

.github/workflows/publish-petclinic-benchmark-image.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2121

22-
- uses: docker/setup-buildx-action@f7ce87c1d6bead3e36075b2ce75da1f6cc28aaca # v3.9.0
22+
- uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
2323

2424
- name: Login to GitHub container registry
2525
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
@@ -32,7 +32,7 @@ jobs:
3232
run: echo "TS=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV
3333

3434
- name: Push to GitHub packages
35-
uses: docker/build-push-action@0adf9959216b96bec444f325f1e493d4aa344497 # v6.14.0
35+
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
3636
with:
3737
push: true
3838
file: benchmark-overhead/Dockerfile.petclinic

.github/workflows/release-update-cloudfoundry-index.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: display changes
4545
run: git diff
4646

47-
- uses: actions/create-github-app-token@0d564482f06ca65fa9e77e2510873638c82206f2 # v1.11.5
47+
- uses: actions/create-github-app-token@21cfef2b496dd8ef5b904c159339626a10ad380e # v1.11.6
4848
id: otelbot-token
4949
with:
5050
app-id: ${{ vars.OTELBOT_APP_ID }}

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ jobs:
219219
- name: Use CLA approved bot
220220
run: .github/scripts/use-cla-approved-bot.sh
221221

222-
- uses: actions/create-github-app-token@0d564482f06ca65fa9e77e2510873638c82206f2 # v1.11.5
222+
- uses: actions/create-github-app-token@21cfef2b496dd8ef5b904c159339626a10ad380e # v1.11.6
223223
id: otelbot-token
224224
with:
225225
app-id: ${{ vars.OTELBOT_APP_ID }}
@@ -288,7 +288,7 @@ jobs:
288288
- name: Use CLA approved bot
289289
run: .github/scripts/use-cla-approved-bot.sh
290290

291-
- uses: actions/create-github-app-token@0d564482f06ca65fa9e77e2510873638c82206f2 # v1.11.5
291+
- uses: actions/create-github-app-token@21cfef2b496dd8ef5b904c159339626a10ad380e # v1.11.6
292292
id: otelbot-token
293293
with:
294294
app-id: ${{ vars.OTELBOT_APP_ID }}

.github/workflows/reusable-test-indy.yml

-115
This file was deleted.

.github/workflows/reusable-test-latest-deps.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
4747
# vaadin tests use pnpm
4848
- name: Cache pnpm modules
49-
uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
49+
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
5050
with:
5151
path: ~/.pnpm-store
5252
key: ${{ runner.os }}-test-latest-cache-pnpm-modules

benchmark-overhead/Dockerfile.petclinic

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM eclipse-temurin:11.0.26_4-jdk@sha256:0fce1ebca683486d57432c42b8a9764c3fe0b18ae092746248fac258ad05ee00 as app-build
1+
FROM eclipse-temurin:11.0.26_4-jdk@sha256:be923b4c9abb99b97b8aa18169bf4598ab570e9b6dc3ca0ecaef433bd2011dcc as app-build
22

33
# This is the base image that will contain a built version of the spring-petclinic-rest
44
# application. Installing the dependencies and maven compiling the application is time

benchmark-overhead/build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ repositories {
1818
dependencies {
1919
implementation(enforcedPlatform("org.junit:junit-bom:5.12.0"))
2020

21-
testImplementation("org.testcontainers:testcontainers:1.20.5")
22-
testImplementation("org.testcontainers:postgresql:1.20.5")
21+
testImplementation("org.testcontainers:testcontainers:1.20.6")
22+
testImplementation("org.testcontainers:postgresql:1.20.6")
2323
testImplementation("org.junit.jupiter:junit-jupiter-api")
2424
testImplementation("org.junit.jupiter:junit-jupiter-params")
2525
testImplementation("com.squareup.okhttp3:okhttp:4.12.0")

conventions/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ dependencies {
6464
implementation("ru.vyarus:gradle-animalsniffer-plugin:2.0.0")
6565
implementation("org.spdx:spdx-gradle-plugin:0.8.0")
6666
// When updating, also update dependencyManagement/build.gradle.kts
67-
implementation("net.bytebuddy:byte-buddy-gradle-plugin:1.17.1")
67+
implementation("net.bytebuddy:byte-buddy-gradle-plugin:1.17.2")
6868
implementation("gradle.plugin.io.morethan.jmhreport:gradle-jmh-report:0.9.6")
6969
implementation("me.champeau.jmh:jmh-gradle-plugin:0.7.3")
7070
implementation("net.ltgt.gradle:gradle-errorprone-plugin:4.1.0")

conventions/src/main/kotlin/otel.java-conventions.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ codenarc {
431431
checkstyle {
432432
configFile = rootProject.file("buildscripts/checkstyle.xml")
433433
// this version should match the version of google_checks.xml used as basis for above configuration
434-
toolVersion = "10.21.3"
434+
toolVersion = "10.21.4"
435435
maxWarnings = 0
436436
}
437437

0 commit comments

Comments
 (0)