Update soup for 2.3.250

This commit is contained in:
Doug Burks
2023-05-11 07:26:58 -04:00
committed by GitHub
parent 834f45c0f2
commit 0f562279ee

View File

@@ -556,6 +556,7 @@ preupgrade_changes() {
[[ "$INSTALLEDVERSION" == 2.3.210 ]] && up_to_2.3.220
[[ "$INSTALLEDVERSION" == 2.3.220 ]] && up_to_2.3.230
[[ "$INSTALLEDVERSION" == 2.3.230 ]] && up_to_2.3.240
[[ "$INSTALLEDVERSION" == 2.3.240 ]] && up_to_2.3.250
true
}
@@ -585,6 +586,7 @@ postupgrade_changes() {
[[ "$POSTVERSION" == 2.3.210 ]] && post_to_2.3.220
[[ "$POSTVERSION" == 2.3.220 ]] && post_to_2.3.230
[[ "$POSTVERSION" == 2.3.230 ]] && post_to_2.3.240
[[ "$POSTVERSION" == 2.3.240 ]] && post_to_2.3.250
true
}
@@ -728,6 +730,11 @@ post_to_2.3.240() {
POSTVERSION=2.3.240
}
post_to_2.3.250() {
echo "Nothing to do for .250"
POSTVERSION=2.3.250
}
stop_salt_master() {
# kill all salt jobs across the grid because the hang indefinitely if they are queued and salt-master restarts
set +e
@@ -1078,6 +1085,11 @@ up_to_2.3.240() {
INSTALLEDVERSION=2.3.240
}
up_to_2.3.250() {
echo "Upgrading to 2.3.250"
INSTALLEDVERSION=2.3.250
}
verify_upgradespace() {
CURRENTSPACE=$(df -BG / | grep -v Avail | awk '{print $4}' | sed 's/.$//')
if [ "$CURRENTSPACE" -lt "10" ]; then