-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprefect.yaml
57 lines (48 loc) · 1.77 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
# 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-Demo-Workflow
prefect-version: 2.14.19
# build section allows you to manage and build docker images
build: null
# push section allows you to manage if and how this project is uploaded to remote locations
push: null
# pull section allows you to provide instructions for cloning this project in remote locations
pull:
- prefect.projects.steps.git_clone_project:
id: clone-step
repository: https://github.com/CBIIT/Prefect_demo.git
branch: main
- prefect.projects.steps.pip_install_requirements:
requirements_file: requirements.txt
directory: "{{ clone-step.directory }}"
stream_output: False
# the deployments section allows you to provide configuration for deploying flows
deployments:
# base metadata
- name: happy-birthday
version: null
tags: ["HAPPY BIRTHDAY"]
description: null
entrypoint: workflow/happy_birthday_prefect.py:runner
schedule: null
# flow-specific parameters
parameters:
user_name: "user"
celebration_mode: "no"
# pull action to overwrite from file pull action
pull:
- prefect.projects.steps.git_clone_project:
id: clone-step
repository: https://github.com/CBIIT/Prefect_demo.git
branch: main
- prefect.projects.steps.pip_install_requirements:
requirements_file: requirements.txt
directory: "{{ clone-step.directory }}"
stream_output: False
# infra-specific fields
work_pool:
name: ccdi-curation-2gb
work_queue_name: null
job_variables: {}