https://prefect.io logo
#prefect-community
Title
# prefect-community
a

Ankit

01/12/2023, 12:25 PM
Hello, did someone setup prefect 2 with bitbucket as storage option? Is that even a thing?
j

Jeff Hale

01/12/2023, 1:14 PM
Yes. Please see the prefect-bitbucket collection: https://prefecthq.github.io/prefect-bitbucket/
a

Ankit

01/12/2023, 2:31 PM
Yes, I was able to set that up and create a block but can't find any documentation around how to use it in the deployments. Can you help with some example?
j

Jeff Hale

01/12/2023, 3:27 PM
Check out examples using a Storage Block here and here. BitBucket very similar to the GitHub storage block. Note that GitHub and BitBucket are read-only storage blocks, so you push your flow code to your repository manually - Prefect doesn’t do it for you as part of applying a deployment. Then, when you run your deployment, the code in your BitBucket repo will be used.
3 Views