-
Notifications
You must be signed in to change notification settings - Fork 2
/
prefect.yaml
43 lines (38 loc) · 1.41 KB
/
prefect.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Welcome to your prefect.yaml file! You can use this file for storing and managing
# configuration for deploying your flows. We recommend committing this file to source
# control along with your flow code.
# Generic metadata about this project
name: data
prefect-version: 2.13.2
# build section allows you to manage and build docker images
build:
# push section allows you to manage if and how this project is uploaded to remote locations
push:
# pull section allows you to provide instructions for cloning this project in remote locations
pull:
- prefect.deployments.steps.git_clone:
id: clone-step
repository: https://github.com/sprocketbot/datasets
branch: main
access_token: '{{ $GITHUB_PAT }}'
- prefect.deployments.steps.pip_install_requirements:
directory: '{{ clone-step.directory }}'
requirements_file: requirements.txt
stream_output: false
# the deployments section allows you to provide configuration for deploying flows
deployments:
- name: public
version:
tags: []
description: Executes all queries in {subdir}, publishes them to S3 compatible storage,
and constructs a documentation site based on the provided markdown with examples
entrypoint: src/flows/process-query-directory.py:process_query_directory
parameters: {}
work_pool:
name: worker-pool
work_queue_name:
job_variables: {}
schedule:
cron: 0 */6 * * *
timezone: America/New_York
day_or: true