Sync branch magefile with main #104308

Merged
Sybren A. Stüvel merged 85 commits from abelli/flamenco:magefile into magefile 2024-05-13 16:26:32 +02:00
Showing only changes of commit 1fee086cef - Show all commits

View File

@ -47,18 +47,18 @@ mqtt:
## MQTT Topics ## MQTT Topics
The following topics will be used by Flamenco: The following topics will be used by Flamenco. The `flamenco` prefix for the topics is configurable.
| Description | MQTT topic | JSON event payload | | Description | MQTT topic | JSON event payload |
|----------------------------------|----------------------------------|---------------------------| |----------------------------------|------------------------------------------|---------------------------|
| Manager startup/shutdown | `/lifecycle` | `EventLifeCycle` | | Manager startup/shutdown | `flamenco/lifecycle` | `EventLifeCycle` |
| Farm status | `/status` | `EventFarmStatus` | | Farm status | `flamenco/status` | `EventFarmStatus` |
| Job update | `/jobs` | `EventJobUpdate` | | Job update | `flamenco/jobs` | `EventJobUpdate` |
| Task update | `/jobs/{job UUID}` | `EventTaskUpdate` | | Task update | `flamenco/jobs/{job UUID}` | `EventTaskUpdate` |
| Worker update | `/workers` | `EventWorkerUpdate` | | Worker update | `flamenco/workers` | `EventWorkerUpdate` |
| Worker Tag update | `/workertags` | `EventWorkerTagUpdate` | | Worker Tag update | `flamenco/workertags` | `EventWorkerTagUpdate` |
| Last rendered image | `/last-rendered` | `EventLastRenderedUpdate` | | Last rendered image | `flamenco/last-rendered` | `EventLastRenderedUpdate` |
| Job-specific last rendered image | `/jobs/{job UUID}/last-rendered` | `EventLastRenderedUpdate` | | Job-specific last rendered image | `flamenco/jobs/{job UUID}/last-rendered` | `EventLastRenderedUpdate` |
For the specification of the JSON sent in the MQTT events, use the above table For the specification of the JSON sent in the MQTT events, use the above table
and then look up the type description in the [OpenAPI specification][oapi]. and then look up the type description in the [OpenAPI specification][oapi].