• v0.3.0 d5af460ef2

    v0.3.0
    All checks were successful
    ci / test (push) Successful in 1m4s
    release / release (push) Successful in 1m5s
    Stable

    oliver.maklott released this 2026-11-29 01:57:44 +01:00 | 22 commits to main since this release

    Milestone 2, part 1: the guided first run of the trust anchor.

    • infractl bootstrap anchor - the anchor's first run (the site
      repository's docs/runbooks/first-run.md) as 17 steps, each with what,
      why, what it needs, the commands it runs and a check: intent from the
      examples, DNS credentials (0600 in the context's state), Flatcar snapshot,
      the anchor (dry run first), DNS records, this workstation in the VPN, the
      key ceremony and unseal, OpenBao's configuration, snapshots, closing the
      bootstrap SSH, and the hand-over (intent, DNS credentials and Hetzner
      token into OpenBao). Resumable: done steps only repeat their check;
      --verify checks only, --from STEP redoes from a step, --answers FILE
      answers the questions (never secrets), --restart forgets the progress.
      The Hetzner token stays in memory and reaches only the commands that
      need it.
    • infractl docs anchor - the same steps as a runbook (Markdown).
    • infractl play NAME [--bootstrap CIDR] [ansible-playbook options] - a
      playbook of the site repository with the context's intent copy and
      secrets file; -i localhost, for the anchor, IdP and OpenBao
      configuration. The Hetzner token comes from the caller, OpenBao
      (secrets/hcloud) or a hidden prompt.
    • infractl kv put MOUNT/PATH KEY... (each value asked without echo) or
      - (a JSON object on stdin): values never on the command line.
    • Nested calls keep what infractl handed down in the same context
      (INFRACTL_ENV): infractl bao root -- infractl play ... runs the play
      with the root token. Tokens from another shell are still removed.
    Downloads
  • v0.2.0 6bfcfbadec

    v0.2.0
    All checks were successful
    ci / test (push) Successful in 1m0s
    release / release (push) Successful in 59s
    Stable

    oliver.maklott released this 2026-11-29 01:21:00 +01:00 | 23 commits to main since this release

    The helpers of the site repository's bin/ moved here (milestone 1):

    • infractl config - the intent documents (was bin/infra-data), now in-process.
    • infractl wg - WireGuard members (was bin/wg-peer); client keys per context.
    • infractl bao init|unseal|root - the key ceremony and the break-glass root
      token (was bin/bao-init, bin/bao-unseal, bin/bao-root); init.json per context.
    • infractl bao snapshot-pull and infractl idp recover (were bash scripts) -
      through the context's SSH configuration, so no ~/.ssh/config entry for the
      anchor is needed any more.
    • infractl backup - restic backups and restores (was bin/backup); its SSH
      uses the context's configuration too.
    • infractl image flatcar - the signature-checked Flatcar snapshot (was
      bin/hcloud-flatcar-image).
    • In a context, the helpers never read ~/.vault-token: only the context's
      login counts.
    • --raw runs a helper without a context, with the environment and working
      directory as they are - what the site repository's bin/ wrappers use, so
      playbooks, test scenarios and runbooks keep working unchanged.
    • Arguments after a helper command (including --help) go to it unchanged.
    • New dependency: jsonschema. Lines may be 120 characters, as in the site
      repository.
    Downloads
  • v0.1.0 8833647a0c

    v0.1.0
    All checks were successful
    release / release (push) Successful in 6s
    ci / test (push) Successful in 8s
    Stable

    oliver.maklott released this 2026-11-29 00:50:08 +01:00 | 24 commits to main since this release

    First release: the skeleton.

    • Contexts (context, use): one per infrastructure, with selection by
      -c/INFRACTL_CONTEXT, use, the current directory or the only
      context; every command names its context. Child processes get a scrubbed
      environment with only the selected context's OpenBao address and token.
    • setup: the toolchain release the site repository pins, built with its
      bt-ci-setup, plus the pinned collections.
    • doctor and status.
    • login/logout: OpenBao login per context (never ~/.vault-token).
    • ssh: hosts from the intent (WireGuard hub and sites, the identity
      provider through the hub), with an SSH configuration and known hosts per
      context; the host CA is trusted when the intent has one.
    • config: the intent documents through the site repository's infra-data,
      kept in the context's state.
    • run, jobs, logs, cancel: commands in the context, optionally as
      detached jobs that survive a closed terminal, with heartbeats while quiet.
    • The step engine for guided flows (what / why / needs / action / check,
      resumable, --verify, runbooks rendered from the same definitions).
    Downloads