prefect-gitlab
prefect-gitlab
compatible with your installed version of prefect
.
If you don’t already have prefect
installed, it will install the newest version of prefect
as well.
prefect
and prefect-gitlab
:
prefect-gitlab
module to make them available for use.
GitLabCredentials
block.
A deployment can use flow code stored in a GitLab repository without using this library in either of the following cases:
prefect.yaml
file to create the deployment, reference the GitLab Credentials block in the pull
step:
access_token
field if the repository is public and exclude the reference
field to use the default branch.
Use the newly created block to interact with the GitLab repository.
For example, download the repository contents with the .get_directory()
method like this:
prefect-gitlab
SDK documentation to explore all the capabilities of the prefect-gitlab
library.