Implement Keystone environment deployments
This commit is contained in:
@@ -14,7 +14,7 @@ class CreateServiceCommand extends Command
|
||||
|
||||
protected $description = 'Create a service';
|
||||
|
||||
public function handle()
|
||||
public function handle(): void
|
||||
{
|
||||
$serverId = $this->components->ask('Enter the server ID');
|
||||
$server = Server::find($serverId);
|
||||
@@ -26,7 +26,7 @@ class CreateServiceCommand extends Command
|
||||
}
|
||||
|
||||
$serviceType = $this->components->choice('select the service you want to install', [
|
||||
'postgres-17',
|
||||
'postgres-18',
|
||||
]);
|
||||
|
||||
$serviceName = $this->components->ask('Enter the service name');
|
||||
@@ -36,7 +36,7 @@ class CreateServiceCommand extends Command
|
||||
server: $server,
|
||||
name: $serviceName,
|
||||
category: ServiceCategory::DATABASE,
|
||||
type: ServiceType::tryFrom($type),
|
||||
type: ServiceType::from($type),
|
||||
version: $version,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user