Fistron docs

fistron.io

Install on a machine, a virtual machine or in CI

Without a control plane, Fistron runs where you start it: the command line fistron, the local UI fistron ui, or a job of your CI. This page installs it; Run the local UI then starts the UI and sets a repository up.

Before you start

The artifacts

Artifact Where Use
The command line (the wheel fistron-<version>-py3-none-any.whl) dl.fistron.io/fistron/<version>/, installed by get.fistron.io a developer’s machine
The image registry.fistron.io/fistron:<version> Fistron’s registry, for anyone a container on any machine, a CI job, a virtual machine
The image registry.fistron.io/fistron-core:<version> Fistron’s registry, with your licence the same with the closed core, for the licensed features

Each release’s images are built for amd64 and arm64, signed, and come with an SBOM and their build provenance. A pinned build has the tag <version>-sha-<commit>.

Install the command line

One command, for Linux and macOS:

curl -fsSL https://get.fistron.io | sh                                  # open Fistron
curl -fsSL https://get.fistron.io | sh -s -- --licence licence.paseto   # with the closed core

The installer verifies the release’s signature and each file’s checksum, installs Fistron with the extras ui, mcp, coverage and verify in an environment of its own, puts fistron in ~/.local/bin and replaces a Fistron installed before with uv tool, pipx or pip. It is the one way to install the command line: Install Fistron for your plan has the check, the upgrade (fistron-install update), the uninstall (fistron-install uninstall) and how to verify a release by hand.

To have a change of GitHub Actions workflows proposed (the Fast Feedback Loop), put actionlint on the PATH: Fistron never opens such a change unvalidated. The image has it.

Use the image

  1. Verify the image’s signature:

    cosign verify registry.fistron.io/fistron:<version> \
      --certificate-identity-regexp '^https://github.com/fistron-io/Fistron/\.github/workflows/image\.yml@' \
      --certificate-oidc-issuer https://token.actions.githubusercontent.com
  2. Run it with a workspace volume, publishing the UI’s port on the host’s loopback only:

    mkdir -p ~/fistron-data
    podman run --rm -it --read-only --userns=keep-id \
      -v ~/fistron-data:/workspace:Z -p 127.0.0.1:8740:8740 \
      -e FISTRON_GITHUB_TOKEN registry.fistron.io/fistron:<version> fistron ui

The image runs as any user with a read-only root file system; it writes only to /workspace and /tmp. With Docker, use --user "$(id -u):$(id -g)" --tmpfs /tmp instead of --userns=keep-id.

Run it on a virtual machine

On a virtual machine without Kubernetes, one command installs the local UI as a rootless Podman container that systemd keeps running, on the newest minor version, updated within it automatically (Upgrade Fistron). As the user that owns the workspace:

curl -fsSL https://get.fistron.io | sh -s -- ui

It prints how to reach the UI and the address with this start’s token. --core --licence licence.paseto installs the image with the closed core (the licensed features; the licence signs in to Fistron’s registry), --port another port on the host’s loopback, and --secret FISTRON_GITHUB_TOKEN keeps a variable of your shell as a Podman secret for the container (repeat it for each token your configuration names).

By hand

Fistron ships the Quadlet unit (container/quadlet/fistron-ui.container). As the user that owns the workspace (rootless Podman 4.4 or later):

mkdir -p ~/.config/containers/systemd ~/fistron-data
cp fistron-ui.container ~/.config/containers/systemd/   # set Image= to your version
printf '%s' "$FISTRON_GITHUB_TOKEN" | podman secret create fistron-github-token -
systemctl --user daemon-reload
systemctl --user start fistron-ui
loginctl enable-linger "$USER"                           # keep it running after logout
journalctl --user -u fistron-ui | grep 'Fistron UI:'      # the URL with this start's token

Reach the UI from your machine through SSH (ssh -L 8740:127.0.0.1:8740 <vm>) and open the URL from the journal. Each token is a Podman secret, given to the container as the variable your configuration names. The same virtual machine can run the agent of a control plane instead (Use the hosted control plane with your own agent).

Add Fistron to CI

In CI, Fistron runs as a job with the image: it analyses a failed pipeline, assesses a pull or merge request, or collects the CI history. Fistron proposes its CI files to a repository itself (GitHub Actions workflows or GitLab CI jobs); see admin-repositories.md and, for every option, ci-job.md.

The closed core and the licence

The licensed features need the closed core beside Fistron. On your machine, the installer installs it with your licence (--licence licence.paseto) and keeps the licence in ~/.config/fistron/licence.paseto. In a container, use the image registry.fistron.io/fistron-core, which holds Fistron and the core, after podman login registry.fistron.io -u licence --password-stdin < licence.paseto.

fistron licence      # the licence, its features and its expiry
# another licence file: export FISTRON_LICENCE=/path/to/example.paseto

More than one licence, your own and your organisation’s, which one applies in a repository and how to choose: Your licences.

In CI, give the licence’s token itself as a masked secret in FISTRON_LICENCE_TOKEN. The licence is verified offline; nothing is sent to Fistron.

Check

Next