From 3b88bd64fb9e0cdb3b082701882ab00236869ccd Mon Sep 17 00:00:00 2001 From: Joe Wang <106995533+JoeWang1127@users.noreply.github.com> Date: Wed, 4 Dec 2024 22:15:30 +0000 Subject: [PATCH] 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=(?.*?)\\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" } ``` --- renovate.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/renovate.json b/renovate.json index f9db6a2237..0ede32e68e 100644 --- a/renovate.json +++ b/renovate.json @@ -60,6 +60,19 @@ ], "depNameTemplate": "com.google.cloud:google-cloud-shared-config", "datasourceTemplate": "maven" + }, + { + "customType": "regex", + "fileMatch": [ + "^.cloudbuild/library_generation/library_generation.Dockerfile$" + ], + "matchStrings": [ + "OWLBOT_CLI_COMMITTISH=(?.*?)\\n" + ], + "currentValueTemplate": "main", + "depNameTemplate": "repo-automation-bots", + "packageNameTemplate": "https://github.com/googleapis/repo-automation-bots", + "datasourceTemplate": "git-refs" } ], "packageRules": [ @@ -182,6 +195,19 @@ "^io.netty" ], "groupName": "Netty dependencies" + }, + { + "groupName": "Library generation image updates", + "matchDatasources": [ + "git-refs", + "docker" + ], + "matchPackagePatterns": [ + "https://github.com/googleapis/repo-automation-bots", + "docker.io/library/maven", + "docker.io/library/alpine", + "docker.io/library/python" + ] } ] }