-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathprefect.yaml
More file actions
66 lines (60 loc) · 1.9 KB
/
prefect.yaml
File metadata and controls
66 lines (60 loc) · 1.9 KB
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
64
65
66
# 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: workflows
prefect-version: 3.6.10
# 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.deployments.steps.set_working_directory:
directory: /repo
- prefect.deployments.steps.git_clone:
repository: https://github.com/NSLS2/hex-workflows
branch: main
# the deployments section allows you to provide configuration for deploying flows
deployments:
- name: hex-end-of-run-workflow-docker
version: 0.1.3
tags:
- hex
- main
description:
entrypoint: end_of_run_workflow.py:end_of_run_workflow
parameters: {}
work_pool:
name: hex-work-pool-docker
job_variables:
image: ghcr.io/nsls2/hex-workflows:main
image_pull_policy: Always
network: slirp4netns
volumes:
- /nsls2/data/hex/proposals:/nsls2/data/hex/proposals
- /srv/prefect3-docker-worker-hex/app:/srv
container_create_kwargs:
userns_mode: "keep-id:uid=402973,gid=402973" # workflow-hex:workflow-hex
auto_remove: true
- name: hex-data-validation
version: 0.1.0
tags:
- hex
- main
description:
entrypoint: data_validation.py:data_validation
parameters: {}
work_pool:
name: hex-work-pool-docker
work_queue_name:
job_variables: {}
- name: hex-export
version:
tags:
- main
description:
entrypoint: nx_exporter.py:export_flow
parameters: {}
work_pool:
name: hex-work-pool-docker