mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-07-21 21:52:53 +00:00
🧪 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:
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user