-
Notifications
You must be signed in to change notification settings - Fork 0
/
prefect.yaml
49 lines (43 loc) · 1.58 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
# 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: sous-chef-buffet
prefect-version: 2.14.20
# 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.3.1
image_name: graceworthy/buffet
tag: b1
dockerfile: auto
# 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.3.1
image_name: '{{ build_image.image_name }}'
tag: '{{ build_image.tag }}'
credentials: '{{ prefect.blocks.docker-registry-credentials.docker-auth }}'
# pull section allows you to provide instructions for cloning this project in remote locations
pull:
- prefect.deployments.steps.git_clone:
repository: https://github.com/mediacloud/sc-buffet.git
credentials: '{{ prefect.blocks.github-credentials.sous-chef-read-only }}'
- prefect.deployments.steps.pip_install_requirements:
requirements_file: requirements.txt
stream_output: true
# the deployments section allows you to provide configuration for deploying flows
deployments:
- name: buffet-base
version:
tags: []
description:
entrypoint: flow.py:buffet_base
work_pool:
name: Guerin
work_queue_name:
job_variables:
image: '{{ build_image.image }}'
parameters: {}
schedules: []