Skip to main content

Update packages by Renovate

{
"extends": [
"github>aquaproj/aqua-renovate-config#1.1.0"
]
}

image

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.

💡 Prevent some packages from being updated by Renovate

There are two ways to prevent some packages from being updated by Renovate.

  1. Renovate's enabled option
  2. 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