mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-15 08:17:02 +00:00
feat(dev): add Lima testing server fixtures (#10844)
This commit is contained in:
1 parent
bf37db3b5f
commit
58f6f9e05b
14 files changed
+600
-38
No files matched your search
@@ -537,6 +537,20 @@ class Show extends Component
|
||||
->get();
|
||||
}
|
||||
|
||||
#[Computed]
|
||||
public function limaStartCommand(): ?string
|
||||
{
|
||||
if (! isDev()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return match ($this->server->uuid) {
|
||||
'lima-ubuntu-2404' => 'limactl start --yes --name=coolify-lima-ubuntu-2404 docker/lima/ubuntu-2404.yaml',
|
||||
'lima-ubuntu-2604' => 'limactl start --yes --name=coolify-lima-ubuntu-2604 docker/lima/ubuntu-2604.yaml',
|
||||
default => null,
|
||||
};
|
||||
}
|
||||
|
||||
public function searchHetznerServer(): void
|
||||
{
|
||||
$this->hetznerSearchError = null;
|
||||
|
||||
Reference in new issue
Block a user