From eb36c486b29cb6a8296acbaedd0a7a7421963ee5 Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Thu, 16 Jun 2022 20:23:44 +0900 Subject: [PATCH] feat(istio/istio/istioctl): windows support --- pkgs/istio/istio/istioctl/registry.yaml | 8 ++++++-- registry.json | 8 +++++++- registry.yaml | 8 ++++++-- 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/pkgs/istio/istio/istioctl/registry.yaml b/pkgs/istio/istio/istioctl/registry.yaml index cc58a92e7ff..5d9e2ed4c02 100644 --- a/pkgs/istio/istio/istioctl/registry.yaml +++ b/pkgs/istio/istio/istioctl/registry.yaml @@ -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" diff --git a/registry.json b/registry.json index 5dab5de4f05..8bf91c4b058 100644 --- a/registry.json +++ b/registry.json @@ -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" }, { diff --git a/registry.yaml b/registry.yaml index cbc7bf4aa1a..ee76f2b9c46 100644 --- a/registry.yaml +++ b/registry.yaml @@ -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