Open gregoryfoster opened 9 months ago
I think the last time I did this process I also encountered this weirdness. Can you add those two lines of code to cdp-backend
Justfile here: https://github.com/CouncilDataProject/cdp-backend/blob/main/cdp_backend/infrastructure/Justfile
@evamaxfield, would you mind transferring this issue to cdp-backend
? I'll pick it up there.
Thanks!!
Describe the Bug
This may be related to CouncilDataProject/cookiecutter-cdp-deployment#146, all of which could be user error, but documenting as it was a little obscure.
In the
deploy-infra.yml
workflow during the "Run Infrastructure Deploy" step, the generated(?)Justfile
setup project
command is called. A fatal error was encountered while generating the Firestore indexes on line 90:Error in the GitHub actions log:
That seemed very weird as it indicated a problem with the configuration of the Firestore database in "Datastore Mode" https://cloud.google.com/datastore/docs/firestore-or-datastore
I switched to "Native" mode with the following commands:
Re-running all of the jobs, not just the failed one, then worked.
Expected Behavior
No weirdness.
Reproduction
Following the standard install instructions.
Environment
Any additional information about your environment.