mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 04:40:05 +01:00
fix: fix background jobs
Signed-off-by: allanice001 <allanice001@gmail.com>
This commit is contained in:
@@ -500,7 +500,9 @@ func runMakeOnBastion(
|
||||
defer sess.Close()
|
||||
|
||||
clusterDir := fmt.Sprintf("$HOME/autoglue/clusters/%s", c.ID.String())
|
||||
cmd := fmt.Sprintf("cd %s && make %s", clusterDir, target)
|
||||
sshDir := fmt.Sprintf("$HOME/.ssh/autoglue")
|
||||
|
||||
cmd := fmt.Sprintf("cd %s && docker run -it -v %s:/root/.ssh -v ./payload.json:/opt/gluekube/platform.json %s:%s make %s", clusterDir, sshDir, c.DockerImage, c.DockerTag, target)
|
||||
|
||||
out, runErr := sess.CombinedOutput(cmd)
|
||||
if runErr != nil {
|
||||
|
||||
@@ -1,19 +1,17 @@
|
||||
import { useEffect, useRef, useState, type FC } from "react"
|
||||
import { type FC, useEffect, useRef, useState } from "react"
|
||||
import { useTheme } from "next-themes"
|
||||
|
||||
|
||||
import { Button } from "@/components/ui/button"
|
||||
import { Input } from "@/components/ui/input"
|
||||
|
||||
|
||||
import "rapidoc"
|
||||
|
||||
|
||||
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card.tsx"
|
||||
import {
|
||||
Select,
|
||||
SelectContent,
|
||||
SelectItem,
|
||||
SelectTrigger,
|
||||
SelectValue,
|
||||
} from "@/components/ui/select.tsx"
|
||||
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select.tsx"
|
||||
|
||||
|
||||
type RdThemeMode = "auto" | "light" | "dark"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user