diff --git a/controller/build.sh b/controller/build.sh index 7ce67cb..d3a78c1 100755 --- a/controller/build.sh +++ b/controller/build.sh @@ -16,7 +16,11 @@ set -euo pipefail # --- Configuration (edit these if your paths differ) --- -REPO_DIR="/mnt/5_hdd/felhom.eu/git/felhom-controller" +# The default is the shared DooPlex clone, and the release runbook names it. It is overridable +# because that clone is shared: when another session has work in progress in it, the clean-tree gate +# rightly forbids building over them, and the way to ship is a clean clone at the pushed commit — +# not stashing somebody else's work. Set FELHOM_REPO_DIR to that clone. +REPO_DIR="${FELHOM_REPO_DIR:-/mnt/5_hdd/felhom.eu/git/felhom-controller}" CONTROLLER_SRC="${REPO_DIR}/controller" WEBSITE_ASSETS_DIR="/mnt/5_hdd/felhom.eu/git/felhom.eu/website/assets" REGISTRY="gitea.dooplex.hu/admin" @@ -61,6 +65,7 @@ info "║ felhom-controller image builder ║" info "╚══════════════════════════════════════╝" info "Version: ${VERSION}" info "Commit: ${GIT_COMMIT}" +info "Repo: ${REPO_DIR}" info "Source: ${CONTROLLER_SRC}" info "Build dir: ${BUILD_DIR}" info "Image: ${IMAGE}:${VERSION}"