From c666b5ecc208193472f4a54e4c3505174794835b Mon Sep 17 00:00:00 2001 From: Kong Team Gateway Bot <98048765+team-gateway-bot@users.noreply.github.com> Date: Tue, 26 Sep 2023 09:13:15 -0700 Subject: [PATCH] fix(upgrade-tests): redirect stdout of docker pull in upgrade tests (#11643) (#11653) (#11658) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 5eb4c0dd552a2450e9f39c816477efe5eba183d9) Co-authored-by: Hans Hübner --- scripts/upgrade-tests/test-upgrade-path.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade-tests/test-upgrade-path.sh b/scripts/upgrade-tests/test-upgrade-path.sh index 944dd29d5455..4ca82091a7a1 100755 --- a/scripts/upgrade-tests/test-upgrade-path.sh +++ b/scripts/upgrade-tests/test-upgrade-path.sh @@ -26,7 +26,7 @@ trap "echo exiting because of error" 0 function get_current_version() { local image_tag=$1 local version_from_rockspec=$(perl -ne 'print "$1\n" if (/^\s*tag = "(.*)"/)' kong*.rockspec) - if docker pull $image_tag:$version_from_rockspec 2>/dev/null + if docker pull $image_tag:$version_from_rockspec >/dev/null 2>/dev/null then echo $version_from_rockspec-ubuntu else