Skip to content

Commit

Permalink
ci: add more info with upgrade operation
Browse files Browse the repository at this point in the history
Signed-off-by: Vicente Cheng <vicente.cheng@suse.com>
  • Loading branch information
Vicente-Cheng committed Jan 4, 2024
1 parent 06cd1f0 commit 3b08329
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci/scripts/upgrade_ndm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3b08329

Please sign in to comment.