-
Notifications
You must be signed in to change notification settings - Fork 29
feat(renovate): add renovate configuration for auto-updating toolbox version in build file of Python SDK #380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Also, the PR description seems to talk about the "Go SDK repository". Should this be Python SDK repository for now?
.github/renovate.json5
Outdated
'regex', | ||
], | ||
branchName: 'auto-update/toolbox-server-v{{newValue}}', | ||
commitMessageTopic: 'chore(deps): update genai-toolbox server to {{newValue}}', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we say something like "chore(deps): update MCP Toolbox server for integration tests to {{newValue}}"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, on it!
…version in build file of Python SDK Signed-off-by: Anushka Saxena <anushkasaxena.1947@gmail.com>
Sorry for the confusion, I've changed it. Thanks! |
Signed-off-by: Anushka Saxena <anushkasaxenaa@google.com>
068a1e1
to
6e844ea
Compare
Description
This PR adds the official Renovate configuration (
renovate.json
) to the Python SDK repository.This configuration enables automated dependency tracking for the upstream Toolbox server:
regexManagers
to watch the googleapis/genai-toolbox releases."datasourceTemplate": "github-releases"
"depNameTemplate": "googleapis/genai-toolbox"
This tells Renovate to:
Look for new versions of the dependency by checking the GitHub Releases of the repository specified in
depNameTemplate.
In this case, Renovate polls or checks for new releases/tags on https://github.com/googleapis/genai-toolbox.
The
matchStrings
regex extracts the current version fromintegration.cloudbuild.yaml
. Renovate then compares this to the versions available via GitHub releases for googleapis/genai-toolbox.Local test results
python-renovate-logs.txt
Relates issues
Resolves #379