github aquaproj/aqua v0.8.2-0

latest releases: v2.32.0, v2.31.0, v2.31.0-3...
pre-release2 years ago

Milestone
v0.8.1...v0.8.2

Feature

#442 #444 Add the field rosetta2 to support Rosetta 2 easily

⚠️ This configuration is used in not aqua.yaml but registry.yaml.

Problem to solve

To support M1 Mac, you have to write a little complicated configuration.

For example, please see assets and files[].src.

https://github.com/aquaproj/aqua-registry/blob/8435092a35823ddca96fe85f5a415a672fb69971/registry.yaml#L195-L203

- type: github_release
  repo_owner: argoproj
  repo_name: argo-workflows
  asset: 'argo-{{.OS}}-{{if eq .GOOS "darwin"}}amd64{{else}}{{.Arch}}{{end}}.gz'
  link: https://argoproj.github.io/argo-workflows/
  description: 'Argo Worfkflows CLI. Workflow engine for Kubernetes'
  files:
  - name: argo
    src: 'argo-{{.OS}}-{{if eq .GOOS "darwin"}}amd64{{else}}{{.Arch}}{{end}}'

How to solve

So we support the syntax to support M1 Mac more simply.

The field rosetta2 is added.
With this field, you can write the above configuration more simply.

- type: github_release
  repo_owner: argoproj
  repo_name: argo-workflows
  rosetta2: true # Added!
  asset: 'argo-{{.OS}}-{{.Arch}}.gz'
  link: https://argoproj.github.io/argo-workflows/
  description: 'Argo Worfkflows CLI. Workflow engine for Kubernetes'
  files:
  - name: argo
    src: 'argo-{{.OS}}-{{.Arch}}'

Don't miss a new aqua release

NewReleases is sending notifications on new releases.