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

pgupgrade: updating postgres version to 15 fort clair and quay (PROJQUAY-7253) #959

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

deshpandevlab
Copy link
Contributor

@deshpandevlab deshpandevlab commented Sep 20, 2024

pgupgrade: Upgraded postgresql version to 15 : https://github.com/sclorg/postgresql-container/tree/master/15

  • This PR updates postgresql version for clair and quay

Testing

  • make test
  • make test-e2e

PG version before the update

PostgreSQL 13.11

PG version after this update

PostgreSQL 15.8

@ibazulic
Copy link
Member

Change of PostgreSQL version will require a complete migration again, as we've done with PostgreSQL 10 -> PostgreSQL 13. This is because of different binary formats that the two databases have on disk, PostgreSQL 15 cannot be started on PostgreSQL 13 data directory.

@deshpandevlab deshpandevlab changed the title pgupgrade: updating postgres version to 15 fort clair and quay pgupgrade: updating postgres version to 15 fort clair and quay (PROJQUAY-7253) Sep 20, 2024
@bcaton85
Copy link
Collaborator

@jonathankingfc can you comment on this? @deshpandevlab Have you seen errors when testing upgrades from an existing quay instance?

@bcaton85
Copy link
Collaborator

/ok-to-test

@jonathankingfc
Copy link
Collaborator

@ibazulic That is correct. The mechanism for upgrading from 13 to 15 is the same one as we used to upgrade from 10 to 13. Updating the env vars and the defaults as in this PR is enough.

Copy link
Collaborator

@jonathankingfc jonathankingfc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@openshift-merge-bot openshift-merge-bot bot merged commit 673eff3 into quay:master Sep 20, 2024
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants