Closed fredzqm closed 1 month ago
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.
dataconnect:sql:migrate --force
firebase deploy with invalid connectors
firebase deploy
firebase dataconnect:sql:migrate with invalid connectors
firebase dataconnect:sql:migrate
firebase dataconnect:sql:migrate --force with invalid connectors
firebase dataconnect:sql:migrate --force
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.
Previous,
dataconnect:sql:migrate --force
aborts upon invalid connector. This PR handles this edge case.Scenarios Tested
firebase deploy
with invalid connectorsfirebase dataconnect:sql:migrate
with invalid connectorsfirebase dataconnect:sql:migrate --force
with invalid connectorsSample Commands