Skip to content

Commit d1bd2be

Browse files
authored
Have renovate to auto-update weaver dependency (#162)
1 parent f5a7bde commit d1bd2be

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.github/renovate.json5

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,17 @@
1717
"matchCurrentVersion": "1.33.0",
1818
"enabled": false
1919
}
20+
],
21+
"customManagers": [
22+
{
23+
"customType": "regex",
24+
"datasourceTemplate": "docker",
25+
"fileMatch": [
26+
"^build.gradle.kts$"
27+
],
28+
"matchStrings": [
29+
"\"(?<depName>otel/weaver):(?<currentValue>[^\"]+)\""
30+
]
31+
}
2032
]
2133
}

build.gradle.kts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ nexusPublishing {
6060
}
6161

6262
// start - define tasks to download, unzip, and generate from opentelemetry/semantic-conventions
63-
var generatorVersion = "v0.12.0"
6463
val semanticConventionsRepoZip = "https://github.com/open-telemetry/semantic-conventions/archive/v${semanticConventionsVersion}.zip"
6564
val schemaUrl = "https://opentelemetry.io/schemas/$semanticConventionsVersion"
6665

@@ -109,7 +108,7 @@ fun generateTask(taskName: String, incubating: Boolean) {
109108
"--mount", "type=bind,source=${modelPath},target=/home/weaver/source,readonly",
110109
"--mount", "type=bind,source=$projectDir/buildscripts/templates,target=/home/weaver/templates,readonly",
111110
"--mount", "type=bind,source=$projectDir/$outputDir,target=/home/weaver/target",
112-
"otel/weaver:$generatorVersion",
111+
"otel/weaver:v0.12.0",
113112
"registry", "generate",
114113
"--registry=/home/weaver/source",
115114
"--templates=/home/weaver/templates",

0 commit comments

Comments
 (0)