https://prefect.io logo
b

Brian Newman

08/23/2023, 1:51 PM
Hey everyone! I have a couple of questions and would appreciate any insights: 1. How do you manage and run both "dev" and "prod" environments within a single workspace, especially when using the
prefect.yaml
to deploy flows? 2. Has anyone used Azure DevOps Repos to store your Prefect flow code? If yes, could you share any resources or best practices you've come across? Currently using Azure Blob Storage. Thanks in advance!
r

redsquare

08/23/2023, 2:37 PM
We found it far too noisy to manage two environments in a workspace so paid for another one
🙌 2
much easier that way and no need to prefix names of blocks/flows etc
k

Keith Smith

08/23/2023, 6:30 PM
I setup a github block on Prefect Cloud with a Azure Devops repo url, in our case the PAT is embedded in the url and we can access resouces referencing the block.
o

Ofir

08/23/2023, 8:55 PM
What’s GitHub Block? is that like GitHub’s S3 equivalent?
k

Keith Smith

08/23/2023, 9:01 PM
No just a prefect block type of Github, i.e.
o

Ofir

08/23/2023, 9:07 PM
Gotcha thanks. You use them primarily for decoupling shared configuration from the Prefect deployment itself, right? Blocks for Prefect deployments are what ConfigMaps are for Pods in Kubernetes (decoupling Pods from configurations).
k

Keith Smith

08/23/2023, 9:14 PM
Correct 💯
🙌 1