-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
prefect
v2.11.5
to worker records
- Loading branch information
1 parent
022601c
commit b6f676c
Showing
1 changed file
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
{ | ||
"prefect": { | ||
"prefect-agent": { | ||
"type": "prefect-agent", | ||
"documentation_url": "https://docs.prefect.io/latest/concepts/work-pools/#agent-overview", | ||
"display_name": "Prefect Agent", | ||
"logo_url": "https://images.ctfassets.net/gm98wzqotmnx/3xff6sYjtyYKgqtalUdnDr/22812da2b176be8a7b2e50cde745d5ee/agent.svg", | ||
"install_command": "pip install prefect", | ||
"default_base_job_configuration": {}, | ||
"description": "Execute flow runs on heterogenous infrastructure using infrastructure blocks." | ||
}, | ||
"process": { | ||
"default_base_job_configuration": { | ||
"job_configuration": { | ||
"command": "{{ command }}", | ||
"env": "{{ env }}", | ||
"labels": "{{ labels }}", | ||
"name": "{{ name }}", | ||
"stream_output": "{{ stream_output }}", | ||
"working_dir": "{{ working_dir }}" | ||
}, | ||
"variables": { | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"title": "Name", | ||
"description": "Name given to infrastructure created by a worker.", | ||
"type": "string" | ||
}, | ||
"env": { | ||
"title": "Environment Variables", | ||
"description": "Environment variables to set when starting a flow run.", | ||
"type": "object", | ||
"additionalProperties": { | ||
"type": "string" | ||
} | ||
}, | ||
"labels": { | ||
"title": "Labels", | ||
"description": "Labels applied to infrastructure created by a worker.", | ||
"type": "object", | ||
"additionalProperties": { | ||
"type": "string" | ||
} | ||
}, | ||
"command": { | ||
"title": "Command", | ||
"description": "The command to use when starting a flow run. In most cases, this should be left blank and the command will be automatically generated by the worker.", | ||
"type": "string" | ||
}, | ||
"stream_output": { | ||
"title": "Stream Output", | ||
"description": "If enabled, workers will stream output from flow run processes to local standard output.", | ||
"default": true, | ||
"type": "boolean" | ||
}, | ||
"working_dir": { | ||
"title": "Working Directory", | ||
"description": "If provided, workers will open flow run processes within the specified path as the working directory. Otherwise, a temporary directory will be created.", | ||
"type": "string", | ||
"format": "path" | ||
} | ||
} | ||
} | ||
}, | ||
"description": "Execute flow runs as subprocesses on a worker. Works well for local execution when first getting started.", | ||
"display_name": "Local Subprocess", | ||
"documentation_url": "https://docs.prefect.io/latest/api-ref/prefect/workers/process/", | ||
"install_command": "pip install prefect", | ||
"is_beta": false, | ||
"logo_url": "https://images.ctfassets.net/gm98wzqotmnx/39WQhVu4JK40rZWltGqhuC/d15be6189a0cb95949a6b43df00dcb9b/image5.png?h=250", | ||
"type": "process" | ||
} | ||
} | ||
} |