Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dedicated redis and postgresql for review app #3308

Merged
merged 6 commits into from
Nov 18, 2024

Conversation

vipin-dfe
Copy link
Contributor

@vipin-dfe vipin-dfe commented Nov 4, 2024

Trello card

https://trello.com/c/kh03fNsN

Context

The school experience review application uses a shared Redis and Postgresql instance. This change will allow a dedicated Redis and Postgresql pod to be deployed for every PR.

Changes proposed in this pull request

The following changes are proposed as part of the change

  • Allow dedicated Redis and Postgres
  • Use an encoded database connection url
  • Deprecates unused variables

Guidance to review

All changes are only to allow for a dedicated Redis and Postgresql for review app.

@saliceti
Copy link
Member

saliceti commented Nov 5, 2024

@vipin-dfe
Copy link
Contributor Author

Closing PR.

@saliceti
Copy link
Member

Test closing

vipin-dfe and others added 6 commits November 18, 2024 11:18
If the database does not exist, db:prepare will create it, load the
schema and run db:seed
- Stop using shared postgres and redis
- Use container postgres and redis in review
- Do not create the database in review, to force running db:prepare with
  the seed
- Refactor to use the standard Rails DATABASE_URL
- Remove unused variables
- Remove unused keyvaul data sources
- Formatting
Use sample schools to align with DfE Sign In
Remove redundant tests
@saliceti saliceti force-pushed the dedicated_redis_postgres_review_app branch from e33dc43 to 2f2672e Compare November 18, 2024 12:15
@saliceti
Copy link
Member

Test closing

Copy link

@saliceti saliceti merged commit 5c274ed into master Nov 18, 2024
19 of 29 checks passed
@saliceti saliceti deleted the dedicated_redis_postgres_review_app branch November 18, 2024 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants