Luc Didry
9fb6d7b078
🩹 — Reintroduce validate_max_results and use it
2023-12-18 08:22:37 +01:00
a8d86ea525
refactor: add a coroutine decorator for the click commands
2023-12-16 23:05:08 +01:00
Luc Didry
56169b5430
🐛 — Remove selected_at on task once we got result + other things
...
- 🗃️ — lighten the stale lock removing query
- 💄 — introduce min value for --max-lock-seconds option
- 💄 — introduce min value for --max-results option
- 🐛 — fix display of `cleandb` command
2023-12-14 16:47:00 +01:00
Luc Didry
c909f7179b
📝 — Improve documentation
2023-12-14 15:20:46 +01:00
Luc Didry
e10f4e9c2d
Use Pylint
2023-12-14 15:20:33 +01:00
Luc Didry
207c4c54fc
📝 — Update agent doc (on using the env vars)
2023-11-22 16:00:54 +01:00
Luc Didry
b21399792e
Merge branch 'almet/fix-serverstart' into 'main'
...
Call uvicorn via python rather than subprocess
See merge request framasoft/framaspace/argos!8
2023-11-22 13:13:43 +00:00
Luc Didry
fd6fdfefa9
✨ — Allow to use env vars for agent’s token and server URL. Fix #13
...
Avoid to leak the token in `htop` for ex.
2023-11-22 13:48:42 +01:00
fa9e79d72c
Call uvicorn via python rather than subprocess
2023-11-22 13:15:32 +01:00
5bca4fa261
argos server cleandb now keep a number of results per task
2023-10-20 02:40:06 +02:00
85735add01
Updates while reading the code with Luc.
2023-10-19 18:10:41 +02:00
9885a5809a
Add an 'argos server clean' command that needs to be run periodically to clean the db
2023-10-18 21:45:10 +02:00
cd243d92dc
Refactor argos agent to use classes
2023-10-18 17:48:42 +02:00
31edb95cb8
Don't let the agents fail. Retry on error
2023-10-18 17:28:27 +02:00
0ea9ad4c6e
Added logging option for the server command
2023-10-18 12:31:54 +02:00
2ad0bfab39
Update the CLI interface.
...
- server and auth are now arguments rather than required options.
2023-10-17 19:24:53 +02:00
ca6584c803
Loop the agents and enhance the selection of tasks on the server
2023-10-10 19:24:50 +02:00
d35be89f4b
Support !include filename
in the yaml files.
...
- run isort on the codebase
2023-10-10 11:45:33 +02:00
cdfb1e30ac
Add authorization headers
...
- Service endpoints now require an authentication
- Changed the location of the commands, which are now in `commands.py`
- There is now only one "argos" command which can start the server or an agent.
2023-10-10 11:30:16 +02:00