Update packages by Renovate
{
"extends": [
"github>aquaproj/aqua-renovate-config#1.1.0"
]
}
aqua manages package and registry versions,
so it is important to update them continuously.
aqua doesn't provide sub commands like aqua update
or options like aqua install --update
.
We recommend to manage 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
💡 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