Commit graph

14 commits

Author SHA1 Message Date
Luc Didry
fde061da19
— Add new check type: status-in
Similar to status-is except that the HTTP status can be one of a list, instead of just one fixed value.

Usecase: a Sympa server with CAS authentication set. Without a sympa_session cookie, you get a 302 status,
with it, you have a 200 status.
2024-07-04 14:32:46 +02:00
Luc Didry
5bd4d9909a
— Add mypy test 2024-07-04 13:33:54 +02:00
Luc Didry
d881d35be3
🚨 — Fix linter warning 2024-04-25 11:58:02 +02:00
dbf11ef3db
fix(agent): Do not reuse http_client on failures.
The `http_client` is instantiated with the agent, and reused all the
time. If the connection fails and closes, it's sometimes not possible
to reuse it.# Please enter the commit message for your changes. Lines
starting

Fixes #37
2024-04-16 10:13:57 +02:00
Luc Didry
e10f4e9c2d Use Pylint 2023-12-14 15:20:33 +01:00
0e08bc8be6 Allow exceptions for advanced checks.
- See more information about this in #7
2023-10-30 15:02:13 +01:00
158e7ac44c Create a new http client on agent retry 2023-10-20 01:35:30 +02:00
54379d04c4 hostname is now used as agent_id, and stored in the db 2023-10-18 21:29:09 +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
83f57c6e47 Started working on a simple web interface.
- The web interface is exposed at /, and the api
  at /api.
- Include picocss for a minimal CSS framework
- Added some queries and models.Task properties
  to access the latest results
2023-10-13 09:43:47 +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
Renamed from argos/agent/cli.py (Browse further)