From 8e073a671518b698579636d4d45dc11b03b363dc Mon Sep 17 00:00:00 2001 From: Ruoqing He Date: Tue, 4 Feb 2025 19:33:46 +0800 Subject: [PATCH] ci: Update yq to v4.44.5 to support riscv64 In v4.44.5 of `yq`, artifacts for riscv64 are released. Update the version used for `yq` and enable `install_yq.sh` to work on riscv64. Signed-off-by: Ruoqing He --- ci/install_yq.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ci/install_yq.sh b/ci/install_yq.sh index 302c39ab2d..c2d004ff1e 100755 --- a/ci/install_yq.sh +++ b/ci/install_yq.sh @@ -29,7 +29,7 @@ function verify_yq_exists() { # Install via binary download, as we may not have golang installed at this point function install_yq() { local yq_pkg="github.com/mikefarah/yq" - local yq_version=v4.40.7 + local yq_version=v4.44.5 local precmd="" local yq_path="" INSTALL_IN_GOPATH=${INSTALL_IN_GOPATH:-true} @@ -82,6 +82,9 @@ function install_yq() { goarch=arm64 fi ;; + "riscv64") + goarch=riscv64 + ;; "ppc64le") goarch=ppc64le ;;