Merge remote-tracking branch 'origin/2.4/dev' into issue/13073

This commit is contained in:
m0duspwnens
2024-06-26 12:46:01 -04:00

View File

@@ -400,6 +400,7 @@ preupgrade_changes() {
[[ "$INSTALLEDVERSION" == 2.4.50 ]] && up_to_2.4.60
[[ "$INSTALLEDVERSION" == 2.4.60 ]] && up_to_2.4.70
[[ "$INSTALLEDVERSION" == 2.4.70 ]] && up_to_2.4.80
[[ "$INSTALLEDVERSION" == 2.4.80 ]] && up_to_2.4.90
true
}
@@ -418,6 +419,7 @@ postupgrade_changes() {
[[ "$POSTVERSION" == 2.4.50 ]] && post_to_2.4.60
[[ "$POSTVERSION" == 2.4.60 ]] && post_to_2.4.70
[[ "$POSTVERSION" == 2.4.70 ]] && post_to_2.4.80
[[ "$POSTVERSION" == 2.4.80 ]] && post_to_2.4.90
true
}
@@ -497,6 +499,11 @@ post_to_2.4.80() {
POSTVERSION=2.4.80
}
post_to_2.4.90() {
echo "Nothing to apply"
POSTVERSION=2.4.90
}
repo_sync() {
echo "Sync the local repo."
su socore -c '/usr/sbin/so-repo-sync' || fail "Unable to complete so-repo-sync."
@@ -665,6 +672,11 @@ up_to_2.4.80() {
INSTALLEDVERSION=2.4.80
}
up_to_2.4.90() {
echo "Nothing to apply"
INSTALLEDVERSION=2.4.90
}
add_detection_test_pillars() {
if [[ -n "$SOUP_INTERNAL_TESTING" ]]; then
echo "Adding detection pillar values for automated testing"