-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprefect.yaml
49 lines (44 loc) · 1.3 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
# Generic metadata about this project
name: flows
prefect-version: 2.14.2
# build section allows you to manage and build docker images
build:
- prefect_docker.deployments.steps.build_docker_image:
id: build-image
requires: prefect-docker>=0.4.0
image_name: '{{ $PREFECT_IMAGE_NAME }}'
tag: latest
dockerfile: Dockerfile
platform: linux/amd64
# push section allows you to manage if and how this project is uploaded to remote locations
push:
- prefect_docker.deployments.steps.push_docker_image:
requires: prefect-docker>=0.4.0
image_name: '{{ build-image.image_name }}'
tag: '{{ build-image.tag }}'
pull:
- prefect.deployments.steps.set_working_directory:
directory: /lcls-cu-inj-nn-model
# the definitions section allows you to define reusable components for your deployments
definitions:
tags:
- lume
work_pool:
name: kubernetes-work-pool
job_variables:
image: '{{ build-image.image }}'
# the deployments section allows you to provide configuration for deploying flows
deployments:
- name: default
tags:
- lume
schedule:
work_pool:
name: kubernetes-work-pool
job_variables:
image: '{{ build-image.image }}'
work_queue_name:
version:
description:
entrypoint: lcls_cu_inj_nn_model/flow.py:lcls_cu_inj_nn_model_flow
parameters: {}