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

Adds a Wasm wrapper test script for pg_dumpall and pg_upgrade testing #1095

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

olirice
Copy link
Contributor

@olirice olirice commented Aug 6, 2024

Creates a test script that can be used for evaluating if a pause/restore will work.

We should be able to execute it using

OLD_GIT_VERSION=47d598f6be65cd5b920ae807cf98c401ed5ae045
NEW_GIT_VERSION=47d598f6be65cd5b920ae807cf98c401ed5ae045

nix run github:supabase/nix-postgres#migration-test \
  $(nix build "github:supabase/nix-postgres/$OLD_GIT_VERSION#psql_15/bin") \
  $(nix build "github:supabase/nix-postgres/$NEW_GIT_VERSION#psql_15/bin") \
  pg_dumpall

but it is currently not functional. Opening as a draft so we can evaluate how to fix it

The error is

error: flake 'github:supabase/nix-postgres' does not provide attribute 'apps.aarch64-darwin.migration-test', 'packages.aarch64-darwin.migration-test', 'legacyPackages.aarch64-darwin.migration-test' or 'migration-test'

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.

1 participant