⚠️ Breaking Change
#158 Change the configuration style of inline_registry
The field packages
is added.
AS IS
inline_registry:
- name: jq
type: github_release
repo_owner: stedolan
repo_name: jq
asset: 'jq-{{if eq .OS "darwin"}}osx{{else}}{{.OS}}{{end}}-{{.Arch}}'
files:
- name: jq
TO BE
inline_registry:
packages:
- name: jq
type: github_release
repo_owner: stedolan
repo_name: jq
asset: 'jq-{{if eq .OS "darwin"}}osx{{else}}{{.OS}}{{end}}-{{.Arch}}'
files:
- name: jq
Feature
#5 #139 Support the type http
#149 #150 Check if the package info name is unique in the same registry
#137 #151 Change the symbolic links to the relative path
#7 #152 Support Registry
#7 #156 #157 Support local
Registry
#162 #164 Support the registry type official
Support the type http
e.g. helm
packages:
- name: helm
registry: inline
version: v3.6.3 # renovate: depName=helm/helm
inline_registry:
- name: helm
type: http
url: https://get.helm.sh/helm-{{.Package.Version}}-{{.OS}}-{{.Arch}}.tar.gz
files:
- name: helm
src: "{{.OS}}-{{.Arch}}/helm"
$ tree ~/.aqua/pkgs/http
~/.aqua/pkgs/http
└── get.helm.sh
└── helm-v3.6.3-darwin-amd64.tar.gz
└── darwin-amd64
├── LICENSE
├── README.md
└── helm
3 directories, 3 files
Support Registry
Registry
is the aqua's Ecosystem.
By Registry
, you can do the following things.
- Reuse the aqua's Configuration
- Share your Configuration across projects
- Publish your Configuration as OSS
- Contribute to the official Registry or third party Registry
Official Registry
We maintain the official registry.
We welcome your contribution!
https://github.com/suzuki-shunsuke/aqua-registry
Support local
Registry
e.g.
registries:
- name: local
type: local
path: registry.yaml
packages:
- name: golangci-lint
registry: local
version: v1.42.0 # renovate: depName=golangci/golangci-lint
Support the registry type official
registries:
- type: official
ref: v0.1.1-0
This is equivalent to the following definition.
registries:
- name: official
type: github_content
repo_owner: suzuki-shunsuke
repo_name: aqua-registry
ref: v0.1.1-0
path: registry.yaml
Document
#160 Add the slide to README