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
support Postgres 16, bump Flyway #9927
Conversation
This comment has been minimized.
This comment has been minimized.
"Yes! , I see that this version of the Python installer has corrected both bugs." -- https://groups.google.com/g/dataverse-community/c/0gNosyqvAhg/m/3SxpJysJAwAJ |
Flyway
This is a drive-by comment on a project I'm not related with. :) FWIW, recommend waiting for official flyway support - it works right now but isn't supported - and possibly even PostgreSQL 16.2 on the theory that the |
@yorickdowne the Dataverse installation routine is no stranger to that Flyway warning, and Dataverse's use of Flyway is simple enough that in the past developers haven't anticipated (or experienced) any problems. Note that this PR allows installation on newer versions of Postgres (14+) though the recommended version in the documentation remains 13, for now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a quick question for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we please have a release note?
Also, for "how to test" is says "run installer" but can this be beefed up a bit? We need to run the installer against pg < 15 and with pg 16 at minimum, right? That should hit the conditional. Do we need to test pg 15 as well? Should the pg < 15 version be 13 since that's what we support? Do we care about pg 14?
📦 Pushed preview images as
🚢 See on GHCR. Use by referencing with full name as printed above, mind the registry name. |
@donsizemore thanks for adding the release note snippet. Any thoughts on what I wrote about how to test? |
Jenkins tests were failing so I merged the latest from develop to kick off another run. |
Just test the installer on Postgres versions 13-16. In Dataverse-Ansible this is most easily achieved by bumping |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works great. I tested it with PG 13, 15, and 16.
For 15 and above an extra line is printed:
performing database setup
Admin database connectivity succeeds.
PostgreSQL version: 16
PostgreSQL 15 or higher detected. Running GRANT CREATE ON SCHEMA public TO dvnapp;
Database and role created!
I confirmed the UI was available after each test. I'll go ahead and merge it. Thanks, @donsizemore! ❤️
What this PR does / why we need it:
Add support for Postgres 16 (and correct installer for Postgres 15+).
Flyway appears to support Postgres 16 already; it doesn't complain about versions in server.log.
Which issue(s) this PR closes:
Special notes for your reviewer:
Also test in 13 if that remains the recommended version.
Suggestions on how to test this:
Run installer.
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
No
Is there a release notes update needed for this change?:
Perhaps to announce support for the new version.
Additional documentation:
None.