From 3b083296b062cda823a37d42d1b7eb09efdc30ff Mon Sep 17 00:00:00 2001 From: Vicente Cheng Date: Thu, 4 Jan 2024 11:42:01 +0800 Subject: [PATCH] ci: add more info with upgrade operation Signed-off-by: Vicente Cheng --- ci/scripts/upgrade_ndm.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci/scripts/upgrade_ndm.sh b/ci/scripts/upgrade_ndm.sh index 83db8bea..84f330e2 100755 --- a/ci/scripts/upgrade_ndm.sh +++ b/ci/scripts/upgrade_ndm.sh @@ -54,6 +54,8 @@ rm -rf ndm-override.yaml cp -r ../deploy/charts/harvester-node-disk-manager harvester-node-disk-manager cp ../ci/charts/ndm-override.yaml ndm-override.yaml +target_img=$(yq -e .image.repository ndm-override.yaml) +echo "upgrade target image: ${target_img}, upgrading ..." $HELM upgrade -f $TOP_DIR/ndm-override.yaml harvester-node-disk-manager harvester-node-disk-manager/ -n harvester-system sleep 10 # wait 10 seconds for ndm start to respwan pods