Tags

Tags give the ability to mark specific points in history as being important
  • v0.1.3

    protected Release: forgehand v0.1.3
    forgehand v0.1.3
    
    Readiness, metrics and clearer failures. No configuration key changes.
    
    **Update the unit and the binary together.** examples/forgehand.service is now `Type=notify` with `TimeoutStartSec=10min`. A v0.1.2 binary under this unit never reports ready and is killed at that timeout. A v0.1.3 binary under the old unit works as before.
    
    - Reports readiness to systemd once every scale set holds a message session, and reports stopping, with a status, during a drain or handoff. A start that fails never reads active. After a restart the unit can sit in `deactivating` during the drain, then `activating` until ready.
    - When a runner exits before listening, or never listens, the tail of its log is logged at Warn and its last lines go in the failure cause. The tail of the runner's `_diag` log now appears only at debug level.
    - New metrics: `forgehand_prepare_failures_total`, `forgehand_prepare_consecutive_failures`, `forgehand_admission_refusals_total` and `forgehand_slot_failures_total`.
    - The stop log line now counts VMs a drain cancelled while they were being prepared.
    - Warns when removing an instance this run did not start.
    - README: why the unit is a lingering user unit, restarting the user manager after a group change, plugin directory permissions and SELinux label, and upgrading with `restart --no-block`.
    
    Install: binaries for linux amd64 and arm64 on this page, or `go install gitlab.com/dunn.dev/forgehand/cmd/forgehand@v0.1.3`. Each binary has a `.sha256` and a cosign `.bundle` in the package registry; see Verify a release in the README.
    
    Before 1.0, a minor release (0.2) may rename, remove or change a configuration key; a patch release (0.1.x) never does. Each break is listed in that release's notes with the change to make.
  • v0.1.2

    protected Release: forgehand v0.1.2
    forgehand v0.1.2
    
    The example deployment is now a lingering systemd user unit run by its own service user, and stopping no longer leaves VMs behind; no configuration keys change.
    
    - examples/forgehand.service runs as a `forgehand` user in the `libvirt` group, with lingering enabled, instead of a DynamicUser system unit. On SELinux hosts the system unit was denied by libvirt (process lookup) and by polkit (group membership); a user unit with real group membership needs no extra policy.
    - The GitHub App key is a file readable only by the service user, under `~/.config/forgehand/`, instead of a systemd credential. The README's install steps and the Signals and Upgrade sections use `systemctl --user`.
    - `forgehand check` no longer hints at `/run/credentials/` paths.
    - Stopping while VMs are still being prepared now deletes them within `shutdown_timeout`. Before, the stop waited out the whole timeout on those VMs, exited 1 and left them running. forgehand logs how many slots were waiting or busy when it stops.
    - Updates klauspost/compress to v1.20.2 (security) and the fleeting-artifact module.
    
    Moving from the v0.1.1 system unit: create the service user, move the config and key into its `~/.config/forgehand/`, update `private_key_path` (and any guest `key_path`) to match, and move restart state from `/var/lib/forgehand` to the user's `~/.local/state/forgehand`, owned by that user, before the first start.
    
    Install: binaries for linux amd64 and arm64 on this page, or `go install gitlab.com/dunn.dev/forgehand/cmd/forgehand@v0.1.2`. Each binary has a `.sha256` and a cosign `.bundle` in the package registry; see Verify a release in the README.
    
    Before 1.0, a minor release (0.2) may rename, remove or change a configuration key; a patch release (0.1.x) never does. Each break is listed in that release's notes with the change to make.
  • v0.1.1

    protected Release: forgehand v0.1.1
    forgehand v0.1.1
    
    Dependency and release-hygiene updates; no configuration changes.
    
    - Updates prometheus/client_golang to v1.25.0 and the taskscaler Prometheus metrics module; taskscaler itself is unchanged.
    - Each binary's `.sha256` now names the bare file, so `sha256sum -c` passes beside a plain download.
    - SECURITY.md: VF `spoofchk` stops MAC spoofing only; ARP and IP protection needs the libvirt plugin's `nwfilter`.
    - Releases are now also published on the GitHub mirror.
    
    Install: binaries for linux amd64 and arm64 on this page, or `go install gitlab.com/dunn.dev/forgehand/cmd/forgehand@v0.1.1`. Each binary has a `.sha256` and a cosign `.bundle` in the package registry; see Verify a release in the README.
    
    Before 1.0, a minor release (0.2) may rename, remove or change a configuration key; a patch release (0.1.x) never does. Each break is listed in that release's notes with the change to make.
  • v0.1.0

    protected Release: forgehand v0.1.0
    forgehand v0.1.0
    
    First release. A daemon that serves GitHub Actions scale sets as a GitHub App and runs each job on a fresh VM from a fleeting plugin, with a just-in-time runner started over SSH.
    
    - taskscaler drives capacity, so most gitlab-runner `[runners.autoscaler]` settings carry over.
    - Restart adoption: busy VMs survive a crash or restart and their jobs finish. `SIGUSR1` hands VMs to the next process for an upgrade.
    - Tested end to end with fleeting-plugin-libvirt v0.1.0, including UEFI Secure Boot, a vTPM and PCI passthrough.
    - A sandboxed example systemd unit (`examples/forgehand.service`); secrets arrive only as systemd credentials.
    
    Install: binaries for linux amd64 and arm64 on this page, or `go install gitlab.com/dunn.dev/forgehand/cmd/forgehand@v0.1.0`. Each binary has a `.sha256` and a cosign `.bundle` in the package registry; see Verify a release in the README.
    
    Before 1.0, a minor release (0.2) may rename, remove or change a configuration key; a patch release (0.1.x) never does. Each break is listed in that release's notes with the change to make.