From 7f054883f09f4dc2bb88315a4355b74e5972a13e Mon Sep 17 00:00:00 2001 From: Tyler Jang Date: Fri, 11 Oct 2024 09:32:27 -0700 Subject: [PATCH] (Feat): Add tool grpcui (#887) Add tool [grpcui](https://github.com/fullstorydev/grpcui). It's available as a download or go install, but a download here allows us to query for latest --- tools/grpcui/grpcui.test.ts | 6 ++++++ tools/grpcui/plugin.yaml | 26 ++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 tools/grpcui/grpcui.test.ts create mode 100644 tools/grpcui/plugin.yaml diff --git a/tools/grpcui/grpcui.test.ts b/tools/grpcui/grpcui.test.ts new file mode 100644 index 000000000..05a963dc0 --- /dev/null +++ b/tools/grpcui/grpcui.test.ts @@ -0,0 +1,6 @@ +import { toolInstallTest } from "tests"; + +toolInstallTest({ + toolName: "grpcui", + toolVersion: "1.4.1", +}); diff --git a/tools/grpcui/plugin.yaml b/tools/grpcui/plugin.yaml new file mode 100644 index 000000000..288b4c12f --- /dev/null +++ b/tools/grpcui/plugin.yaml @@ -0,0 +1,26 @@ +version: 0.1 +downloads: + - name: grpcui + downloads: + - os: + linux: linux + macos: osx + cpu: + x86_64: x86_64 + arm_64: arm64 + url: https://github.com/fullstorydev/grpcui/releases/download/v${version}/grpcui_${version}_${os}_${cpu}.tar.gz + - os: + windows: windows + cpu: + x86_64: amd64 + url: https://github.com/fullstorydev/grpcui/releases/download/v${version}/grpcui_${version}_windows_x86_64.zip +tools: + definitions: + - name: grpcui + download: grpcui + known_good_version: 1.4.1 + shims: [grpcui] + health_checks: + - command: grpcui --version + parse_regex: grpcui v${semver} + check_stderr: true