Skip to content

Commit

Permalink
attempt to migrate to renovate
Browse files Browse the repository at this point in the history
  • Loading branch information
breedx-splk committed Oct 17, 2023
1 parent 41d5b50 commit d13a412
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,6 @@ jobs:
branch: main
path-to-signatures: signatures/version1/cla.json
path-to-document: https://github.com/splunk/cla-agreement/blob/main/CLA.md
allowlist: dependabot[bot]
allowlist:
- dependabot[bot]
- renovate[bot]
4 changes: 2 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ https://www.splunk.com/en_us/product-security/report.html).

This project relies on a variety of external dependencies.
These dependencies are monitored by
[Dependabot](https://docs.github.com/en/code-security/supply-chain-security/configuring-dependabot-security-updates).
Dependencies are [checked
[Renovate](https://github.com/apps/renovate).
Renovate checks for Dependencies are [checked
daily](https://github.com/signalfx/splunk-otel-java/blob/main/.github/dependabot.yml)
and associated pull requests are opened automatically. Upgrading to the [latest
release](https://github.com/signalfx/splunk-otel-android/releases)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
android.lint {
warningsAsErrors = true
// A newer version of androidx.appcompat:appcompat than 1.3.1 is available: 1.4.1 [GradleDependency]
// we rely on dependabot for dependency updates
// we rely on renovate for dependency updates
disable.add("GradleDependency")
}

Expand Down
40 changes: 40 additions & 0 deletions renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"packageRules": [
{
"matchPackageNames": [
"io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha",
"io.opentelemetry.instrumentation:opentelemetry-instrumentation-api-semconv",
"io.opentelemetry.instrumentation:opentelemetry-okhttp-3.0"
],
// Renovate's default behavior is only to update from unstable -> unstable if it's for the
// major.minor.patch, under the assumption that you would want to update to the stable version
// of that release instead of the unstable version for a future release (but there's never any
// stable version of opentelemetry-instrumentation-bom-alpha so this logic doesn't apply
"ignoreUnstable": false
},
{
// navigation-fragment 2.7.0 and above require android api 34+, which we are not ready for
// yet due to android gradle plugin only supporting min 33.
"matchPackagePrefixes": ["androidx.navigation"],
"matchUpdateTypes": ["major", "minor"],
"enabled": false
},
{
// navigation-fragment 2.7.0 and above require android api 34+, which we are not ready for
// yet due to android gradle plugin only supporting min 33.
"matchPackageNames": ["androidx.browser:browser"],
"matchUpdateTypes": ["major", "minor"],
"enabled": false
},
{
// somehow renovate gets confused by the android property in gradle.properties,
// so let's just exclude it and hopefully clean up the dashboard
"matchPackageNames": ["string:rum.version"],
"enabled": false
}
]
}

0 comments on commit d13a412

Please sign in to comment.