-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathprefect.yaml
More file actions
32 lines (28 loc) · 1.28 KB
/
prefect.yaml
File metadata and controls
32 lines (28 loc) · 1.28 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
name: prefect-collection-registry
definitions:
work_pools:
kubernetes_prd_internal_tools: &kubernetes_prd_internal_tools
name: kubernetes-prd-internal-tools
job_variables:
image: prefecthq/prefect:3.1.11-python3.12
command: uv run --with git+https://github.com/PrefectHQ/prefect-collection-registry.git@main python -m prefect.engine
build:
push:
pull:
- prefect.deployments.steps.git_clone:
repository: https://github.com/PrefectHQ/prefect-collection-registry.git
branch: main
deployments:
- name: update-all-collections
tags: []
description: "`update-all-collections` triggers many instances of `update-collection-metadata`
\nin order to update the [prefect-collection-registry](https://github.com/PrefectHQ/prefect-collection-registry)
\nwith metadata generated from new releases of select packages (prefect collections
+ prefect core).\n\n`update-all-collections` flow will check if any packages have
a release and are not \nrecorded by the registry repo, and will trigger a run
of `update_collection_metadata` for each such package."
schedules:
- cron: 0 6,12,18 * * 1-5
timezone: UTC
entrypoint: src/prefect_collection_registry/update_collection_metadata.py:update_all_collections
work_pool: *kubernetes_prd_internal_tools