"use client"; import React from "react"; import { Rocket, Cloud, CheckCircle2, AlertTriangle, Clock } from "lucide-react"; import { Card, CardBody, CardHeader, CardTitle } from "@/components/ui/Card"; import { Badge, ArtifactTypeBadge } from "@/components/ui/Badge"; import { EmptyState } from "@/components/ui/EmptyState"; import { MetricCard } from "@/components/ui/MetricCard"; import { fmtDate } from "@/lib/utils"; const DEPLOYS = [ { id: "DEP-44", env: "prod-west-1", service: "asf-core", version: "v0.4.0", status: "done", at: "2025-11-14T14:12:00Z", by: "ci-bot" }, { id: "DEP-43", env: "staging", service: "asf-core", version: "v0.4.0-rc3", status: "done", at: "2025-11-13T17:00:00Z", by: "ci-bot" }, { id: "DEP-42", env: "prod-west-1", service: "asf-web", version: "v0.3.2", status: "done", at: "2025-11-11T09:30:00Z", by: "m.rossi" }, { id: "DEP-41", env: "prod-west-1", service: "asf-worker", version: "v0.3.1", status: "failed", at: "2025-11-09T20:45:00Z", by: "ci-bot" }, { id: "DEP-40", env: "staging", service: "asf-ai", version: "v0.3.0", status: "running", at: new Date().toISOString(), by: "ci-bot" }, ]; export default function DeploymentsPage() { return (
Release history per environment, linked back to Build, Pull Request and Requirement artifacts.
| ID | Env | Service | Version | Status | At | By |
|---|---|---|---|---|---|---|
| {d.id} |
|
{d.version} |
|
{fmtDate(d.at)} | {d.by} |