Update soup for 2.3.210

This commit is contained in:
Doug Burks
2023-01-30 09:16:00 -05:00
committed by GitHub
parent 2d48ae7bca
commit a96825f43e

View File

@@ -552,6 +552,7 @@ preupgrade_changes() {
[[ "$INSTALLEDVERSION" == 2.3.181 ]] && up_to_2.3.182 [[ "$INSTALLEDVERSION" == 2.3.181 ]] && up_to_2.3.182
[[ "$INSTALLEDVERSION" == 2.3.182 ]] && up_to_2.3.190 [[ "$INSTALLEDVERSION" == 2.3.182 ]] && up_to_2.3.190
[[ "$INSTALLEDVERSION" == 2.3.190 ]] && up_to_2.3.200 [[ "$INSTALLEDVERSION" == 2.3.190 ]] && up_to_2.3.200
[[ "$INSTALLEDVERSION" == 2.3.200 ]] && up_to_2.3.210
true true
} }
@@ -576,6 +577,7 @@ postupgrade_changes() {
[[ "$POSTVERSION" == 2.3.181 ]] && post_to_2.3.182 [[ "$POSTVERSION" == 2.3.181 ]] && post_to_2.3.182
[[ "$POSTVERSION" == 2.3.182 ]] && post_to_2.3.190 [[ "$POSTVERSION" == 2.3.182 ]] && post_to_2.3.190
[[ "$POSTVERSION" == 2.3.190 ]] && post_to_2.3.200 [[ "$POSTVERSION" == 2.3.190 ]] && post_to_2.3.200
[[ "$POSTVERSION" == 2.3.200 ]] && post_to_2.3.210
true true
} }
@@ -699,6 +701,11 @@ post_to_2.3.200() {
POSTVERSION=2.3.200 POSTVERSION=2.3.200
} }
post_to_2.3.210() {
echo "Nothing to do for .210"
POSTVERSION=2.3.210
}
stop_salt_master() { stop_salt_master() {
# kill all salt jobs across the grid because the hang indefinitely if they are queued and salt-master restarts # kill all salt jobs across the grid because the hang indefinitely if they are queued and salt-master restarts
set +e set +e
@@ -1029,6 +1036,11 @@ up_to_2.3.200() {
INSTALLEDVERSION=2.3.200 INSTALLEDVERSION=2.3.200
} }
up_to_2.3.210() {
echo "Upgrading to 2.3.210"
INSTALLEDVERSION=2.3.210
}
verify_upgradespace() { verify_upgradespace() {
CURRENTSPACE=$(df -BG / | grep -v Avail | awk '{print $4}' | sed 's/.$//') CURRENTSPACE=$(df -BG / | grep -v Avail | awk '{print $4}' | sed 's/.$//')
if [ "$CURRENTSPACE" -lt "10" ]; then if [ "$CURRENTSPACE" -lt "10" ]; then