woodpecker/server/grpc
Anbraten f13ffc2c8f
Save agent-id for tasks and add endpoint to get agent tasks (#1631)
Save which agent is running a task. This is now visible in the admin UI
in the queue and in the agent details screen.

# changes
- [x] save id of agent executing a task
- [x] add endpoint to get tasks of an agent for #999 
- [x] show assigned agent-id in queue
- [x] (offtopic) use same colors for queue stats and icons (similar to
the ones used by pipelines)
- [x] (offtopic) use badges for queue labels & dependencies


![image](https://user-images.githubusercontent.com/6918444/226541271-23f3b7b2-7a08-45c2-a2e6-1c7fc31b6f1d.png)
2023-03-21 15:10:43 +02:00
..
auth_server.go Agent check gRPC version against server (#1653) 2023-03-19 22:42:21 +01:00
authorizer.go Store an agents list and add agent heartbeats (#1189) 2023-01-28 14:13:04 +01:00
filter.go Add queue details UI for admins (#1632) 2023-03-20 04:50:56 +01:00
filter_test.go Add queue details UI for admins (#1632) 2023-03-20 04:50:56 +01:00
jwt_manager.go Store an agents list and add agent heartbeats (#1189) 2023-01-28 14:13:04 +01:00
rpc.go Save agent-id for tasks and add endpoint to get agent tasks (#1631) 2023-03-21 15:10:43 +02:00
server.go Agent check gRPC version against server (#1653) 2023-03-19 22:42:21 +01:00