Harden installer dependencies and prepare the 0.11 release candidate
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Canceled after 0s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Canceled after 0s

This commit is contained in:
parkel committed 2026-11-23 00:23:19 +01:00
1 parent 2f686b6499
commit f5e8e84e3c
6 files changed
+165 -19

No files matched your search

+2 -1
View File
@@ -61,6 +61,7 @@ if [ ! -x "$venv/bin/python" ]; then
python3 -m venv "$venv"
fi
if [ -z "$installed" ]; then
"$venv/bin/pip" install .
"$venv/bin/python" -m pip install --only-binary=:all: 'pip>=26.2'
"$venv/bin/python" -m pip install .
fi
exec "$venv/bin/coulobre-node-setup" install-receiver "$@"
+15 -6
View File
@@ -282,6 +282,18 @@ def install_release(release, *, step=nullcontext):
if key in os.environ
}
with step("Installing Coulobre and its Python dependencies"):
run(
BINDIR / "python",
"-m",
"pip",
"install",
"--disable-pip-version-check",
"--only-binary=:all:",
"pip>=26.2",
label="Update the virtual environment installer",
env=pip_env,
timeout=1200,
)
run(
BINDIR / "pip",
"install",
@@ -860,12 +872,9 @@ class Installer:
HEALTH_TIMER,
):
install_unit(unit)
if not REMOTE_MODES.intersection(
(self.plan.dns.mode, self.plan.mail.mode)
):
install_unit("coulobre-update.socket")
install_unit("coulobre-update@.service")
workers.append("coulobre-update.socket")
install_unit("coulobre-update.socket")
install_unit("coulobre-update@.service")
workers.append("coulobre-update.socket")
systemctl("daemon-reload")
systemctl(
"enable", "--now", *PANEL_UNITS, *workers, "apache2.service"