Update packages by Renovate
{
"extends": [
"github>aquaproj/aqua-renovate-config#2.2.1"
]
}
As of aqua v2.14.0, you can update them by aqua update
command too.
Please see Update registries and packages by update command too.
aqua manages package and registry versions,
so it is important to update them continuously.
We recommend managing aqua.yaml
with Git and update versions by Renovate or something.
Using Renovate's Regex Manager, you can update versions.
We provide the Renovate Preset Configuration aqua-renovate-config. For the detail, please see the README.
Example pull requests by Renovate.
- chore(deps): update dependency golangci/golangci-lint to v1.42.0
- chore(deps): update dependency aquaproj/aqua-registry to v0.2.2
💡 Use Renovate with Dependabot
If you already use Dependabot and hesitate to use Renovate, you should enable only Renovate's regex
Manager.
{
"enabledManagers": ["regex"]
}
Then Renovate doesn't conflict with Dependabot.
💡 Schedule Standard Registry's update
The release frequency of Standard Registry is high. If you feel the update of Standard Registry is a bit noisy, you can schedule the update of Standard Registry.
e.g.
{
"packageRules": [
{
"matchPackageNames": ["aquaproj/aqua-registry"],
"extends": ["schedule:earlyMondays"]
}
]
}
💡 Renovate's minimumReleaseAge
Some packages have a time lag between when a GitHub Release is created and when assets are uploaded. In that case, Renovate may create pull requests before assets are uploaded. To prevent the issue as much as possible, Renovate's minimumReleaseAge may be useful.
💡 Prevent some packages from being updated by Renovate
There are two ways to prevent some packages from being updated by Renovate.
- Renovate's enabled option
- Use the long syntax instead of the short syntax
1. Renovate's enabled option
e.g. renovate.json
{
"packageRules": [
{
"matchPackageNames": ["kubernetes/kubectl"],
"enabled": false
}
]
}
2. Use the long syntax instead of the short syntax
e.g. aqua.yaml
👍 Renovate wouldn't update kubernetes/kubectl
.
packages:
- name: kubernetes/kubectl
version: v1.25.0
👎 Renovate would update kubernetes/kubectl
and suzuki-shunsuke/tfcmt
.
packages:
- name: kubernetes/kubectl@v1.25.0
- name: suzuki-shunsuke/tfcmt
version: v2.0.0 # renovate: depName=suzuki-shunsuke/tfcmt