From 16217912db2b05e3578d9f8b729038bd8b0661ee Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Mon, 31 Jul 2023 13:04:33 -0400 Subject: [PATCH 1/2] Update Soup --- salt/manager/tools/sbin/soup | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/salt/manager/tools/sbin/soup b/salt/manager/tools/sbin/soup index 4f113fab7..8497cf902 100755 --- a/salt/manager/tools/sbin/soup +++ b/salt/manager/tools/sbin/soup @@ -391,6 +391,8 @@ preupgrade_changes() { echo "Checking to see if changes are needed." [[ "$INSTALLEDVERSION" == 2.4.2 ]] && up_to_2.4.3 + [[ "$INSTALLEDVERSION" == 2.4.3]] && up_to_2.4.4 + [[ "$INSTALLEDVERSION" == 2.4.4 ]] && up_to_2.4.5 true } @@ -399,6 +401,8 @@ postupgrade_changes() { echo "Running post upgrade processes." [[ "$POSTVERSION" == 2.4.2 ]] && post_to_2.4.3 + [[ "$POSTVERSION" == 2.4.3 ]] && post_to_2.4.4 + [[ "$POSTVERSION" == 2.4.4 ]] && post_to_2.4.5 true @@ -409,6 +413,15 @@ post_to_2.4.3() { POSTVERSION=2.4.3 } +post_to_2.4.4() { + echo "Nothing to apply" + POSTVERSION=2.4.4 +} + +post_to_2.4.5() { + echo "Nothing to apply" + POSTVERSION=2.4.5 +} stop_salt_master() { # kill all salt jobs across the grid because the hang indefinitely if they are queued and salt-master restarts @@ -455,7 +468,19 @@ stop_salt_minion() { up_to_2.4.3() { echo "Nothing to do for 2.4.3" ## - INSTALLEDVERSION=2.3.140 + INSTALLEDVERSION=2.4.3 +} + +up_to_2.4.4() { + echo "Nothing to do for 2.4.4" + ## + INSTALLEDVERSION=2.4.4 +} + +up_to_2.4.5() { + echo "Nothing to do for 2.4.5" + ## + INSTALLEDVERSION=2.4.5 } verify_upgradespace() { From e78e6b74ed367a986b62b6f084ab004c1826f22e Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Mon, 31 Jul 2023 13:07:29 -0400 Subject: [PATCH 2/2] Update Soup --- salt/manager/tools/sbin/soup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/manager/tools/sbin/soup b/salt/manager/tools/sbin/soup index 8497cf902..e0724503d 100755 --- a/salt/manager/tools/sbin/soup +++ b/salt/manager/tools/sbin/soup @@ -346,7 +346,7 @@ clone_to_tmp() { # Make a temp location for the files mkdir -p /tmp/sogh cd /tmp/sogh - SOUP_BRANCH="" + SOUP_BRANCH="-b 2.4/main" if [ -n "$BRANCH" ]; then SOUP_BRANCH="-b $BRANCH" fi