Build a Hera Workflow
Call workflow.run(action="build", ...) or workflow.build() to compile the workflow definition.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| action | str | ✓ | Action to execute. Must be build. |
| 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 | Stored in the run specification but ignored by the current build executor. |
Hera is used by the remote process that builds and runs the workflow; it is not required in the client environment.