Import Anubis v1.28.2

Replace the tree with upstream TecharoHQ/anubis v1.28.2 (a1384fbf42e3).
Masyunis customizations are re-applied in the following commits.
This commit is contained in:
sol_bot Bot committed 2026-11-28 14:52:26 +03:00
1 parent eb3e46d8d0
commit e07de898cd
573 files changed
+35846 -6807

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
# Proxmox end to end testing
Prevents recurrence of [TecharoHQ/anubis#2015](https://github.com/TecharoHQ/anubis/discussions/2015). It spins up a new Ubuntu VM from a pool of potential candidates, tries to install Anubis on it, tries to start Anubis, and if it fails then this CI job fails and it creates a new VM for the pool.
+15
View File
@@ -0,0 +1,15 @@
try {
host$`cd ../.. && rm -rf ./var/proxmox-test && go tool yeet --package-dest-dir ./var/proxmox-test --filter 'method == "deb" && goos == "linux" && goarch == "amd64"'`;
const deb = host$`ls ../../var/proxmox-test/*.deb`.trim().split("\n")[0];
console.log("package:", deb);
scp(deb, "/root/anubis.deb");
$`sudo apt-get -f install /root/anubis.deb`;
$`sudo cp /etc/anubis/default.env /etc/anubis/web.env`;
$`sudo cp /usr/share/doc/anubis/botPolicies.yaml /etc/anubis/web.botPolicies.yaml`;
$`sudo systemctl enable --now anubis@web.service`;
console.log($`sudo systemctl status anubis@web.service`);
} catch (e) {
console.log($`journalctl --no-pager`);
throw e;
}
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
go install within.website/x/cmd/vmbully@v1.31.1-0.20261012190235-f9a7c830a701
vmbully script --os-template local:vztmpl/ubuntu-24.04-standard_24.04-2_amd64.tar.zst test.js