Skip to content

Commit 3b88bd6

Browse files
authored
chore: update owlbot cli sha using renovate (#3410)
In this PR: - Update owlbot-cli sha using renovate Bot ([doc](https://docs.renovatebot.com/modules/datasource/git-refs/)). - Group image dependency updates to a single PR. Debug output of renovate: ``` { "deps": [ { "depName": "repo-automation-bots", "packageName": "https://github.com/googleapis/repo-automation-bots", "currentValue": "main", "currentDigest": "ab222d9a20bb27586433caedc70f049b7853db7e", "datasource": "git-refs", "replaceString": "OWLBOT_CLI_COMMITTISH=ab222d9a20bb27586433caedc70f049b7853db7e\n", "updates": [ { "updateType": "digest", "newValue": "main", "newDigest": "f66cf627d08d80cba67521e4db491c8e4e4ad315", "branchName": "renovate/library-generation-image-updates" } ], "versioning": "semver-coerced", "warnings": [] } ], "matchStrings": ["OWLBOT_CLI_COMMITTISH=(?<currentDigest>.*?)\\n"], "depNameTemplate": "repo-automation-bots", "packageNameTemplate": "https://github.com/googleapis/repo-automation-bots", "currentValueTemplate": "main", "datasourceTemplate": "git-refs", "packageFile": ".cloudbuild/library_generation/library_generation.Dockerfile" } ```
1 parent 86d3d8c commit 3b88bd6

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

renovate.json

+26
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,19 @@
6060
],
6161
"depNameTemplate": "com.google.cloud:google-cloud-shared-config",
6262
"datasourceTemplate": "maven"
63+
},
64+
{
65+
"customType": "regex",
66+
"fileMatch": [
67+
"^.cloudbuild/library_generation/library_generation.Dockerfile$"
68+
],
69+
"matchStrings": [
70+
"OWLBOT_CLI_COMMITTISH=(?<currentDigest>.*?)\\n"
71+
],
72+
"currentValueTemplate": "main",
73+
"depNameTemplate": "repo-automation-bots",
74+
"packageNameTemplate": "https://github.com/googleapis/repo-automation-bots",
75+
"datasourceTemplate": "git-refs"
6376
}
6477
],
6578
"packageRules": [
@@ -182,6 +195,19 @@
182195
"^io.netty"
183196
],
184197
"groupName": "Netty dependencies"
198+
},
199+
{
200+
"groupName": "Library generation image updates",
201+
"matchDatasources": [
202+
"git-refs",
203+
"docker"
204+
],
205+
"matchPackagePatterns": [
206+
"https://github.com/googleapis/repo-automation-bots",
207+
"docker.io/library/maven",
208+
"docker.io/library/alpine",
209+
"docker.io/library/python"
210+
]
185211
}
186212
]
187213
}

0 commit comments

Comments
 (0)