init
PostgreSQL integration / tests (push) Has been cancelled

This commit is contained in:
ms
2026-11-09 13:15:48 +01:00
parent 4fb7613689
commit 2c1c48df0c
78 changed files with 2707 additions and 176 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")/.."
[[ $EUID -eq 0 && "$PWD" == /opt/dilib-dashboard ]] || { echo 'Als root in /opt/dilib-dashboard ausführen.'; exit 1; }
[[ -x .venv-agent/bin/python ]] || { echo 'Zuerst scripts/install-agent.sh ausführen.'; exit 1; }
.venv-agent/bin/pip install 'flower==2.2.0'
if [[ ! -e /etc/dilib-agent/flower.env ]]; then
install -m 640 -o root -g dilib-agent deploy/flower.env.example /etc/dilib-agent/flower.env
fi
install -m 644 deploy/systemd/dilib-flower.service /etc/systemd/system/
systemctl daemon-reload
echo 'Broker und FLOWER_BASIC_AUTH in /etc/dilib-agent/flower.env setzen.'
echo 'Dann: systemctl enable --now dilib-flower'