Run a Hera Pipeline
Call workflow.run(action="pipeline", ...) to execute a compiled workflow on the platform. If its compiled definition is missing, call workflow.build() first.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| action | str | ✓ | Action to execute. Must be pipeline. |
| volumes | list[dict] | List of volumes. | |
| resources | dict | Resource values with optional cpu, mem, gpu, and disk keys. |
|
| envs | list[dict] | Environment variables. | |
| secrets | list[str] | List of secret names. | |
| profile | str | Profile template. | |
| parameters | dict | Values for Hera workflow parameters declared in the pipeline source. |