feat(selfhost): add verified release updates with backups and recovery state
Some checks failed
Build and Release FEDEO / verify (push) Successful in 59s
Build and Release FEDEO / build-and-release (push) Failing after 4m59s

This commit is contained in:
2026-09-23 16:52:00 +02:00
parent f51f2b13a1
commit 0ff74cdcdf
10 changed files with 1160 additions and 38 deletions

View File

@@ -80,7 +80,7 @@ have() {
install_base_packages() {
local missing=()
for binary in curl openssl; do
for binary in curl openssl python3; do
if ! have "$binary"; then
missing+=("$binary")
fi
@@ -104,7 +104,7 @@ install_base_packages() {
echo "Installiere Basispakete: ${missing[*]}"
$SUDO apt-get update
$SUDO apt-get install -y ca-certificates curl openssl
$SUDO apt-get install -y ca-certificates curl openssl python3
}
ensure_docker() {
@@ -185,6 +185,8 @@ download_selfhost_files() {
download_file "$FEDEO_RAW_BASE_URL/docker-compose.selfhost.yml" "$FEDEO_DIR/docker-compose.yml"
download_file "$FEDEO_RAW_BASE_URL/.env.example" "$FEDEO_DIR/.env.example"
download_file "$FEDEO_RAW_BASE_URL/scripts/selfhost-setup.sh" "$FEDEO_DIR/scripts/selfhost-setup.sh"
download_file "$FEDEO_RAW_BASE_URL/scripts/selfhost-update.py" "$FEDEO_DIR/scripts/selfhost-update.py"
download_file "$FEDEO_RAW_BASE_URL/docs/selfhost-updates.md" "$FEDEO_DIR/SELFHOST-UPDATES.md"
chmod +x "$FEDEO_DIR/scripts/selfhost-setup.sh"
}