Description
This commit, fd33db9, introduces a bug with the error message we are seeing.
@joehan you may need to revisit this new features expectations as it's giving problems to folks who have used firebase init with older versions than 14.4.0 that don't have the following fields populated.
It appears the CLI needs the location and database props to be available in the firebase.json
or deployment fails. These properties have not been required before and were not in the firebase init experience until 2 weeks ago in 14.4.0. This broke our CI and nothing is mentioned in the release documentation about adding them.
"database": {
"type": "string"
},
"location": {
"type": "string"
},
[REQUIRED] Environment info
firebase-tools: 14.5.0
Platform: GitHub Ubuntu runner and macOS
[REQUIRED] Test case
This isn't possible for a deployment scenario.
[REQUIRED] Steps to reproduce
firebase.json with
"firestore": {
"rules": "firestore.rules",
"indexes": "firestore.indexes.json"
},
run firebase deploy
[REQUIRED] Expected behavior
firebase deploy functions. Only functions and hosting files are expected to change during this deploy.
[REQUIRED] Actual behavior
Our deploy pipeline that worked earlier today just started to fail with Firestore database configuration is missing in firebase.json
after no changes to the firebase.json
i deploying firestore
i firestore: reading indexes from firestore.indexes.json...
i cloud.firestore: checking firestore.rules for compilation errors...
✔ cloud.firestore: rules file firestore.rules compiled successfully
Error: Firestore database configuration is missing in firebase.json.