Iain Dillingham

10/08/2020, 2:18 PM
Hello #prefect-community 👋 Could anyone point to any continuous integration documentation/best practices for Prefect? We have a setup where we're using GitLab runners inside Kubernetes. We'd like to push to master and then have these register the flows/build the Docker storage. However, we don't want to run these in privileged mode. Thanks in advance!
👋 2


10/08/2020, 3:35 PM
Hi @Iain Dillingham! We don’t have documented best practices just yet. However, this is something we’re looking to write down. For the moment, let me point you toward:
As long as Prefect is installed on an image, you should be able to use a tenant token and the Prefect CLI to register a flow in CI 👍

Iain Dillingham

10/08/2020, 3:46 PM
Thanks @Dylan! I'll look into both. Much appreciated.
😄 1


10/15/2020, 7:58 PM
Hi @Iain Dillingham, this is how we’re doing it - you might find it useful:

Iain Dillingham

10/16/2020, 8:19 AM
Thank you @Adam 👍