Closed marvinmarnold closed 1 year ago
Reactivated the workflow for staging: On a push to main
, the code will deploy to getanswer-staging
https://github.com/eye-on-surveillance/the-great-inquirer/commit/3974df964faff467ab5e351848b1f7754c3f1c95
Build failed Will investigate more later on to see what went wrong. For now I redeployed the staging function using the zip.
Moving cache files out of the repo and using dvc
to manage them seems to have fixed the issue!
prod
branch has been created and protections added.Will give ephemeral functions for PRs more thought.
Awesome. I'm not 100% sure but I think those large files will perpetually cause bloat in git history and increase the download size to clone. Created an issue to deal with that eventually.
Notes
There are three servers:
Only the cloud functions are in scope. Additional notes:
OPENAI_API_KEY
env var is already stored in GIthub.Acceptance criteria
getanswer
when PR merged intoprod
branch.prod
branch created. Write protections added to Github to prevent direct pushes.getanswer-staging
when PR merged intomain
branch.