-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprefect.yaml
63 lines (57 loc) · 1.66 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
60
61
62
63
# 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: prefect
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.set_working_directory:
directory: FULL_PATH_TO_DIR # TODO: Modify me to the full path of your local dir
# the deployments section allows you to provide configuration for deploying flows
deployments:
- name: deployment-1
entrypoint: ./flows/flows.py:run_my_flow
parameters:
param: '42'
work_pool:
type: process
name: default-process-1
work_queue_name: default
job_variables: {}
version:
tags: []
description:
schedule:
interval: 30.0
anchor_date: '2023-09-24T20:10:59.381600+00:00'
timezone: UTC
# - name: deployment-2
# entrypoint: ./flows/flows.py:run_my_flow
# version:
# tags: []
# description:
# parameters: {}
# work_pool:
# name: default-process-1
# work_queue_name:
# job_variables: {}
# - name: deployment-3
# entrypoint: ./flows/flows.py:hello_world
# work_pool:
# type: process
# name: default-process-1
# work_queue_name:
# job_variables: {}
# version:
# tags: []
# description:
# parameters: {}
# schedule:
# interval: 45.0
# anchor_date: '2023-09-24T19:50:04.334942+00:00'
# timezone: UTC