Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

comfyui_workflow-0.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

comfyui_workflow-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

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

Hashes for comfyui_workflow-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9c4e268206c5483c53321d18f965fcc82435d596e6fed42160bada5ba52031d6
MD5 b113d86403cbf39a091545a817a311e8
BLAKE2b-256 fd5caf54a9cac3662e00ae87e5ce09f5abf8f7818b7af1221eb4ad316f460091

See more details on using hashes here.

File details

Details for the file comfyui_workflow-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for comfyui_workflow-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2c2512f73ae484fe65adbe11293eec1f3b335f586278d9a01d9c9468efcff304
MD5 a51d0abd7fecc8b8f3818cd463566648
BLAKE2b-256 6819a9170d2c11c4f9b42806128128c5ab393a08b16ddee08350e8edb552f621

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page