Skip to content

Bump postgres images from 13 to 15 #11764

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

Merged
merged 4 commits into from
Jan 25, 2024
Merged

Conversation

jhonatan-lopes
Copy link
Contributor

@jhonatan-lopes jhonatan-lopes commented Jan 24, 2024

Description

Upgrades postgres images used locally, on CI and on Review Apps to use version 15 instead of 13.

Pins the version used on Review Apps. Before, it was always using the latest version.

Fixes an issue where Heroku warns of a "Database disruption imminent" on Review Apps. This was caused by using the "mini" plan, which only allows up to 10,000 rows in it. This PR fixes it by bumping it to a "basic" plan, which allows for up to a million rows in a DB. See Essential Tier in Heroku:

Plan Name Provisioning Name Row Limit Disk Size Connection Limit
Mini heroku-postgresql:mini 10,000 1 GB 20
Basic heroku-postgresql:basic 10,000,000 10 GB 20

Link to sample test page:
Related PRs/issues: #11691

Checklist

Tests

  • [ ] Is the code I'm adding covered by tests?

Changes in Models:

  • [ ] Did I update or add new fake data?
  • [ ] Did I squash my migration?
  • [ ] Are my changes backward-compatible. If not, did I schedule a deploy with the rest of the team?

Documentation:

  • [ ] Is my code documented?
  • [ ] Did I update the READMEs or wagtail documentation?

Merge Method
💡❗Remember to use squash merge when merging non-feature branches into main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants