yawn

command
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2026 License: MIT Imports: 34 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command yawn works with synthesized .yawn/ output and the deploy control plane described in the design doc (wiki/design/deploy-control-plane.md).

yawn providers [-out .yawn] [-mirror DIR] [-platform linux_arm64]
    Install every pinned provider into a filesystem mirror (SHA-256 and h1
    checked) and write DIR/tofurc for TF_CLI_CONFIG_FILE.

yawn oidc-verify -policy policy.json [-state last.json] < token
    Verify a Forgejo Actions ID token against the issuer's published keys
    and the policy; print the verified claims as JSON. With -state, also
    refuse a run that is not newer than the last deployed run and print the
    new state to write after a successful deploy.

yawn fleet-check -fleet fleet.json -service ID < observed.json
    Refuse (exit 3) unless the observed container is exactly the declared
    service. Run immediately before a push deploy touches the container.

yawn fleet-diff -fleet fleet.json < observed-list.json
    Report drift between the fleet code and every observed container.
    Exit 3 if any declared service is missing or wrong.

yawn bootstrap [-plan] [-allow CTID,...] [-backend-config K=V ...] STACK
    Deploy one bootstrap stack (xyOps, deployer, Forgejo, runners) from a
    trusted machine when the control plane cannot deploy itself. Refuses
    unless the checkout is clean and exactly origin/main, the stack is
    marked Bootstrap, and every declared credential is in the environment;
    plans to a saved file, runs the restart guard, asks for the stack name,
    applies that plan and requires a clean fresh plan.

yawn app-verify -apps apps.json -issuer URL -digest sha256:... [-mode deploy|sign] [-state FILE] < token
    Verify an app release request against its slot. Audience
    yawn-app:<slot> (deploy) must come from the slot's deploy workflow,
    yawn-sign:<slot> (sign) from its publish workflow; both from the
    slot's repository by immutable IDs at a release tag with the slot's
    prefix. Print mode, slot, tag and image@digest.

yawn plan-guard [-allow CTID,CTID] < plan.json
    Read `tofu show -json` of a saved plan and refuse (exit 3) if it would
    replace, delete, stop or reboot an existing Proxmox container that is
    not listed in -allow. Creating new containers is always allowed.

yawn run [-C DIR] [-n] [-only] TASK...
    Run tasks from yawn.json (and the tasks they need), each as one
    `bash -euo pipefail` script. CI runs exactly this command.

yawn tasks [-C DIR]
    List the tasks in yawn.json.

yawn ci generate|verify [-C DIR]
    Write the workflows declared in yawn.json to .forgejo/workflows, or
    refuse (exit 3) when a committed generated workflow differs.

yawn ci pin VERSION
    Print the yawn.json pin (version and per-platform SHA-256) of a release.

yawn ci lint-commits [-C DIR] [-base REV -head REV]
    Check commit subjects in base..head (defaults to the pull request range).

yawn digest FILE
    Print sha256:<hex> of a file.

yawn version

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL