From 7de73389c147b58d3490dcd1b182353939258f7a Mon Sep 17 00:00:00 2001 From: David Simansky Date: Tue, 2 Nov 2021 15:29:41 +0100 Subject: [PATCH] Fix fetching of Istio latest release (#1505) * Fix fetching of Istio latest release * Pin Istio tag name --- test/common.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/common.sh b/test/common.sh index e3ba8c76e..ce44648f7 100755 --- a/test/common.sh +++ b/test/common.sh @@ -34,11 +34,11 @@ function install_istio() { readonly ISTIO_VERSION="stable" fi header "Installing Istio ${ISTIO_VERSION}" - - LATEST_NET_ISTIO_RELEASE_VERSION=$( - curl -L --silent "https://api.github.com/repos/knative/net-istio/releases" | grep '"tag_name"' \ - | cut -f2 -d: | sed "s/[^v0-9.]//g" | sort | tail -n1) - +# TODO: fix after 1.0 release +# LATEST_NET_ISTIO_RELEASE_VERSION=$( +# curl -L --silent "https://api.github.com/repos/knative/net-istio/releases" | grep '"tag_name"' \ +# | cut -d '-' -f2 | cut -f2 -d: | sed "s/[^v0-9.]//g" | sort | tail -n1) + LATEST_NET_ISTIO_RELEASE_VERSION="knative-v1.0.0" # And checkout the setup script based on that release local NET_ISTIO_DIR=$(mktemp -d) (