Skip to content

Conversation

samrose
Copy link
Collaborator

@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?

@samrose samrose closed this Apr 1, 2025
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