CluPilotCloud/app/Livewire/Admin/Provisioning.php

36 lines
1.8 KiB
PHP

<?php
namespace App\Livewire\Admin;
use Livewire\Attributes\Layout;
use Livewire\Component;
#[Layout('layouts.admin')]
class Provisioning extends Component
{
public function render()
{
return view('livewire.admin.provisioning', [
'runs' => [
['customer' => 'Ordination Dr. Fux', 'pipeline' => 'customer', 'step' => 'DeployApplicationStack', 'n' => '8/15', 'attempt' => 1, 'state' => 'running'],
['customer' => 'Architekturbüro Lang', 'pipeline' => 'customer', 'step' => 'ConfigureDnsAndTls', 'n' => '11/15', 'attempt' => 2, 'state' => 'running'],
['customer' => 'Weingut Prantl', 'pipeline' => 'customer', 'step' => 'RunAcceptanceChecks', 'n' => '14/15', 'attempt' => 1, 'state' => 'running'],
['customer' => 'Praxis Sommer', 'pipeline' => 'customer', 'step' => 'CloneVirtualMachine', 'n' => '3/15', 'attempt' => 3, 'state' => 'failed'],
['customer' => 'Steuerberatung Reiss', 'pipeline' => 'customer', 'step' => 'CompleteProvisioning', 'n' => '15/15', 'attempt' => 1, 'state' => 'done'],
],
'steps' => [
['label' => 'ValidateOrder', 'state' => 'done'],
['label' => 'ReserveResources', 'state' => 'done'],
['label' => 'CloneVirtualMachine', 'state' => 'done'],
['label' => 'ConfigureCloudInit', 'state' => 'done'],
['label' => 'StartVirtualMachine', 'state' => 'done'],
['label' => 'WaitForGuestAgent', 'state' => 'done'],
['label' => 'ConfigureNetwork', 'state' => 'done'],
['label' => 'DeployApplicationStack', 'state' => 'running'],
['label' => 'ConfigureNextcloud', 'state' => 'pending'],
['label' => 'RunAcceptanceChecks', 'state' => 'pending'],
],
]);
}
}