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
.
- 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}}'