-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update upstream agent #49
Changes from 12 commits
6c0160a
a9b0332
0ef4d7f
a5db2c8
cecd5d1
8f804a3
cdfcb77
6c16b8f
df2f9db
9123ec0
cd93ad7
b4091e0
1597603
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
--- | ||
version: 2 | ||
updates: | ||
|
||
registries: | ||
|
||
updates: | ||
# GitHub actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
|
@@ -15,3 +17,10 @@ updates: | |
github-actions: | ||
patterns: | ||
- "*" | ||
|
||
# Gradle | ||
- package-ecosystem: "gradle" | ||
directory: "/gradle/" # for now only on the version catalog to prevent noise | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [for reviewer] for now we only try to update versions set in "version catalog", covering all dependencies should be part of #8 |
||
schedule: | ||
interval: "daily" | ||
open-pull-requests-limit: 10 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,8 +16,8 @@ subprojects { | |
ext { | ||
deps = [ | ||
autoservice: [ | ||
"com.google.auto.service:auto-service:" + libraries.versions.autoservice.get(), | ||
"com.google.auto.service:auto-service-annotations:" + libraries.versions.autoservice.get(), | ||
"com.google.auto.service:auto-service:" + catalog.versions.autoservice.get(), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I guess we can't use There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't know yet for those and plan to tackle it with #8 later to focus on the otel parts. |
||
"com.google.auto.service:auto-service-annotations:" + catalog.versions.autoservice.get(), | ||
] | ||
] | ||
} | ||
|
@@ -40,15 +40,15 @@ subprojects { | |
|
||
dependencies { | ||
|
||
implementation(platform("io.opentelemetry:opentelemetry-bom:" + libraries.versions.opentelemetrySdk.get().toString())) | ||
implementation(platform(catalog.opentelemetryBom)) | ||
|
||
// these serve as a test of the instrumentation boms | ||
implementation(platform("io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:" + libraries.versions.opentelemetryJavaagent.get().toString())) | ||
implementation(platform("io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:" + libraries.versions.opentelemetryJavaagentAlpha.get().toString())) | ||
implementation(platform(catalog.opentelemetryInstrumentationBom)) | ||
implementation(platform(catalog.opentelemetryInstrumentationAlphaBom)) | ||
|
||
testImplementation("org.mockito:mockito-core:5.5.0") | ||
|
||
testImplementation(enforcedPlatform("org.junit:junit-bom:" + libraries.versions.junit.get().toString())) | ||
testImplementation(enforcedPlatform("org.junit:junit-bom:" + catalog.versions.junit.get().toString())) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here: Impossible to use a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, here it's possible to use the catalog in a declarative way, but I will do that when dealing with #8 to keep changes minimal here. |
||
testImplementation("org.junit.jupiter:junit-jupiter") | ||
} | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[versions] | ||
shadow = "8.1.1" | ||
jib = "3.4.0" | ||
spotless = "6.21.0" | ||
junit = "5.10.0" | ||
autoservice = "1.1.1" | ||
|
||
opentelemetrySdk = "1.29.0" | ||
opentelemetryJavaagent = "1.30.0" | ||
opentelemetryJavaagentAlpha = "1.30.0-alpha" | ||
opentelemetryContribAlpha = "1.30.0-alpha" | ||
|
||
[libraries] | ||
|
||
SylvainJuge marked this conversation as resolved.
Show resolved
Hide resolved
|
||
opentelemetryJavaagent = { group = "io.opentelemetry.javaagent", name = "opentelemetry-javaagent", version.ref = "opentelemetryJavaagent" } | ||
opentelemetryJavaagentForTesting = { group = "io.opentelemetry.javaagent", name = "opentelemetry-agent-for-testing", version.ref = "opentelemetryJavaagent" } | ||
|
||
opentelemetryBom = { group = "io.opentelemetry", name = "opentelemetry-bom", version.ref = "opentelemetrySdk" } | ||
opentelemetryInstrumentationBom = { group = "io.opentelemetry.instrumentation", name = "opentelemetry-instrumentation-bom", version.ref = "opentelemetryJavaagent" } | ||
opentelemetryInstrumentationAlphaBom = { group = "io.opentelemetry.instrumentation", name = "opentelemetry-instrumentation-bom-alpha", version.ref = "opentelemetryJavaagentAlpha" } | ||
|
||
awsContribResources = { group = "io.opentelemetry.contrib", name = "opentelemetry-aws-resources", version.ref = "opentelemetryContribAlpha" } | ||
contribResources = { group = "io.opentelemetry.contrib", name = "opentelemetry-resource-providers", version.ref = "opentelemetryContribAlpha" } | ||
|
||
[bundles] | ||
|
||
[plugins] | ||
|
||
shadow = { id = "com.github.johnrengelman.shadow", version.ref = "shadow" } | ||
jib = { id = "com.google.cloud.tools.jib", version.ref = "jib" } | ||
spotless = { id = "com.diffplug.spotless:spotless", version.ref = "spotless" } | ||
taskinfo = { id = "org.barfuin.gradle.taskinfo", version = '2.1.0' } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
plugins { | ||
alias(gradlePlugins.plugins.taskinfo) | ||
alias(catalog.plugins.taskinfo) | ||
war | ||
} | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[for reviewer] this configures dependabot to attempt updating gradle dependencies in
gradle/libs.versions.toml
, maybe other files are covered as well (but this will be the central place where we attempt to configure dependencies in the future).