generated from Luis/nextjs-python-web-template
Fixing broken CI
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./impure/flake-module.nix
|
./impure/flake-module.nix
|
||||||
];
|
];
|
||||||
perSystem = { pkgs, lib, self', ... }: {
|
perSystem = { lib, self', ... }: {
|
||||||
checks =
|
checks =
|
||||||
let
|
let
|
||||||
|
|
||||||
|
|||||||
@@ -1,30 +0,0 @@
|
|||||||
"use client";
|
|
||||||
import { useGetVmLogs } from "@/api/default/default";
|
|
||||||
import { Log } from "./log";
|
|
||||||
import { LoadingOverlay } from "./loadingOverlay";
|
|
||||||
|
|
||||||
interface VmBuildLogsProps {
|
|
||||||
vmUuid: string;
|
|
||||||
}
|
|
||||||
export const VmBuildLogs = (props: VmBuildLogsProps) => {
|
|
||||||
const { vmUuid } = props;
|
|
||||||
|
|
||||||
const { data: logs, isLoading } = useGetVmLogs(vmUuid as string, {
|
|
||||||
swr: {
|
|
||||||
enabled: vmUuid !== null,
|
|
||||||
},
|
|
||||||
axios: {
|
|
||||||
responseType: "stream",
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
return (
|
|
||||||
<div className="w-full">
|
|
||||||
{isLoading && <LoadingOverlay title="Initializing" subtitle="" />}
|
|
||||||
<Log
|
|
||||||
lines={(logs?.data as string)?.split("\n") || ["..."]}
|
|
||||||
title="Building..."
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
Reference in New Issue
Block a user