Update soup for 2.3.300

This commit is contained in:
Doug Burks
2024-03-19 16:44:01 -04:00
committed by GitHub
parent 834d18b77c
commit 595f965183

View File

@@ -582,6 +582,7 @@ preupgrade_changes() {
[[ "$INSTALLEDVERSION" == 2.3.260 ]] && up_to_2.3.270 [[ "$INSTALLEDVERSION" == 2.3.260 ]] && up_to_2.3.270
[[ "$INSTALLEDVERSION" == 2.3.270 ]] && up_to_2.3.280 [[ "$INSTALLEDVERSION" == 2.3.270 ]] && up_to_2.3.280
[[ "$INSTALLEDVERSION" == 2.3.280 ]] && up_to_2.3.290 [[ "$INSTALLEDVERSION" == 2.3.280 ]] && up_to_2.3.290
[[ "$INSTALLEDVERSION" == 2.3.290 ]] && up_to_2.3.300
true true
} }
@@ -616,6 +617,7 @@ postupgrade_changes() {
[[ "$POSTVERSION" == 2.3.260 ]] && post_to_2.3.270 [[ "$POSTVERSION" == 2.3.260 ]] && post_to_2.3.270
[[ "$POSTVERSION" == 2.3.270 ]] && post_to_2.3.280 [[ "$POSTVERSION" == 2.3.270 ]] && post_to_2.3.280
[[ "$POSTVERSION" == 2.3.280 ]] && post_to_2.3.290 [[ "$POSTVERSION" == 2.3.280 ]] && post_to_2.3.290
[[ "$POSTVERSION" == 2.3.290 ]] && post_to_2.3.300
true true
} }
@@ -791,6 +793,11 @@ post_to_2.3.290() {
POSTVERSION=2.3.290 POSTVERSION=2.3.290
} }
post_to_2.3.300() {
echo "Nothing to do for .300"
POSTVERSION=2.3.300
}
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
@@ -1166,6 +1173,11 @@ up_to_2.3.290() {
INSTALLEDVERSION=2.3.290 INSTALLEDVERSION=2.3.290
} }
up_to_2.3.300() {
echo "Upgrading to 2.3.300"
INSTALLEDVERSION=2.3.300
}
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