CI/CD pipeline runner for ComfyUI workflows
Project description
comfyui-workflow
CI/CD pipeline runner for ComfyUI workflows.
Installation
pip install comfyui-workflow
Usage
Create a pipeline.yaml:
name: my-comfyui-pipeline
steps:
- name: validate workflow
command: python -c "import json; json.load(open('workflow.json'))"
- name: run workflow
command: python run_comfyui.py --workflow workflow.json
timeout: 600
- name: check outputs
command: test -f output/result.png
- name: upload artifacts
command: aws s3 cp output/ s3://my-bucket/runs/ --recursive
continue_on_failure: true
comfyui-workflow pipeline.yaml
comfyui-workflow pipeline.yaml --json # machine-readable report
Python
from comfyui_workflow import Pipeline
p = Pipeline(name="my-pipeline")
p.add_step("lint", "ruff check .")
p.add_step("test", "pytest", timeout=120)
p.add_step("deploy", "bash deploy.sh")
p.run()
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file comfyui_workflow-0.1.0.tar.gz.
File metadata
- Download URL: comfyui_workflow-0.1.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c4e268206c5483c53321d18f965fcc82435d596e6fed42160bada5ba52031d6
|
|
| MD5 |
b113d86403cbf39a091545a817a311e8
|
|
| BLAKE2b-256 |
fd5caf54a9cac3662e00ae87e5ce09f5abf8f7818b7af1221eb4ad316f460091
|
File details
Details for the file comfyui_workflow-0.1.0-py3-none-any.whl.
File metadata
- Download URL: comfyui_workflow-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c2512f73ae484fe65adbe11293eec1f3b335f586278d9a01d9c9468efcff304
|
|
| MD5 |
a51d0abd7fecc8b8f3818cd463566648
|
|
| BLAKE2b-256 |
6819a9170d2c11c4f9b42806128128c5ab393a08b16ddee08350e8edb552f621
|