-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
To start treating this like a real production product, let's build out some deployment scripts.
I'd like this to have the same basic interface as the deployment scripts @philbudne built out for web_search- a deploy script which will manage a release of a checked out version of the sous-chef package in dev
, staging
, and production
realms.
I'd like to keep a single production prefect server, with production worker instances, but staging and various dev instances should spin up their own self contained prefect stack.
for Staging / Dev:
- Deploy a Prefect server
- Create a prefect profile locally to point to the prefect server instance
- Deploy a prefect worker, named appropriately for the realm
- Use the scripts/setup_secrets.py package to install the sous-chef secret values into the prefect server.
- Deploy the sous-chef instance via
prefect deploy
- after interpolating some templated values reflecting the above steps into prefect.yaml
@philbudne, having a script that manages steps 1-3 would be a great start, and we can go from there?