Files
masyunis/test/proxmox-e2e/test.js
T
sol_bot Bot e07de898cd 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.
2026-11-28 14:52:26 +03:00

16 lines
688 B
JavaScript

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;
}