-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathprefect.yaml
59 lines (53 loc) · 1.36 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Welcome to your prefect.yaml file! You can you 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: prefect-dbt-deployment
prefect-version: 3.0.0
# preparation steps
build:
push:
# runtime steps
pull:
- prefect.deployments.steps.git_clone:
id: clone-step
repository: https://github.com/seanpwlms/prefect-dbt-deployment.git
- prefect.deployments.steps.pip_install_requirements:
directory: '{{ clone-step.directory }}'
requirements_file: requirements.txt
stream_output: false
# deployment configurations
deployments:
- name: dbt_flow_ad_hoc
entrypoint: duckdb-flow.py:dbt_build_flow
parameters: {}
work_pool:
name: managed-pool
work_queue_name:
job_variables: {}
version:
tags: []
concurrency_limit:
description: Clone and run dbt project
enforce_parameter_schema: true
schedules: []
- name: dbt_flow_daily
entrypoint: duckdb-flow.py:dbt_build_flow
parameters: {}
work_pool:
name: managed-pool
work_queue_name:
job_variables: {}
version:
tags:
- daily
concurrency_limit:
description: Clone and run dbt project
enforce_parameter_schema: true
schedules:
- cron: 0 0 * * *
timezone:
day_or: true
active: true
max_active_runs:
catchup: false