Feat(judgehost): test legacy with debian11

This commit is contained in:
2025-04-07 00:06:41 +08:00
parent 1a5976caea
commit 9480d38ca4
7 changed files with 50 additions and 9 deletions

View File

@@ -2,9 +2,20 @@
## Usage
0. Install Arch Linux for domserver and **Debian 11** for judgehost.
1. Fill in the vars in `group_vars`.
2. Fill in `domserver` and `judgehost` machine ips in `hosts` file.
2. Fill in `domserver` and `judgehost` groups in `hosts` file.
3. Run `ansible-playbook playbooks/domserver`.
4. Run `ansible-playbook playbooks/judgehost`.
5. Put web cert and key to `/etc/haproxy/cert.pem` on domserver.
6. Check if judgehost been registered.
## Trouble shooting
### Judgehost cannot startup
The cgroups v2 support had been patched since October, 2024. However the latest
release of domjudge is 8.3.1, which was published on September, 2024.
Therefore, before cgroups v2 patch came out as a stable release, we still have
to use a older release, like Debian 11, to make things work.