woodpecker/server/store
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
..
datastore Save agent-id for tasks and add endpoint to get agent tasks (#1631) 2023-03-21 15:10:43 +02:00
mocks Agent check gRPC version against server (#1653) 2023-03-19 22:42:21 +01:00
types Return return 404 if registry to delete do not exist (#1278) 2022-10-18 01:48:04 +02:00
common.go Migrate to Xorm (#474) 2021-11-13 20:18:06 +01:00
context.go Support changed files for Gitea PRs (#1342) 2022-10-28 19:17:30 +02:00
store.go Store an agents list and add agent heartbeats (#1189) 2023-01-28 14:13:04 +01:00