KubeOsprey Build and Delivery Pipeline

KubeOsprey Build and Delivery Pipeline A workflow diagram generated by Archify. 01 / Frontend ui/ 02 / Go backend 03 / Delivery Frontend build Embed and compile Run and deliver Vite build Embed and compile ui/src source · React · TypeScript · Frontend ui/ › Vite build › Frontend build ui/src source React · TypeScript pnpm build · Vite · outDir ../static · Frontend ui/ › Vite build › Frontend build pnpm build Vite · outDir ../static static/ output · Build output directory · Frontend ui/ › Vite build › Embed and compile static/ output Build output directory //go:embed static · static.go · Go backend › Embed and compile › Embed and compile //go:embed static static.go go build · CGO_ENABLED=0 · -trimpath · Go backend › Embed and compile › Embed and compile · Version ldflags go build CGO_ENABLED=0 · -trimpath Version ldflags kube-osprey binary · cluster-agent subcommand · Go backend › Embed and compile › Run and deliver kube-osprey binary cluster-agent subcommand make dev · Backend -v=5 + Vite HMR · Delivery › Run and deliver make dev Backend -v=5 + Vite HMR Helm delivery · charts/kube-osprey · Delivery › Run and deliver Helm delivery charts/kube-osprey Run locally Image + charts/kube-osprey Emit output Produce Vite proxies /api Bundled at compile time Build Embed Legend User UI Agent logic Tool action Context / trace Cloud service

One build

  • • make build = frontend build + Go compile
  • • Frontend output is embedded via go:embed

Local development

  • • make dev runs ./kube-osprey -v=5 in the background
  • • Vite dev server proxies /api with hot reload

Version and delivery

  • • Version injected via ldflags into pkg/version
  • • Image ghcr.io/fadewalk/kube-osprey