Skip to content

Commit

Permalink
quickstart: Improve usability of check_db script
Browse files Browse the repository at this point in the history
Adjust the check_db script to be more user friendly. This includes:
 - Mapping all the fields we have in the ui to the output of the
script.
 - Make it ask for password if not provided.
 - Make it produce a list of things to fix if they are not compliant
with
Readyset requirements.
 - Add a naive function to suggest a CIDR block for Readyset.
 - If the instance has public IP, it will suggest the public
connection type.
 - Fix the query to check the number of tables. It now matches
Readyset core.
 - Rename the script to check_db_postgres.sh to make it clear it is
for Postgres only.

Change-Id: I64a1e56e07a357a031b48516e900929b0b8e3939
Reviewed-on: https://gerrit.readyset.name/c/readyset/+/6990
Tested-by: Buildkite CI
Reviewed-by: Jason Brown <[email protected]>
  • Loading branch information
altmannmarcelo committed Feb 28, 2024
1 parent 9c97688 commit ac3ac7d
Show file tree
Hide file tree
Showing 2 changed files with 415 additions and 314 deletions.
314 changes: 0 additions & 314 deletions quickstart/check_db.sh

This file was deleted.

Loading

0 comments on commit ac3ac7d

Please sign in to comment.