Update soup for 2.3.220

This commit is contained in:
Doug Burks
2023-02-14 08:42:35 -05:00
committed by GitHub
parent aefe1cceb8
commit 69f889dbd9

View File

@@ -553,6 +553,7 @@ preupgrade_changes() {
[[ "$INSTALLEDVERSION" == 2.3.182 ]] && up_to_2.3.190
[[ "$INSTALLEDVERSION" == 2.3.190 ]] && up_to_2.3.200
[[ "$INSTALLEDVERSION" == 2.3.200 ]] && up_to_2.3.210
[[ "$INSTALLEDVERSION" == 2.3.210 ]] && up_to_2.3.220
true
}
@@ -578,6 +579,7 @@ postupgrade_changes() {
[[ "$POSTVERSION" == 2.3.182 ]] && post_to_2.3.190
[[ "$POSTVERSION" == 2.3.190 ]] && post_to_2.3.200
[[ "$POSTVERSION" == 2.3.200 ]] && post_to_2.3.210
[[ "$POSTVERSION" == 2.3.210 ]] && post_to_2.3.220
true
}
@@ -706,6 +708,11 @@ post_to_2.3.210() {
POSTVERSION=2.3.210
}
post_to_2.3.220() {
echo "Nothing to do for .220"
POSTVERSION=2.3.220
}
stop_salt_master() {
# kill all salt jobs across the grid because the hang indefinitely if they are queued and salt-master restarts
set +e
@@ -1041,6 +1048,11 @@ up_to_2.3.210() {
INSTALLEDVERSION=2.3.210
}
up_to_2.3.220() {
echo "Upgrading to 2.3.220"
INSTALLEDVERSION=2.3.220
}
verify_upgradespace() {
CURRENTSPACE=$(df -BG / | grep -v Avail | awk '{print $4}' | sed 's/.$//')
if [ "$CURRENTSPACE" -lt "10" ]; then