Skip to content

Commit ef2ae85

Browse files
Merge branch 'main' into main
2 parents 65aaf61 + fb35434 commit ef2ae85

File tree

294 files changed

+5389
-3658
lines changed

Some content is hidden

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

294 files changed

+5389
-3658
lines changed

.fossa.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ targets:
7373
- type: gradle
7474
path: ./
7575
target: ':instrumentation:apache-dubbo-2.7:library-autoconfigure'
76+
- type: gradle
77+
path: ./
78+
target: ':instrumentation:apache-elasticjob-3.0:javaagent'
7679
- type: gradle
7780
path: ./
7881
target: ':instrumentation:apache-httpasyncclient-4.1:javaagent'
@@ -190,6 +193,9 @@ targets:
190193
- type: gradle
191194
path: ./
192195
target: ':instrumentation:jdbc:library'
196+
- type: gradle
197+
path: ./
198+
target: ':instrumentation:jfinal-3.2:javaagent'
193199
- type: gradle
194200
path: ./
195201
target: ':instrumentation:jmx-metrics:javaagent'
@@ -829,6 +835,9 @@ targets:
829835
- type: gradle
830836
path: ./
831837
target: ':instrumentation:opentelemetry-api:opentelemetry-api-1.52:javaagent'
838+
- type: gradle
839+
path: ./
840+
target: ':instrumentation:opentelemetry-api:opentelemetry-api-1.56:javaagent'
832841
- type: gradle
833842
path: ./
834843
target: ':instrumentation:pekko:pekko-actor-1.0:javaagent'

.github/renovate.json5

