🧪 test(aio): add SKIP_MASTERCONTAINER_UPDATE_CHECK escape hatch

Short-circuit IsMastercontainerUpdateAvailable() when the env var is
set, so local test images don't nag for updates.

Signed-off-by: James Manuel <moodyjmz@users.noreply.github.com>
This commit is contained in:
James Manuel
2026-07-08 17:15:59 +02:00
parent 7c3ceb1240
commit ab9b031435
+4
View File
@@ -741,6 +741,10 @@ readonly class DockerActionManager {
}
public function IsMastercontainerUpdateAvailable(): bool {
if (getenv('SKIP_MASTERCONTAINER_UPDATE_CHECK') === 'true') {
return false;
}
$imageName = $this->GetCurrentImageName();
$containerName = 'nextcloud-aio-mastercontainer';