Hello <#CL09KU1K7|> :wave: Could anyone point to a...
# ask-community
i
Hello #CL09KU1K7 👋 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
d
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: https://docs.prefect.io/api/latest/cli/register.html
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 👍
i
Thanks @Dylan! I'll look into both. Much appreciated.
😄 1
a
Hi @Iain Dillingham, this is how we’re doing it - you might find it useful: https://gist.github.com/mousetree/8e58096ae3ad742407cd4042597984d6
i
Thank you @Adam 👍