Skip to content

Commit

Permalink
on upgrade and downgrade of tier perisist image tag
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishek9686 committed Jan 24, 2024
1 parent baaba59 commit c67571e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scripts/nm-quick.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ set_buildinfo() {


BUILD_TAG=$LATEST
IMAGE_TAG=NET-898
IMAGE_TAG=$(sed 's/\//-/g' <<<"$BUILD_TAG")

if [ -z "$INSTALL_TYPE" ]; then
echo "-----------------------------------------------------"
Expand Down Expand Up @@ -702,8 +702,9 @@ stop_services(){

upgrade() {
print_logo
set_buildinfo
stop_services
unset IMAGE_TAG
IMAGE_TAG=$UI_IMAGE_TAG
echo "-----------------------------------------------------"
echo "Provide Details for pro installation:"
echo " 1. Log into https://app.netmaker.io"
Expand All @@ -725,7 +726,8 @@ upgrade() {

downgrade () {
print_logo
set_buildinfo
unset IMAGE_TAG
IMAGE_TAG=$UI_IMAGE_TAG
stop_services
save_config
if [ -a "$SCRIPT_DIR"/docker-compose.override.yml ]; then
Expand Down

0 comments on commit c67571e

Please sign in to comment.