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

feat: version control branch configs with terraform #23299

Merged
merged 2 commits into from May 7, 2024
Merged

Conversation

sweatybridge
Copy link
Contributor

@sweatybridge sweatybridge commented Apr 26, 2024

I have read the CONTRIBUTING.md file.

YES

What kind of change does this PR introduce?

  • Add database and api config to version control.
  • Apply custom branch config via TF.

Additional context

Tests passed

Just need to add GitHub secrets:

  • SUPABASE_ACCESS_TOKEN

Copy link

vercel bot commented Apr 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

6 Ignored Deployments
Name Status Preview Comments Updated (UTC)
database-new ⬜️ Ignored (Inspect) Apr 26, 2024 3:04pm
docs ⬜️ Ignored (Inspect) Visit Preview Apr 26, 2024 3:04pm
studio ⬜️ Ignored (Inspect) Visit Preview Apr 26, 2024 3:04pm
studio-self-hosted ⬜️ Ignored (Inspect) Visit Preview Apr 26, 2024 3:04pm
studio-staging ⬜️ Ignored (Inspect) Visit Preview Apr 26, 2024 3:04pm
zone-www-dot-com ⬜️ Ignored (Inspect) Visit Preview Apr 26, 2024 3:04pm

Copy link

supabase bot commented Apr 26, 2024

Updates to Preview Branch (add-tf) ↗︎

Deployments Status Updated
Database Fri, 26 Apr 2024 15:05:31 GMT
Services Fri, 26 Apr 2024 15:05:31 GMT
APIs Fri, 26 Apr 2024 15:05:31 GMT

Tasks are run on every commit but only new migration files are pushed.
Close and reopen this PR if you want to apply changes from existing seed or migration files.

Tasks Status Updated
Migrations Fri, 26 Apr 2024 15:05:31 GMT
Seeding Fri, 26 Apr 2024 15:05:31 GMT
Edge Functions Fri, 26 Apr 2024 15:05:31 GMT

⚠️ Warning — Preview branch version (15.1.1.41) does not match production database version (15.1.0.33).


Branching Preview Branches by Supabase.
Preview Branch Database Settings ↗︎.
Learn more about Supabase for Git ↗︎.

project_ref = supabase_branch.imported[0].database.id

auth = jsonencode({
site_url = "http://localhost:3001"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

example change, can be removed

Copy link
Member

@alaister alaister left a comment

Choose a reason for hiding this comment

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

LGTM!

@sweatybridge sweatybridge merged commit 9360b94 into master May 7, 2024
16 of 19 checks passed
@sweatybridge sweatybridge deleted the add-tf branch May 7, 2024 03:30
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.

None yet

2 participants