Commit graph

29 commits

Author SHA1 Message Date
Luc Didry
bb39e53845 📝 — Update TODO in README.md 2023-12-14 15:20:46 +01:00
Luc Didry
8ff6473335 📄 — Include AGPLv3 text in the repository 2023-12-14 15:20:45 +01:00
Luc Didry
d2a12aea30 💄 — Quick supervision overview on homepage 2023-11-21 16:11:03 +01:00
2383326af8 Fix broken links and update docs 2023-11-12 17:23:13 +01:00
b105004f3b Add the number of agents in the index template 2023-10-24 18:01:13 +02:00
5bca4fa261 argos server cleandb now keep a number of results per task 2023-10-20 02:40:06 +02:00
9d4dfd2555 Remove most stuff from the README, it's in the docs now 2023-10-20 01:37:41 +02:00
158e7ac44c Create a new http client on agent retry 2023-10-20 01:35:30 +02:00
77adbe46eb 📝 Start a documentation 2023-10-19 22:46:01 +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
31edb95cb8 Don't let the agents fail. Retry on error 2023-10-18 17:28:27 +02:00
d6c048fb5b Speed-up SQL queriying by using DISTINCT statement 2023-10-18 16:31:47 +02:00
fa45338914 Remove config.yaml from the repository.
- Instead, propose a `config-example.yaml` file
- Change the README accordingly
2023-10-18 12:40:38 +02:00
bf24f87fd7 Add more information on database configuration, and allow using a .env file 2023-10-18 02:37:00 +02:00
824a0afa3e Update installation instructions and config example. 2023-10-18 02:31:23 +02:00
85e73e0869 Update the README 2023-10-18 02:26:22 +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
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
daa22708c4 Make it possible to specify the frequency with '1d' 2023-10-11 11:11:57 +02:00
ca6584c803 Loop the agents and enhance the selection of tasks on the server 2023-10-10 19:24:50 +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
42ec15c6f4 Working SSL checks, refactoring of the codebase.
- Start implementing some tests using pytest
- Packaged using pyproject.toml
- Implemented SSL checks using httpx
- Checks can now run partially on the server, to access the configuration and determine the severity of the error if any
- Used black to format all the files
- Added an utility to convert strings like "3d" and "3w" to days
- The internal representation of SSL thresholds is now a list of tuples
- Models were lacking some relationship between Tasks and Results
2023-10-09 19:33:58 +02:00
d3c4f1e87b Implement SSL certificate expiration check
- Added pyOpenSSL to Pipfile and Pipfile.lock for SSL certificate expiration check implementation
- Implemented SSLCertificateExpiration check in checks.py
- Updated config.yaml with new test cases
- Minor changes and clean up in base.py and config.py
2023-10-07 00:19:36 +02:00
f038a37022 Update implemented features 2023-10-05 11:07:03 +02:00
f41e74d402 Refactor code to handle job failures on clients
- Added error handler `SerializableException` in models.py which gets error details from base exception
- Added an API to get the results back from the clients
2023-10-05 00:48:26 +02:00
0a4850c1ed First iterations of the client / server.
- Added new libraries to Pipfile: httpx and click
- Refactored the file structure
- Added new functionality in logging.py to set log level
- README.md now includes information about running the server, running the client, and a sample configuration file
- Started working on checks logic
2023-10-03 11:44:52 +02:00
8ac5cdb529 Updated models.py and queries.py
- Removed the `Definition` class and added the `Task` class. It contains all information needed to run the jobs on the workers.
- Added the `Result` class. It stores the results returned by workers.
- In queries.py, updated the `update_from_config` function. Now it checks for the existence of tasks with the same URL, check, and expected result before adding new ones.
2023-10-02 13:03:06 +02:00
eea465af5c Start working with FastAPI 2023-10-02 12:15:57 +02:00