https://prefect.io logo
Title
d

Dan DiPasquo

05/06/2020, 9:10 PM
We'd like to automate flow registration via CICD. Is there an existing pattern for doing so via CircleCI? What is the most appropriate token type for this type of integration?
n

nicholas

05/06/2020, 9:16 PM
Hi @Dan DiPasquo! The most appropriate token for that type of integration would be a TENANT scoped token. I'm not aware of any existing CICD patterns for flow registration with CircleCI, but my initial thought is that it'd be fairly straightforward depending on the storage type you're using. The only requirements would be an image in Circle with Python3.6+, Git, and the ability to build/store the flow with whatever your storage choice (Docker, S3, GCS, or Azure)
👍 1
j

Joe Schmid

05/06/2020, 9:17 PM
hi @Dan DiPasquo, we've been working on CI/CD for registering flows recently. There was also some recent discussion on this topic on this thread: https://prefect-community.slack.com/archives/CL09KU1K7/p1588164482312600
:upvote: 1
👍 1
d

Dan DiPasquo

05/06/2020, 9:30 PM
Thanks to both for your input - will read through that discussion and take the other points into consideration.
😄 1