• v0.3.0-dev.11 9b8dc2a8e5

    v0.3.0-dev.11
    All checks were successful
    CI / release-check-1 (push) Successful in 12s
    CI / release-check (push) Successful in 0s
    Release / release-1 (push) Successful in 19s
    Release / release (push) Successful in 0s
    CI / checks (push) Successful in 33s
    Pre-release

    john released this 2026-11-18 02:45:58 +00:00 | 146 commits to main since this release

    Added

    • yawn bootstrap [-plan] [-allow CTID,...] [-backend-config K=V ...] STACK: break-glass deploy of a bootstrap stack from a trusted machine. Refuses unless the checkout is a clean origin/main and the stack is marked bootstrap; requires every declared credential; passes only those to OpenTofu; saved plan, restart guard, typed stack-name confirmation, convergence check.
    • Stack.Bootstrap() and Stack.Credentials(names...), recorded in the manifest (bootstrap, credentials).

    Changed

    • Breaking: the gitea package is removed. Forgejo replaced Gitea and has no OpenTofu state registry, and the forked Gitea provider targeted settings Forgejo lacks.
    • Breaking: Stack.Encrypt requires the passphrase variable to be sensitive and ephemeral, so the passphrase never appears in saved plans. Generated configuration requires OpenTofu >= 1.11.
    • CI moved to .forgejo/ and uses the mirrored runner image.

    Fixed

    • proxmox: imports plan only state-side differences. The construct now writes Proxmox's console defaults (enabled, tty, 2 TTYs) and the provider's timeout_start default (300): left unset, the first import planned a console change on every container, which the provider applies with a reboot (caught by yawn plan-guard in arch plan run 583; nothing applied).
    • proxmox: Network.NoGateway declares a static interface without a gateway (as Proxmox allows; CT 112 on kratos), instead of refusing it.
    • proxmox: MAC addresses are written exactly as declared (all upper or all lower case) instead of lowercased. bpg/proxmox compares them case-sensitively against what Proxmox stores (usually upper case), so lowercasing would plan a network change, and a network change reboots a running container.

    Added

    • proxmox.Disruptions and yawn plan-guard [-allow CTID,...] < plan.json: read tofu show -json of a saved plan and refuse (exit 3) any replacement, deletion, stop, start or reboot of an existing container that is not approved. Reboot triggers are those of bpg/proxmox 0.122.0 in-place updates of running containers (memory, mounts, devices, network/IP, DNS, hostname, entrypoint, environment, OS type, console, idmap, root mount options). Creates are always allowed. Checked against real OpenTofu plan JSON.
    • proxmox: NewContainer for Proxmox VE LXC containers on bpg/proxmox 0.122.0 (pinned by SHA-256 and h1; hashes match OpenTofu's verified install). Import by node/ctid or create from a template; every attribute decided against a schema snapshot including nested blocks; destroy refused and never purges; template, privilege, root storage, description and the initial user account never reconciled; raw lxc.* lines untouched. TLS always verified; token only from PROXMOX_VE_API_TOKEN. Container.Fleet() returns the fleet.Container identity (DHCP interfaces name their ReservedIP). Guide in the wiki; examples/containers is validated by OpenTofu in CI.
    • forgejo.Repository.DeployKey: SSH deploy key, read-only unless Write; accepts only an OpenSSH ed25519 public key without a comment, so private keys never pass through cdk.
    • oidc.Policy.Audiences (and audiences in the yawn oidc-verify policy file): a set of accepted audiences, so a deploy job can bind its mode to the token (e.g. yawn-deploy:arch:plan / :apply) and read the verified Claims.Audience. Set either audience or audiences.
    • fleet.Observed.MAC: net0 hwaddr (lowercase), so DHCP reservations can be written from discovery.
    • fleet.ParseUpdateEntrypoint also reads older community-scripts entrypoints (the ct/<name>.sh they download).
    • fleet.Observed.DHCP: containers whose net0 uses ip=dhcp (the observer then reports the live address); Check warns, because a lease change would break the identity check.
    • forgejo: NewRepository and Protect for svalabs/forgejo 1.7.0 from the OpenTofu registry, with every attribute decided against a schema snapshot. Wiki options are omitted while the wiki is off; manual-merge settings Forgejo does not support are left alone. UnreadSettings lists the repository settings the provider never reads back.
    • core.S3Backend: S3-compatible state (VersityGW) with native lockfile locking; credentials only from the environment.
    • core.Variable.Ephemeral, and App.Attach for data-only documents synthesized next to the stacks (listed in manifest.json as documents).
    • fleet: declares which Proxmox container runs which service (fleet.json), parses pct list/pct config and the community-scripts update entrypoint, and reports identity mismatches and drift.
    • oidc: verifies Forgejo Actions ID tokens (RS256 only, JWKS from the issuer's host, explicit audience, repository by immutable ID, event, ref, workflow, token age) and refuses runs not newer than the last deploy.
    • yawn oidc-verify, yawn fleet-check and yawn fleet-diff for xyOps deploy jobs; exit status 3 means "checked and refused".
    • Design doc for the deploy control plane in wiki/, published to the repository wiki on release.

    Source commit 9b8dc2a8e55add8591263383e73ac065e224e97a.

    Downloads