Lines changed: 54 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,18 @@
77
ignorePaths: [
88
'instrumentation/**',
99
],
10-
// needed in order to get patch-only updates in package rules below
11-
// unfortunately you can't combine updateTypes and separateMinorPatch in the same package rule
12-
// so we have to apply it globally here, see
13-
// https://github.com/renovatebot/renovate/discussions/8399#discussioncomment-305798
14-
separateMinorPatch: true,
1510
packageRules: [
1611
{
1712
// this is to reduce the number of renovate PRs
1813
matchManagers: [
1914
'github-actions',
2015
'dockerfile',
16+
'custom.regex',
2117
],
2218
extends: [
2319
'schedule:weekly',
2420
],
2521
groupName: 'weekly update',
26-
separateMinorPatch: false, // overrides separateMinorPatch specified above
2722
},
2823
{
2924
matchPackageNames: [
@@ -43,6 +38,14 @@
4338
ignoreUnstable: false,
4439
allowedVersions: '!/\\-SNAPSHOT$/',
4540
},
41+
{
42+
// currently using gradle plugin org.playframework.play 3.1.0 milestone releases
43+
// but don't want to pick up SNAPSHOT releases
44+
matchPackageNames: [
45+
'org.playframework.play:**',
46+
],
47+
allowedVersions: '!/\\-SNAPSHOT$/',
48+
},
4649
{
4750
groupName: 'quarkus packages',
4851
matchPackageNames: [
@@ -143,11 +146,7 @@
143146
matchPackageNames: [
144147
'uk.org.webcompere:system-stubs-jupiter',
145148
],
146-
matchUpdateTypes: [
147-
'major',
148-
'minor',
149-
],
150-
enabled: false,
149+
allowedVersions: '/^2\\.0\\./',
151150
},
152151
{
153152
// wiremock 3+ requires Java 11+
@@ -190,7 +189,22 @@
190189
enabled: false,
191190
},
192191
{
193-
// intentionally using Spring Boot 2 in these smoke tests
192+
// intentionally using Spring Boot 2 to make sure the earliest version is supported
193+
matchFileNames: [
194+
'smoke-tests/images/spring-boot/build.gradle.kts',
195+
'smoke-tests-otel-starter/spring-boot-2/build.gradle.kts',
196+
'smoke-tests-otel-starter/spring-boot-common/build.gradle.kts',
197+
'smoke-tests-otel-starter/spring-boot-reactive-2/build.gradle.kts',
198+
'smoke-tests-otel-starter/spring-boot-reactive-common/build.gradle.kts',
199+
'smoke-tests-otel-starter/spring-smoke-testing/build.gradle.kts',
200+
],
201+
matchPackageNames: [
202+
'org.springframework.boot:spring-boot-dependencies:**',
203+
],
204+
enabled: false
205+
},
206+
{
207+
// Spring Boot 2 smoke tests are intentionally using slf4j 1.x
194208
matchFileNames: [
195209
'smoke-tests/images/spring-boot/build.gradle.kts',
196210
'smoke-tests-otel-starter/spring-boot-2/build.gradle.kts',
@@ -201,7 +215,6 @@
201215
],
202216
matchPackageNames: [
203217
'org.slf4j:slf4j-api',
204-
'org.springframework.boot:**',
205218
],
206219
matchUpdateTypes: [
207220
'major',
@@ -218,11 +231,7 @@
218231
matchPackageNames: [
219232
'ch.qos.logback:**',
220233
],
221-
matchUpdateTypes: [
222-
'major',
223-
'minor',
224-
],
225-
enabled: false,
234+
allowedVersions: '/^1\\.2\\./',
226235
},
227236
{
228237
// intentionally using slf4j 1 in this smoke tests
@@ -253,18 +262,26 @@
253262
],
254263
},
255264
{
256-
// intentionally aligning both netty 4.0 and 4.1 version in this convention
265+
// intentionally aligning netty 4.0 versions in this convention
257266
matchFileNames: [
258267
'conventions/src/main/kotlin/otel.java-conventions.gradle.kts',
259268
],
260269
matchPackageNames: [
261270
'io.netty:netty-bom',
262271
],
263-
matchUpdateTypes: [
264-
'major',
265-
'minor',
272+
matchCurrentVersion: '/^4\\.0\\./',
273+
allowedVersions: '/^4\\.0\\./',
274+
},
275+
{
276+
// intentionally aligning netty 4.1 versions in this convention
277+
matchFileNames: [
278+
'conventions/src/main/kotlin/otel.java-conventions.gradle.kts',
266279
],
267-
enabled: false,
280+
matchPackageNames: [
281+
'io.netty:netty-bom',
282+
],
283+
matchCurrentVersion: '/^4\\.1\\./',
284+
allowedVersions: '/^4\\.1\\./',
268285
},
269286
{
270287
// intentionally using scala 2.11 in otel.scala-conventions.gradle.kts
@@ -274,14 +291,10 @@
274291
matchPackageNames: [
275292
'org.scala-lang:scala-library',
276293
],
277-
matchUpdateTypes: [
278-
'major',
279-
'minor',
280-
],
281-
enabled: false,
294+
allowedVersions: '/^2\\.11\\./',
282295
},
283296
{
284-
// intentionally using Java 11 in some examples
297+
// intentionally testing against specific major Java versions
285298
matchPackageNames: [
286299
'eclipse-temurin',
287300
],
@@ -319,27 +332,10 @@
319332
matchFileNames: [
320333
'dependencyManagement/build.gradle.kts',
321334
],
322-
matchUpdateTypes: [
323-
'major',
324-
'minor',
325-
],
326-
enabled: false,
327335
matchPackageNames: [
328336
'ch.qos.logback:**',
329337
],
330-
},
331-
{
332-
// intentionally using Spring Boot 2 in dependency management (for Java 8 support)
333-
matchFileNames: [
334-
'dependencyManagement/build.gradle.kts',
335-
],
336-
matchUpdateTypes: [
337-
'major',
338-
],
339-
enabled: false,
340-
matchPackageNames: [
341-
'org.springframework.boot:spring-boot-dependencies:**',
342-
],
338+
allowedVersions: '/^1\\.3\\./',
343339
},
344340
{
345341
// pinned version to Jetty 8 (Servlet 3.0) for compatibility
@@ -370,6 +366,17 @@
370366
depNameTemplate: 'java',
371367
extractVersionTemplate: '^(?<version>\\d+)',
372368
},
369+
{
370+
customType: 'regex',
371+
datasourceTemplate: 'docker',
372+
managerFilePatterns: [
373+
'**/build.gradle.kts',
374+
],
375+
matchStrings: [
376+
'"(?<depName>eclipse-temurin):(?<currentValue>[^"@]+)@(?<currentDigest>sha256:[0-9a-f]+)"',
377+
'"(?<depName>ibm-semeru-runtimes):(?<currentValue>[^"@]+)@(?<currentDigest>sha256:[0-9a-f]+)"',
378+
],
379+
},
373380
{
374381
customType: 'regex',
375382
datasourceTemplate: 'pypi',

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ jobs:
2929
# muzzle is not included here because it doesn't use gradle cache anyway and so is already covered
3030
# by the normal daily build
3131

32-
# link-check and misspell-check are not included here because they don't use gradle cache
33-
# anyway and so are already covered by the normal daily build
32+
# link-check is not included here because it doesn't use gradle cache anyway and so is already
33+
# covered by the normal daily build
3434

3535
workflow-notification:
3636
permissions:

.github/workflows/build-daily.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ jobs:
3434
markdown-lint-check:
3535
uses: ./.github/workflows/reusable-markdown-lint-check.yml
3636

37-
misspell-check:
38-
uses: ./.github/workflows/reusable-misspell-check.yml
39-
4037
workflow-notification:
4138
permissions:
4239
contents: read
@@ -46,7 +43,6 @@ jobs:
4643
- test-latest-deps
4744
- muzzle
4845
- link-check
49-
- misspell-check
5046
if: always()
5147
uses: ./.github/workflows/reusable-workflow-notification.yml
5248
with:
@@ -55,6 +51,5 @@ jobs:
5551
needs.common.result == 'success' &&
5652
needs.test-latest-deps.result == 'success' &&
5753
needs.muzzle.result == 'success' &&
58-
needs.link-check.result == 'success' &&
59-
needs.misspell-check.result == 'success'
54+
needs.link-check.result == 'success'
6055
}}

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@ jobs:
5353
markdown-lint-check:
5454
uses: ./.github/workflows/reusable-markdown-lint-check.yml
5555

56-
misspell-check:
57-
uses: ./.github/workflows/reusable-misspell-check.yml
58-
5956
required-status-check:
6057
# test-latest-deps is not included in the required status checks
6158
# because any time a new library version is released to maven central
@@ -71,7 +68,6 @@ jobs:
7168
- muzzle
7269
- shell-script-check
7370
- markdown-lint-check
74-
- misspell-check
7571
runs-on: ubuntu-latest
7672
if: always()
7773
steps:
@@ -82,8 +78,7 @@ jobs:
8278
(
8379
needs.muzzle.result != 'success' ||
8480
needs.shell-script-check.result != 'success' ||
85-
needs.markdown-lint-check.result != 'success' ||
86-
needs.misspell-check.result != 'success'
81+
needs.markdown-lint-check.result != 'success'
8782
)
8883
)
8984
run: exit 1 # fail

.github/workflows/build.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,9 @@ jobs:
5151
if: "!startsWith(github.ref_name, 'release/')"
5252
uses: ./.github/workflows/reusable-markdown-lint-check.yml
5353

54-
misspell-check:
55-
# release branches are excluded to avoid unnecessary maintenance if new misspellings are added
56-
# to the misspell dictionary
57-
if: "!startsWith(github.ref_name, 'release/')"
58-
uses: ./.github/workflows/reusable-misspell-check.yml
59-
6054
publish-snapshots:
6155
needs:
62-
# intentionally not blocking snapshot publishing on test-latest-deps, muzzle,
63-
# link-check, or misspell-check
56+
# intentionally not blocking snapshot publishing on test-latest-deps, muzzle, or link-check
6457
- common
6558
runs-on: ubuntu-latest
6659
# skipping release branches because the versions in those branches are not snapshots

.github/workflows/documentation-synchronization-audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
1919
with:
2020
distribution: temurin
21-
java-version: 17
21+
java-version-file: .java-version
2222

2323
- name: Set up gradle
2424
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0

.github/workflows/release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,9 @@ jobs:
201201
echo "prior-version=$PRIOR_VERSION" >> $GITHUB_OUTPUT
202202
203203
documentation-audit:
204+
permissions:
205+
contents: read
206+
issues: write
204207
needs:
205208
- release
206209
uses: ./.github/workflows/documentation-synchronization-audit.yml
@@ -249,6 +252,14 @@ jobs:
249252
sleep 60
250253
done
251254
255+
- uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
256+
with:
257+
distribution: temurin
258+
java-version-file: .java-version
259+
260+
- name: Setup Gradle
261+
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
262+
252263
- name: Update apidiff baseline
253264
env:
254265
VERSION: ${{ needs.release.outputs.version }}

.github/workflows/reusable-misspell-check.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)