Skip to content

Commit

Permalink
chore: update owlbot cli sha using renovate (#3410)
Browse files Browse the repository at this point in the history
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"
 }
```
  • Loading branch information
JoeWang1127 authored Dec 4, 2024
1 parent 86d3d8c commit 3b88bd6
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -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=(?<currentDigest>.*?)\\n"
],
"currentValueTemplate": "main",
"depNameTemplate": "repo-automation-bots",
"packageNameTemplate": "https://github.com/googleapis/repo-automation-bots",
"datasourceTemplate": "git-refs"
}
],
"packageRules": [
Expand Down Expand Up @@ -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"
]
}
]
}

0 comments on commit 3b88bd6

Please sign in to comment.