6 Home
Forgejo Actions edited this page 2026-11-24 15:34:14 +00:00

cdk

code.yawn.dev/john/cdk is a Go construct kit for the yawn.dev homelab, in the style of the AWS CDK. Programs build an App of Stacks and synthesize plain OpenTofu configuration to .yawn/, built in CI and never committed.

Packages

Package Purpose
core App, Stack, Resource; deterministic synth; pinned providers; S3 state backend; enforced state and plan encryption
forgejo Forgejo repositories and branch protection (svalabs/forgejo)
proxmox Proxmox VE LXC containers (bpg/proxmox): import or create, destroy refused, linked to fleet identities
fleet Which Proxmox container runs which service, synthesized to fleet.json, with identity checks and drift reports
xyops xyOps events, custom Event Plugins and secret records (john/xyops provider)
workflow Native xyOps workflows and deployment pipelines
oidc Verifies Forgejo Actions ID tokens for the deploy hand-off
ci Generates a repository's Forgejo workflows from yawn.json, runs its tasks, and requests signing/deploys from xyOps
cmd/yawn run, tasks, ci generate/verify/pin, request, providers, oidc-verify, fleet-check, fleet-diff, plan-guard, app-verify, bootstrap

Design

  • Deploy control plane: how CI, OIDC, xyOps and the fleet fit together, and why.
  • Workflows: native xyOps pipelines, intake, custom Event Plugins.

Guides

Design

Guides