[go: up one dir, main page]

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

sql:migrate --force should ignore invalid connector #7199

Merged
merged 8 commits into from
May 21, 2024
Merged

Conversation

fredzqm
Copy link
Contributor
@fredzqm fredzqm commented May 21, 2024

Description

CI/CD CUJ on non-prod workflow should set cloud sql state to whatever is in local configs. The following two commands should always work regardless of destructive schema migration of invalid connectors.

firebase dataconnect:sql:migrate --force
firebase deploy --only dataconnect --force

Previous, dataconnect:sql:migrate --force aborts upon invalid connector. This PR handles this edge case.

Scenarios Tested

firebase deploy with invalid connectors
Screenshot 2024-05-21 at 8 38 47 AM

firebase dataconnect:sql:migrate with invalid connectors
Screenshot 2024-05-21 at 8 39 52 AM

firebase dataconnect:sql:migrate --force with invalid connectors
Screenshot 2024-05-21 at 8 43 37 AM

Sample Commands

@fredzqm fredzqm changed the title Migrate force sql:migrate --force should ignore invalid connector May 21, 2024
@fredzqm fredzqm changed the base branch from master to fz/pool May 21, 2024 15:46
@fredzqm fredzqm changed the base branch from fz/pool to master May 21, 2024 18:46
@fredzqm fredzqm merged commit 04aacc2 into master May 21, 2024
35 checks passed
@fredzqm fredzqm deleted the fz/migrate-force branch May 21, 2024 20:36
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