Skip to content

Deployment Pipeline #27

@pgulley

Description

@pgulley

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:

  1. Deploy a Prefect server
  2. Create a prefect profile locally to point to the prefect server instance
  3. Deploy a prefect worker, named appropriately for the realm
  4. Use the scripts/setup_secrets.py package to install the sous-chef secret values into the prefect server.
  5. 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?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions