Breaking Change
#255 In aqua generate
, you can't select the version interactively
#250 Some template variables become deprecated. In the future version, these variables would be removed
$ aqua g
Instead of selecting the version, the latest version except for prereleases is gotten automatically.
Deprecated Template Variables
Package
PackageInfo
File
Feature
#253 #255 Add list
command and generate
's -f
option
#245 #247 Support replacements
in the template
#249 #250 #251 Add template variables to simplify the Registry Configuration
Add list
command and generate
's -f
option
$ aqua list # List packages in Registries
standard,accurics/terrascan
standard,ahmetb/kubectl-tree
standard,ahmetb/kubectx
standard,ahmetb/kubens
standard,aquasecurity/tfsec
...
$ aqua list | aqua g -f - # Output package configuration
- name: accurics/terrascan
registry: standard
version: v1.10.0
- name: ahmetb/kubectl-tree
registry: standard
version: v0.4.1
- name: ahmetb/kubectx
registry: standard
version: v0.9.4
- name: ahmetb/kubens
registry: standard
version: v0.9.4
...
Support replacements
and archive_type_overrides
in the template
e.g.
asset: 'terrascan_{{trimV .Version}}_{{title .OS}}_{{.Arch}}.tar.gz'
replacements:
amd64: x86_64
asset: 'lambroll_{{.Version}}_{{.OS}}_{{.Arch}}.{{.ArchiveType}}'
archive_type: tar.gz
archive_type_overrides:
- goos: darwin
archive_type: zip
Add template variables to simplify the Registry Configuration
Version
ArchiveType
GOOS
GOARCH
Document
#254 Add a link to int128/aqua-action - Action to install packages using aqua