A small rust tool for checking that it is safe to swap catalog indices.
- Get on the VPN
- On catalog-qa1, set the app_configs to point to the rebuild solr index
- Locally, in this repo, run
cargo run
If the index you want to swap is somewhere different than catalog-qa1, use
the FUTURE_PROD
environment variable. For example:
FUTURE_PROD=http://localhost:3000 cargo run
cargo test
cargo fmt
cargo clippy