Conversation
|
Hi @ponkio-o I am not familiar with the Aqua project, but when I run What am I missing or doing wrong? :) |
Maybe, you didn't create
$ aqua init
$ cat aqua.yaml
---
# aqua - Declarative CLI Version Manager
# https://aquaproj.github.io/
# checksum:
# enabled: true
# require_checksum: true
# supported_envs:
# - all
registries:
- type: standard
ref: v4.243.0 # renovate: depName=aquaproj/aqua-registry
packages:
$ aqua g -i dag-andersen/argocd-diff-preview
$ cat aqua.yaml
---
# aqua - Declarative CLI Version Manager
# https://aquaproj.github.io/
# checksum:
# enabled: true
# require_checksum: true
# supported_envs:
# - all
registries:
- type: standard
ref: v4.243.0 # renovate: depName=aquaproj/aqua-registry
packages:
- name: dag-andersen/argocd-diff-preview@v0.0.21
$ aqua i
aqua i
INFO[0000] download and unarchive the package aqua_version=2.36.2 env=linux/arm64 package_name=aqua-proxy package_version=v1.2.8 program=aqua registry=
INFO[0001] create a symbolic link aqua_version=2.36.2 command=aqua-proxy env=linux/arm64 package_name=aqua-proxy package_version=v1.2.8 program=aqua registry=
INFO[0001] create a symbolic link aqua_version=2.36.2 command=argocd-diff-preview env=linux/arm64 program=aqua
INFO[0001] download and unarchive the package aqua_version=2.36.2 env=linux/arm64 package_name=dag-andersen/argocd-diff-preview package_version=v0.0.21 program=aqua registry=standard
$ argocd-diff-preview --version
argocd-diff-preview 0.0.20I updated document the following commit. |
91e0155 to
2e1c46b
Compare
|
By the way, if you want to change the version of This command is useful when switching the version of package.
$ cat aqua.yaml
---
# aqua - Declarative CLI Version Manager
# https://aquaproj.github.io/
# checksum:
# enabled: true
# require_checksum: true
# supported_envs:
# - all
registries:
- type: standard
ref: v4.243.0 # renovate: depName=aquaproj/aqua-registry
packages:
- name: dag-andersen/argocd-diff-preview@v0.0.21
# Show version number is 0.0.20, but actually version is 0.0.21. This is a bug of argocd-diff-preview.
$ argocd-diff-preview --version
argocd-diff-preview 0.0.20
$ aqua update -s argocd-diff-preview
v0.0.1 │ │
v0.0.3 │ │
v0.0.5 │ │
v0.0.6 │ │
v0.0.7 │ │
v0.0.8 │ │
v0.0.9 │ │
v0.0.10 │ │
v0.0.11 │ │
v0.0.12 │ │
v0.0.13 │ │
v0.0.14 │ │
v0.0.15 │ │
v0.0.16 │ │
v0.0.17 │ │
v0.0.18 │ │
> v0.0.19 │ │
v0.0.20 │ │
v0.0.21 (*) │ │
19/19 │ │
$ cat aqua.yaml | grep argocd-diff-preview
- name: dag-andersen/argocd-diff-preview@v0.0.19
$ argocd-diff-preview --version
INFO[0000] download and unarchive the package aqua_version=2.36.2 env=linux/arm64 exe_name=argocd-diff-preview package_name=dag-andersen/argocd-diff-preview package_version=v0.0.19 program=aqua registry=standard
argocd-diff-preview 0.0.19 |
6df2aa7 to
940c5ff
Compare
|
Should i maybe commit and push the aqua file? or is it a best practice that everyone who installs |
Typically, each project or team will have its own This has the following advantages:
To show how it works, we have created a sample. The following tools are intalled in
In Then, when new versions of these tools are released, Renovate will update the tools. For example, below is how argocd-diff-preview will be updated to v0.0.23. If there is a problem with v0.0.23, you can revert to the previous version by reverting the Renovate PR. Did you imagine how to use it? If there is anything unclear, please let us know! |
Co-authored-by: Dag Andersen <dagbjerreandersen@gmail.com>
cd8e422 to
15a1941
Compare
3f0fb2f to
4030e15
Compare
I added install method use with aquaproj/aqua. The following PRs support installation on aqua.
aquaproj/aqua-registry#24498
aqua is a CLI tool to install CLI tools with declarative YAML configuration. It may be easier to imagine something like asdf.