From 690ae58ca7ceb4515fd74c7398ce955e8d1ad437 Mon Sep 17 00:00:00 2001 From: Iceber Gu Date: Thu, 16 Mar 2023 12:45:26 +0800 Subject: [PATCH] Update cri-tools version on windows Signed-off-by: Iceber Gu --- .github/workflows/ci.yml | 2 +- script/setup/prepare_env_windows.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0bffbdf5b..392d3af50 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -296,7 +296,7 @@ jobs: shell: powershell run: | # Get critctl tool. Used for cri-integration tests - $CRICTL_DOWNLOAD_URL="https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.21.0/crictl-v1.21.0-windows-amd64.tar.gz" + $CRICTL_DOWNLOAD_URL="https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.26.0/crictl-v1.26.0-windows-amd64.tar.gz" curl.exe -L $CRICTL_DOWNLOAD_URL -o c:\crictl.tar.gz tar -xvf c:\crictl.tar.gz mv crictl.exe "${{ github.workspace }}/bin/crictl.exe" # Move crictl somewhere in path diff --git a/script/setup/prepare_env_windows.ps1 b/script/setup/prepare_env_windows.ps1 index 1f5c83856..aaa147de8 100644 --- a/script/setup/prepare_env_windows.ps1 +++ b/script/setup/prepare_env_windows.ps1 @@ -49,7 +49,7 @@ cat c:\Logs\go-env.txt go install github.com/jstemmer/go-junit-report@v0.9.1 # Get critctl tool. Used for cri-integration tests -$CRICTL_DOWNLOAD_URL="https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.21.0/crictl-v1.21.0-windows-amd64.tar.gz" +$CRICTL_DOWNLOAD_URL="https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.26.0/crictl-v1.26.0-windows-amd64.tar.gz" curl.exe -L $CRICTL_DOWNLOAD_URL -o c:\crictl.tar.gz tar -xvf c:\crictl.tar.gz mv crictl.exe "${userGoBin}\crictl.exe" # Move crictl somewhere in path