Skip to content

Commit

Permalink
feat(istio/istio/istioctl): windows support
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Jun 16, 2022
1 parent efe72b6 commit eb36c48
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
8 changes: 6 additions & 2 deletions pkgs/istio/istio/istioctl/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,16 @@ packages:
repo_owner: istio
repo_name: istio
description: The istioctl tool is a configuration command line utility that allows service operators to debug and diagnose their Istio service mesh deployments
supported_if: not (GOOS == "windows" and GOARCH == "arm64")
replacements:
darwin: osx
windows: win
asset: "istioctl-{{.Version}}-{{.OS}}-{{.Arch}}.tar.gz"
files:
- name: istioctl
overrides:
- goos: darwin
goarch: amd64
asset: "istioctl-{{.Version}}-osx.tar.gz"
files:
- name: istioctl
- goos: windows
asset: "istioctl-{{.Version}}-win.zip"
8 changes: 7 additions & 1 deletion registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -4715,13 +4715,19 @@
"asset": "istioctl-{{.Version}}-osx.tar.gz",
"goarch": "amd64",
"goos": "darwin"
},
{
"asset": "istioctl-{{.Version}}-win.zip",
"goos": "windows"
}
],
"replacements": {
"darwin": "osx"
"darwin": "osx",
"windows": "win"
},
"repo_name": "istio",
"repo_owner": "istio",
"supported_if": "not (GOOS == \"windows\" and GOARCH == \"arm64\")",
"type": "github_release"
},
{
Expand Down
8 changes: 6 additions & 2 deletions registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3121,15 +3121,19 @@ packages:
repo_owner: istio
repo_name: istio
description: The istioctl tool is a configuration command line utility that allows service operators to debug and diagnose their Istio service mesh deployments
supported_if: not (GOOS == "windows" and GOARCH == "arm64")
replacements:
darwin: osx
windows: win
asset: "istioctl-{{.Version}}-{{.OS}}-{{.Arch}}.tar.gz"
files:
- name: istioctl
overrides:
- goos: darwin
goarch: amd64
asset: "istioctl-{{.Version}}-osx.tar.gz"
files:
- name: istioctl
- goos: windows
asset: "istioctl-{{.Version}}-win.zip"
- type: github_release
repo_owner: itchyny
repo_name: gojq
Expand Down

0 comments on commit eb36c48

Please sign in to comment.