Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kwannoel committed Mar 5, 2024
1 parent 789c83b commit 67485d6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions ci/scripts/backwards-compat-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ source backwards-compat-tests/scripts/utils.sh
################################### Main

configure_rw() {
VERSION="$1"

echo "--- Setting up cluster config"
cat <<EOF > risedev-profiles.user.yml
full-without-monitoring:
Expand Down Expand Up @@ -64,6 +66,10 @@ ENABLE_BUILD_RUST=false
# Use target/debug for simplicity.
ENABLE_RELEASE_PROFILE=false
EOF

if version_le "${VERSION:-}" "1.7.0" ; then
echo "ENABLE_ALL_IN_ONE=true"
fi
}

configure_rw_build() {
Expand Down Expand Up @@ -116,7 +122,7 @@ setup_old_cluster() {

echo "--- Start cluster on tag $OLD_VERSION"
git config --global --add safe.directory /risingwave
configure_rw
configure_rw $OLD_VERSION
fi
}

Expand All @@ -138,7 +144,7 @@ main() {
seed_old_cluster "$OLD_VERSION"

setup_new_cluster
configure_rw
configure_rw "99.99.99"
validate_new_cluster "$NEW_VERSION"
}

Expand Down

0 comments on commit 67485d6

Please sign in to comment.