Skip to content

Commit

Permalink
fix(upgrade-tests): redirect stdout of docker pull in upgrade tests (#…
Browse files Browse the repository at this point in the history
…11643) (#11653) (#11658)

(cherry picked from commit 5eb4c0d)

Co-authored-by: Hans Hübner <[email protected]>
  • Loading branch information
team-gateway-bot and hanshuebner authored Sep 26, 2023
1 parent 6badeb8 commit c666b5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/upgrade-tests/test-upgrade-path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c666b5e

Please sign in to comment.