Skip to content

Commit 149ef02

Browse files
committed
Merge branch 'main' into elasticjob
2 parents 08804f7 + 6d6915e commit 149ef02

File tree

365 files changed

+6737
-1484
lines changed

Some content is hidden

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

365 files changed

+6737
-1484
lines changed

.fossa.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,9 @@ targets:
190190
- type: gradle
191191
path: ./
192192
target: ':instrumentation:jdbc:library'
193+
- type: gradle
194+
path: ./
195+
target: ':instrumentation:jfinal-3.2:javaagent'
193196
- type: gradle
194197
path: ./
195198
target: ':instrumentation:jmx-metrics:javaagent'

.github/renovate.json5

Lines changed: 57 additions & 57 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+
@@ -169,6 +168,16 @@
169168
'org.snakeyaml:snakeyaml-engine'
170169
],
171170
},
171+
{
172+
// groovy 5+ requires Java 11+
173+
matchUpdateTypes: [
174+
'major',
175+
],
176+
enabled: false,
177+
matchPackageNames: [
178+
'org.apache.groovy:**'
179+
],
180+
},
172181
{
173182
// vaadin 14 tests require node 16
174183
matchPackageNames: [
@@ -180,9 +189,7 @@
180189
enabled: false,
181190
},
182191
{
183-
// intentionally using Spring Boot 2 in this smoke tests
184-
// new versions of Spring Boot 3 are tested with
185-
// https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/dc4330e0a3060bd7d8c4090ad0b8fc4727e68113/settings.gradle.kts#L43-L45
192+
// intentionally using Spring Boot 2 in these smoke tests
186193
matchFileNames: [
187194
'smoke-tests/images/spring-boot/build.gradle.kts',
188195
'smoke-tests-otel-starter/spring-boot-2/build.gradle.kts',
@@ -193,42 +200,24 @@
193200
],
194201
matchPackageNames: [
195202
'org.slf4j:slf4j-api',
196-
'org.springframework.boot:org.springframework.boot.gradle.plugin', // this is for plugin id "org.springframework.boot"
197-
'org.springframework.boot:spring-boot-dependencies',
203+
'org.springframework.boot:**',
198204
],
199205
matchUpdateTypes: [
200206
'major',
201-
'minor',
202207
],
203208
enabled: false,
204209
},
205210
{
206-
// intentionally using Spring Boot 2 in this smoke tests
211+
// intentionally using Logback 1.2 (for Spring Boot 2) in these smoke tests
207212
matchFileNames: [
213+
'smoke-tests/images/spring-boot/build.gradle.kts',
208214
'smoke-tests-otel-starter/spring-boot-2/build.gradle.kts',
209215
'smoke-tests-otel-starter/spring-boot-reactive-2/build.gradle.kts',
210216
],
211-
matchPackageNames: [
212-
'ch.qos.logback:logback-classic',
213-
],
214-
matchUpdateTypes: [
215-
'minor',
216-
],
217-
enabled: false,
218-
},
219-
{
220-
// intentionally using logback 1.2 in this smoke tests
221-
matchFileNames: [
222-
'smoke-tests/images/spring-boot/build.gradle.kts',
223-
],
224-
matchUpdateTypes: [
225-
'major',
226-
'minor',
227-
],
228-
enabled: false,
229217
matchPackageNames: [
230218
'ch.qos.logback:**',
231219
],
220+
allowedVersions: '/^1\\.2\\./',
232221
},
233222
{
234223
// intentionally using slf4j 1 in this smoke tests
@@ -259,18 +248,26 @@
259248
],
260249
},
261250
{
262-
// intentionally aligning both netty 4.0 and 4.1 version in this convention
251+
// intentionally aligning netty 4.0 versions in this convention
263252
matchFileNames: [
264253
'conventions/src/main/kotlin/otel.java-conventions.gradle.kts',
265254
],
266255
matchPackageNames: [
267256
'io.netty:netty-bom',
268257
],
269-
matchUpdateTypes: [
270-
'major',
271-
'minor',
258+
matchCurrentVersion: '/^4\\.0\\./',
259+
allowedVersions: '/^4\\.0\\./',
260+
},
261+
{
262+
// intentionally aligning netty 4.1 versions in this convention
263+
matchFileNames: [
264+
'conventions/src/main/kotlin/otel.java-conventions.gradle.kts',
272265
],
273-
enabled: false,
266+
matchPackageNames: [
267+
'io.netty:netty-bom',
268+
],
269+
matchCurrentVersion: '/^4\\.1\\./',
270+
allowedVersions: '/^4\\.1\\./',
274271
},
275272
{
276273
// intentionally using scala 2.11 in otel.scala-conventions.gradle.kts
@@ -280,14 +277,10 @@
280277
matchPackageNames: [
281278
'org.scala-lang:scala-library',
282279
],
283-
matchUpdateTypes: [
284-
'major',
285-
'minor',
286-
],
287-
enabled: false,
280+
allowedVersions: '/^2\\.11\\./',
288281
},
289282
{
290-
// intentionally using Java 11 in some examples
283+
// intentionally testing against specific major Java versions
291284
matchPackageNames: [
292285
'eclipse-temurin',
293286
],
@@ -325,14 +318,10 @@
325318
matchFileNames: [
326319
'dependencyManagement/build.gradle.kts',
327320
],
328-
matchUpdateTypes: [
329-
'major',
330-
'minor',
331-
],
332-
enabled: false,
333321
matchPackageNames: [
334322
'ch.qos.logback:**',
335323
],
324+
allowedVersions: '/^1\\.3\\./',
336325
},
337326
{
338327
// intentionally using Spring Boot 2 in dependency management (for Java 8 support)
@@ -367,20 +356,31 @@
367356
datasourceTemplate: 'java-version',
368357
managerFilePatterns: [
369358
'.github/workflows/**',
370-
'**/*.gradle.kts'
359+
'**/*.gradle.kts',
371360
],
372361
matchStrings: [
373-
'(?<currentValue>\\d+) # renovate: datasource=java-version',
374-
'"(?<currentValue>\\d+)" // renovate: datasource=java-version',
362+
'(?<currentValue>\\d+) # renovate\\(java-version\\)',
363+
'"(?<currentValue>\\d+)" // renovate\\(java-version\\)',
375364
],
376365
depNameTemplate: 'java',
377366
extractVersionTemplate: '^(?<version>\\d+)',
378367
},
368+
{
369+
customType: 'regex',
370+
datasourceTemplate: 'docker',
371+
managerFilePatterns: [
372+
'**/build.gradle.kts',
373+
],
374+
matchStrings: [
375+
'"(?<depName>eclipse-temurin):(?<currentValue>[^"@]+)@(?<currentDigest>sha256:[0-9a-f]+)"',
376+
'"(?<depName>ibm-semeru-runtimes):(?<currentValue>[^"@]+)@(?<currentDigest>sha256:[0-9a-f]+)"',
377+
],
378+
},
379379
{
380380
customType: 'regex',
381381
datasourceTemplate: 'pypi',
382382
managerFilePatterns: [
383-
'/^.github/workflows//',
383+
'.github/workflows/**',
384384
],
385385
matchStrings: [
386386
'pip install (?<depName>[^=]+)==(?<currentValue>[^\\s]+)',
@@ -390,7 +390,7 @@
390390
customType: 'regex',
391391
datasourceTemplate: 'npm',
392392
managerFilePatterns: [
393-
'/^.github/workflows//',
393+
'.github/workflows/**',
394394
],
395395
matchStrings: [
396396
'npx (?<depName>[^@]+)@(?<currentValue>[^\\s]+)',

.github/repository-settings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ private admin repo.
1111
- `FLAKY_TEST_REPORTER_ACCESS_KEY` - owned by [@laurit](https://github.com/laurit)
1212
- `GPG_PASSWORD` - stored in OpenTelemetry-Java 1Password
1313
- `GPG_PRIVATE_KEY` - stored in OpenTelemetry-Java 1Password
14-
- `GRADLE_PUBLISH_KEY`
15-
- `GRADLE_PUBLISH_SECRET`
14+
- `GRADLE_PUBLISH_KEY` - owned by [@trask](https://github.com/trask)
15+
- `GRADLE_PUBLISH_SECRET` - owned by [@trask](https://github.com/trask)
1616
- `NVD_API_KEY` - stored in OpenTelemetry-Java 1Password
1717
- Generated at https://nvd.nist.gov/developers/request-an-api-key
1818
- Key is associated with [@trask](https://github.com/trask)'s gmail address

.github/workflows/build-common.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ jobs:
246246
- 11
247247
- 17
248248
- 21
249-
- 25 # renovate: datasource=java-version
249+
- 25 # renovate(java-version)
250250
- 25-deny-unsafe
251251
vm:
252252
- hotspot

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
cache-read-only: ${{ github.event_name == 'pull_request' }}
6464

6565
- name: Initialize CodeQL
66-
uses: github/codeql-action/init@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
66+
uses: github/codeql-action/init@014f16e7ab1402f30e7c3329d33797e7948572db # v4.31.3
6767
with:
6868
languages: ${{ matrix.language }}
6969
# using "linked" helps to keep up with the linked Kotlin support
@@ -84,6 +84,6 @@ jobs:
8484
--no-build-cache --no-daemon
8585
8686
- name: Perform CodeQL analysis
87-
uses: github/codeql-action/analyze@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
87+
uses: github/codeql-action/analyze@014f16e7ab1402f30e7c3329d33797e7948572db # v4.31.3
8888
with:
8989
category: "/language:${{matrix.language}}"

.github/workflows/dependency-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ jobs:
1919
- name: 'Checkout Repository'
2020
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2121
- name: 'Dependency Review'
22-
uses: actions/dependency-review-action@40c09b7dc99638e5ddb0bfd91c1673effc064d8a # v4.8.1
22+
uses: actions/dependency-review-action@3c4e3dcb1aa7874d2c16be7d79418e9b7efd6261 # v4.8.2

.github/workflows/ossf-scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ jobs:
4343
# Upload the results to GitHub's code scanning dashboard (optional).
4444
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
4545
- name: "Upload to code-scanning"
46-
uses: github/codeql-action/upload-sarif@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
46+
uses: github/codeql-action/upload-sarif@014f16e7ab1402f30e7c3329d33797e7948572db # v4.31.3
4747
with:
4848
sarif_file: results.sarif

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
with:
1515
fetch-depth: 0 # needed for merge-base used in lint:links-in-modified-files
1616

17-
- uses: jdx/mise-action@be3be2260bc02bc3fbf94c5e2fed8b7964baf074 # v3.4.0
17+
- uses: jdx/mise-action@9dc7d5dd454262207dea3ab5a06a3df6afc8ff26 # v3.4.1
1818

1919
- name: Link check - relative links (all files)
2020
if: github.event_name == 'pull_request'

.github/workflows/reusable-pr-smoke-test-images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
build:
3131
runs-on: ubuntu-latest
3232
env:
33-
LATEST_JAVA_VERSION: 25 # renovate: datasource=java-version
33+
LATEST_JAVA_VERSION: 25 # renovate(java-version)
3434
steps:
3535
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3636

.github/workflows/reusable-publish-smoke-test-images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
contents: read
3434
packages: write
3535
env:
36-
LATEST_JAVA_VERSION: 25 # renovate: datasource=java-version
36+
LATEST_JAVA_VERSION: 25 # renovate(java-version)
3737
steps:
3838
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3939

0 commit comments

Comments
 (0)