Add Dependabot and updatecli configuration for all dependency ecosystems#146
Add Dependabot and updatecli configuration for all dependency ecosystems#146
Conversation
Co-authored-by: moio <[email protected]>
moio
left a comment
There was a problem hiding this comment.
download-vendored-bin.sh (vendored binary versions: tofu, kubectl, helm, k3d)
darts/*.yaml (chart/distro versions)
Propose solutions
For Option 1: Renovate Bot with regex managers {
"customManagers": [
{
"customType": "regex",
"fileMatch": ["download-vendored-bin\\.sh$"],
"matchStrings": [
"OPENTOFU_VERSION=(?<currentValue>\\d+\\.\\d+\\.\\d+)",
"KUBECTL_VERSION=(?<currentValue>\\d+\\.\\d+\\.\\d+)",
"HELM_VERSION=(?<currentValue>\\d+\\.\\d+\\.\\d+)",
"K3D_VERSION=(?<currentValue>\\d+\\.\\d+\\.\\d+)"
],
"depNameTemplate": "opentofu/opentofu",
"datasourceTemplate": "github-releases"
}
]
}This would require migrating from Dependabot to Renovate. Option 2: Custom GitHub Actions workflow Would you like me to implement either of these? |
|
@copilot is an updatecli solution doable? Like in rancher/rancher: https://github.com/rancher/rancher/blob/main/updatecli/README.md?plain=1 |
Co-authored-by: moio <[email protected]>
…ng groups Co-authored-by: moio <[email protected]>
Yes, implemented in 9eadd36. Added:
|
Dependencies are declared across multiple locations (go.mod, tofu modules, Dockerfile, GitHub Actions) with no automated update mechanism.
Changes
Adds
.github/dependabot.ymlwith weekly update schedules for:go.modat roottofu/main/{aws,azure,k3d,harvester}Adds
updatecli/with manifests and.github/workflows/updatecli.ymlfor:download-vendored-bin.shThe updatecli workflow runs weekly on Mondays and can be triggered manually, following the same pattern used in rancher/rancher.
Not covered
darts/*.yaml(chart/distro versions) — These are configuration values rather than package dependenciesOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.