pipeline ci-dispatch-and-wait
Dispatch a workflow and wait for it to complete, or wait for an existing run.
This command is useful for CI orchestration when you need to trigger a workflow and wait for its completion before proceeding.
Usage: pipeline ci dispatch-and-wait [flags]
| Flag | Description |
|---|---|
--workflow <string> (optional) |
Workflow file name to dispatch |
--ref <string> (optional) |
Git ref to run workflow on (default: current branch) |
--run-id <string> (optional) |
Existing run ID to wait for (skips dispatch) |
--timeout <int> (optional) |
Timeout in seconds (default: 300) |
--inputs <string> (optional) |
Workflow inputs as JSON object |
Expected Output:
- Workflow dispatch confirmation message
- Live progress display with status updates
- Exit code 0 on success, 1 on failure
eac pipeline ci dispatch-and-wait --workflow ci-clie.yaml --ref main
eac pipeline ci dispatch-and-wait --run-id 12345678
eac pipeline ci dispatch-and-wait --workflow ci-clie.yaml --ref main --timeout 600
Output
- Dispatch confirmation and run ID
- Periodic status updates with elapsed time
- Exit code 0 on success, 1 on failure or timeout
See Also
Tutorials | How-to Guides | Explanation | Reference
You are here: Reference — information-oriented technical descriptions of the system.