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

Refactor Remote Init Script #76

Merged
merged 1 commit into from
Dec 2, 2024
Merged

Refactor Remote Init Script #76

merged 1 commit into from
Dec 2, 2024

Conversation

djhi
Copy link
Collaborator

@djhi djhi commented Dec 2, 2024

Problem

Fixes #75

As expected, the previous version of the script wasn't reliable as it used the human readable output of the Supabase CLI.

Solution

Use the new output CLI argument allowing us to get a JSON output.

How To Test

Run the make supabase-remote-init

@djhi djhi added the RFR label Dec 2, 2024

return projectRef;
async function waitForProjectToBeReady({ projectRef }) {
console.log('Waiting for project to be ready...');
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not a debug log. The wait can be long so we display this message to let users know we're not stuck

@fzaninotto fzaninotto merged commit 51fe771 into main Dec 2, 2024
5 checks passed
@fzaninotto fzaninotto deleted the refactor-deploy-script branch December 2, 2024 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remote Supabase Install Failed
2 participants