Skip to content

Commit

Permalink
Update soup for 2.3.290
Browse files Browse the repository at this point in the history
  • Loading branch information
dougburks authored Feb 9, 2024
1 parent f4afda0 commit 5b67795
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions salt/common/tools/sbin/soup
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,7 @@ preupgrade_changes() {
[[ "$INSTALLEDVERSION" == 2.3.250 ]] && up_to_2.3.260
[[ "$INSTALLEDVERSION" == 2.3.260 ]] && up_to_2.3.270
[[ "$INSTALLEDVERSION" == 2.3.270 ]] && up_to_2.3.280
[[ "$INSTALLEDVERSION" == 2.3.280 ]] && up_to_2.3.290

true
}
Expand Down Expand Up @@ -614,6 +615,7 @@ postupgrade_changes() {
[[ "$POSTVERSION" == 2.3.250 ]] && post_to_2.3.260
[[ "$POSTVERSION" == 2.3.260 ]] && post_to_2.3.270
[[ "$POSTVERSION" == 2.3.270 ]] && post_to_2.3.280
[[ "$POSTVERSION" == 2.3.280 ]] && post_to_2.3.290

true
}
Expand Down Expand Up @@ -784,6 +786,10 @@ post_to_2.3.280() {
POSTVERSION=2.3.280
}

post_to_2.3.290() {
echo "Nothing to do for .290"
POSTVERSION=2.3.290
}

stop_salt_master() {
# kill all salt jobs across the grid because the hang indefinitely if they are queued and salt-master restarts
Expand Down Expand Up @@ -1155,6 +1161,11 @@ up_to_2.3.280() {
INSTALLEDVERSION=2.3.280
}

up_to_2.3.290() {
echo "Upgrading to 2.3.290"
INSTALLEDVERSION=2.3.290
}

verify_upgradespace() {
CURRENTSPACE=$(df -BG / | grep -v Avail | awk '{print $4}' | sed 's/.$//')
if [ "$CURRENTSPACE" -lt "10" ]; then
Expand Down

0 comments on commit 5b67795

Please sign in to comment.