Publish curated Unraid-AppOps-Gateway source from 7144ea3c4cb735745046e4e1c2d3a3e88fa1a302

This commit is contained in:
Public Source Publisher committed 2026-10-04 07:14:28 +00:00
1 parent 0a82153d95
commit e73772cdf2
4 files changed
+323 -6

No files matched your search

@@ -236,6 +236,14 @@ def _modern_controller_mounts(source_revision: str) -> list[dict[str, Any]]:
"RW": False,
"Propagation": "rprivate",
},
{
"Type": "volume",
"Name": "itworx-forge-master-key-backup",
"Source": "/var/lib/docker/volumes/itworx-forge-master-key-backup/_data",
"Destination": "/forge-master-key-backup",
"RW": True,
"Propagation": "",
},
]
@@ -1244,6 +1252,16 @@ def test_completed_child_uses_new_health_after_controller_recreation():
"post-volume-mode",
"post-config-bind-source",
"post-config-bind-mode",
"post-code-bind-propagation",
"post-config-bind-propagation",
"post-missing-backup-volume",
"post-backup-volume-type",
"post-backup-volume-name",
"post-backup-volume-source",
"post-backup-volume-target",
"post-backup-volume-mode",
"post-backup-volume-propagation",
"post-duplicate-backup-volume",
"post-extra-mount",
],
)
@@ -1281,6 +1299,26 @@ def test_postactivation_controller_requires_exact_compose_runtime(mutation: str)
controller["Mounts"][9]["Source"] = "/tmp/config"
elif mutation == "post-config-bind-mode":
controller["Mounts"][9]["RW"] = True
elif mutation == "post-code-bind-propagation":
controller["Mounts"][3]["Propagation"] = "rslave"
elif mutation == "post-config-bind-propagation":
controller["Mounts"][9]["Propagation"] = "shared"
elif mutation == "post-missing-backup-volume":
controller["Mounts"].pop(10)
elif mutation == "post-backup-volume-type":
controller["Mounts"][10]["Type"] = "bind"
elif mutation == "post-backup-volume-name":
controller["Mounts"][10]["Name"] = "foreign-volume"
elif mutation == "post-backup-volume-source":
controller["Mounts"][10]["Source"] = "/tmp/foreign-volume"
elif mutation == "post-backup-volume-target":
controller["Mounts"][10]["Destination"] = "/tmp/backup"
elif mutation == "post-backup-volume-mode":
controller["Mounts"][10]["RW"] = False
elif mutation == "post-backup-volume-propagation":
controller["Mounts"][10]["Propagation"] = "rprivate"
elif mutation == "post-duplicate-backup-volume":
controller["Mounts"].append(dict(controller["Mounts"][10]))
elif mutation == "post-extra-mount":
controller["Mounts"].append(dict(controller["Mounts"][0]))
@@ -1296,6 +1334,14 @@ def test_postactivation_accepts_well_formed_compose_hash():
assert bootstrap._verified_live_controller(docker, source_revision=REVISION)
def test_postactivation_accepts_exact_forge_backup_mount_in_eleven_mount_inventory():
docker = FakeDocker(_legacy_helper_spec())
controller = _modern_controller_inspect(REVISION)
docker.containers["gitea-deploy-control"] = controller
assert bootstrap._verified_live_controller(docker, source_revision=REVISION)
def test_successful_child_requires_exact_source_tree_version_and_health():
docker = FakeDocker(_legacy_helper_spec())
git = FakeProtectedGit("")