mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-10-28 03:51:08 -04:00
PR cleanup alpine and python bump
This commit is contained in:
1 parent
212e0d3a6d
commit
ddc7cc67be
5 files changed
+10
-10
No files matched your search
@@ -15,7 +15,7 @@
|
||||
|
||||
|
||||
SOURCE_DIR=${SOURCE_DIR:-/workspaces/NetAlertX}
|
||||
PY_SITE_PACKAGES="${VIRTUAL_ENV:-/opt/venv}/lib/python3.12/site-packages"
|
||||
PY_SITE_PACKAGES="${VIRTUAL_ENV:-/opt/venv}/lib/python3.14/site-packages"
|
||||
|
||||
LOG_FILES=(
|
||||
LOG_APP
|
||||
|
||||
@@ -29,7 +29,7 @@ Temporary directory used during Docker image building:
|
||||
- Deleted after build to reduce image size
|
||||
- Only exists during container creation
|
||||
|
||||
### `/opt/venv/lib/python3.12/site-packages/aiofreebox` - Certificate Storage
|
||||
### `/opt/venv/lib/python3.14/site-packages/aiofreebox` - Certificate Storage
|
||||
Contains SSL certificates required for secure communication with Freebox OS devices. The aiofreebox Python package uses these certificates to authenticate and establish encrypted connections when integrating with Freebox routers for network device discovery.
|
||||
|
||||
Contains certificates for the aiofreebox package, which communicates with Freebox OS devices.
|
||||
|
||||
@@ -29,7 +29,7 @@ def _clean_test_mounts(project_root: pathlib.Path) -> None:
|
||||
cmd = [
|
||||
"docker", "run", "--rm",
|
||||
"-v", f"{project_root}:/work",
|
||||
"alpine:3.22",
|
||||
"alpine:3.24",
|
||||
"rm", "-rf", "/work/test_mounts"
|
||||
]
|
||||
subprocess.run(
|
||||
|
||||
@@ -388,7 +388,7 @@ def _seed_volume_text_file(
|
||||
[
|
||||
"-v",
|
||||
f"{volume_name}:/data",
|
||||
"alpine:3.22",
|
||||
"alpine:3.24",
|
||||
"sh",
|
||||
"-c",
|
||||
f"set -eu; mkdir -p \"$(dirname '{container_path}')\"; cat > '{container_path}'; chmod {chmod_mode} '{container_path}'",
|
||||
@@ -417,7 +417,7 @@ def _volume_has_file(volume_name: str, container_path: str) -> bool:
|
||||
"host",
|
||||
"-v",
|
||||
f"{volume_name}:/data",
|
||||
"alpine:3.22",
|
||||
"alpine:3.24",
|
||||
"sh",
|
||||
"-c",
|
||||
f"test -f '{container_path}'",
|
||||
@@ -943,7 +943,7 @@ def test_missing_app_conf_triggers_seed(tmp_path: pathlib.Path) -> None:
|
||||
check_conf = subprocess.run(
|
||||
[
|
||||
"docker", "run", "--rm", "-v", f"{vol}:/data",
|
||||
"alpine:3.22", "cat", "/data/config/app.conf"
|
||||
"alpine:3.24", "cat", "/data/config/app.conf"
|
||||
],
|
||||
capture_output=True, text=True, timeout=SUBPROCESS_TIMEOUT_SECONDS
|
||||
)
|
||||
@@ -984,7 +984,7 @@ def test_first_run_dynamic_subnet(tmp_path: pathlib.Path) -> None:
|
||||
cmd = [
|
||||
"docker", "run", "--rm",
|
||||
"-v", f"{paths['app_config']}:/mnt",
|
||||
"alpine:3.22",
|
||||
"alpine:3.24",
|
||||
"cat", "/mnt/app.conf"
|
||||
]
|
||||
read_result = subprocess.run(cmd, capture_output=True, text=True, timeout=SUBPROCESS_TIMEOUT_SECONDS)
|
||||
|
||||
@@ -180,7 +180,7 @@ def test_synology_like_fresh_volume_is_primed() -> None:
|
||||
f"{volume}:/data",
|
||||
"--entrypoint",
|
||||
"/bin/sh",
|
||||
"alpine:3.22",
|
||||
"alpine:3.24",
|
||||
"-c",
|
||||
seed_cmd,
|
||||
],
|
||||
@@ -214,7 +214,7 @@ def test_synology_like_fresh_volume_is_primed() -> None:
|
||||
f"{volume}:/data",
|
||||
"--entrypoint",
|
||||
"/bin/sh",
|
||||
"alpine:3.22",
|
||||
"alpine:3.24",
|
||||
"-c",
|
||||
stat_cmd,
|
||||
],
|
||||
@@ -357,7 +357,7 @@ def test_missing_cap_chown_fails_priming() -> None:
|
||||
f"{volume}:/data",
|
||||
"--entrypoint",
|
||||
"/bin/sh",
|
||||
"alpine:3.22",
|
||||
"alpine:3.24",
|
||||
"-c",
|
||||
seed_cmd,
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user