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

Migration test #1183

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from
Draft

Migration test #1183

wants to merge 2 commits into from

Conversation

samrose
Copy link
Contributor

@samrose samrose commented Sep 4, 2024

What kind of change does this PR introduce?

Migration testing that aligns with the workflow here but able to run locally against 2 versions of pg (currently just 15 -> 15)

This test is run with nix run .#migration-test <git-tag-only> gitsha-or-gittag> pg_upgrade

We'll deprecate the "major version" as it is too vague to meaningful for the use cases for this tool.

This PR is WIP/Draft at this point, but prior to merging, we'll create specific tags for building and testing previous versions, and retain those in the git repo, and implement the support for gitsha or tag.

@samrose samrose mentioned this pull request Sep 4, 2024
@olirice olirice self-requested a review September 5, 2024 19:18
@olirice
Copy link
Contributor

olirice commented Sep 5, 2024

Once this settles out, could you please also update the migration testing doc https://github.com/supabase/postgres/blob/develop/nix/docs/migration-tests.md to reflect the new setup?

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

Successfully merging this pull request may close these issues.

2 participants