Fistron docs

fistron.io

Set up Distributed Continuous Verification

For vendors of on-premises software and their key customers: the vendor’s pre-release builds are installed and tested in the customers’ own staging environments, with the vendor’s test suite and the customers’ own checks. Each run ends with a signed attestation, and what is shared with the vendor is agreed per programme.

State today. Available now, being validated on the first programme with an open-source project’s public pre-release builds. It works today: the validation kit and its runners (a script, a container, an Ansible playbook, Testkube, openQA), the build’s digest and signature verified before anything is installed, staging-only targets, the run, its attestation and the sharing with export for air-gapped sites; and the programmes across customers in the control plane: the programme, its participants and the sharing policy each accepts, the kit and the builds published to it, a run per participant and target that waits for the participant’s approval, the results received and verified (from the participant’s agent, sent online, or uploaded), the Distributed Continuous Verification page of the vendor and the participant, and Fištrónek’s status report of a programme.

See it

Fistron’s release gate of a programme: each requirement with its state from the participants’ builds.

The release gate of a synthetic programme (the demo’s document). The same in the dark theme and on a phone. Taken from Fistron’s GUI at its release, never drawn.

You do Fistron does You get
Name the programme’s requirements and let its participants run the vendor’s validation kit. Fistron runs the kit on each participant’s agent and gathers the results into the programme’s release gate. A release gate with each requirement’s state from every participant’s builds.

The setup’s checklist

The same checklist, with each step’s state for your project and the page that does it, is on the project’s page Solutions.

  1. Connect an agent. The agent reads your CI, repositories and environments inside your network. See Use the hosted control plane with your own agent.
  2. Let the agent install and run your suite. Each pre-release build validated in a participant’s own environment.
  3. Run a validation. A signed attestation per release and environment.

Roles

What the vendor needs

What a participant needs

Steps for a participant

  1. Declare the targets, the trust and the agreement in the [validation] section of the agent’s configuration: who you are, the working directory, each target with its labels (staging or isolated), its environment profile and rollback, and the vendor’s keys per programme (validation.md). Only a configuration with a participant, a target and a trusted key lets the agent run kits at all.
  2. Check a target as a run will: fistron validation check <kit> --config fistron.toml --target <target>.
  3. Add your own checks as hooks of the target: commands that run after the kit’s tests; one that fails makes the run failed.
  4. Run a build: fistron validation run with the kit, the target, the release and the build’s digest and signature (validation.md). The agent verifies the build, installs it, tests it, collects the results, rolls back as the target says and writes the record.
  5. Keep the installation key. The run’s record is attested with the installation’s own key (made on first use); give its public part (fistron validation key) to the vendor once.
  6. Share as agreed. With the sharing policy both have accepted, fistron validation export writes one signed file with only what the policy allows; every item is recorded in your ledger. The vendor verifies and reads it with fistron validation import (validation.md). An air-gapped site carries the file out.

A programme in the control plane

A manager runs the programme on Distributed Continuous Verification (under Quality and delivery); a participant organisation’s manager takes part on the same page (validation.md has the API).

  1. The vendor’s manager creates the programme its licence names (Create a programme) and adds each participant (Add a participant): another organisation of the control plane gets an invitation, shown once; an installation outside is added by its key. Name a participant exactly as its agent’s configuration names it.
  2. The vendor proposes each participant what is shared (Change in its row, Propose a sharing policy). An organisation’s manager accepts its invitation (Accept an invitation) and the policy; an installation’s consent is recorded by the vendor’s manager (Record the acceptance). A participant without an organisation here opens the sign-in page, Invited to a validation programme?, reads the invitation and joins with a new organisation: the first admin’s password is shown once, to change at the first sign-in. The organisation has no licence of its own; the programme’s runs go under the vendor’s.
  3. The participant’s manager names the project, the agent’s targets and the installation keys its agents sign with (Save), and keeps approval by a person or switches it off.
  4. The vendor packs its kit (fistron validation pack), uploads it with the API or its CI (a publisher token) and publishes each build (Publish a build, or its CI: the address it posts to is shown there).
  5. In the participant’s organisation each build waits as a run per target; its manager, or an engineer of the project, clicks Approve or Decline. The approved run goes to the participant’s agent with the kit, the policy in force and the programme’s licence.
  6. The run’s result reaches the vendor: from the participant’s agent at once; an installation outside sends it with its participant token (Issue a token, then fistron validation send); the vendor’s manager uploads an air-gapped installation’s export with the API.
  7. The vendor reads Releases by environment: each build’s verdict per participant and target, the attestation, and the tests that regressed against the previous build of the stream there.
  8. Status report of the last 7 days, under the programme, is Fištrónek’s report of it: what passed, what regressed or failed, the environments with no result of the newest build yet, the participants without a sharing policy in force, and the next step; each statement cites the results it comes from. Download as Markdown for your release notes.

The licence names how many participating environments the vendor’s programmes may have: adding a participant beyond them is refused. The price counts every environment that took part in the licence year (from the licence’s issue, year by year), also one that left, by the environments each participant was added with and never by its servers. The page says that number under Programmes you run, and the status report’s notes say it for the programme; more than the licence covers (one left, another came) is a warning, never a stop: Fistron settles it at the yearly true-up.

Migration paths

A vendor whose customers migrate its product (to containers, Kubernetes or a cloud) runs its migration kit as a programme (Rehearse and verify a migration, ADR 0112). Its licence names the feature migration.

  1. Under the programme, open its migration paths: name the dimensions of the paths you support (the template: source deployment, its operating system, database, size class, target runtime and platform) and each path with its values and your mapping (migration_mapping, TOML or JSON). Save the paths; a path you leave out is retired, its evidence kept.
  2. To run your own paths, add yourself (Add a participant, Your own environment): your organisation takes part with every level shared and no approval; set up your project and your agent’s targets as a participant does.
  3. A participant (and you, for your own targets) puts each enrolled target on a path under Migration paths of its programme: the path, its source (the staging copy read before the migration) and, if it pins one, the requirements of its project. Download the mapping gives the path’s mapping for fistron migration requirements. You see which targets are on which path.
  4. Each build then makes a run per target on a path: a rehearsal from its source, compared with the project’s newest required behaviour (or the pinned one). A target on no path, or a project without requirements, gets no run, and the vendor is told why. With migration_summary in the sharing policy you see the comparison’s counts too, never an item.
  5. Migration paths by release, under the programme: each path per release is covered, failing or without evidence, with each participant’s target and verdict; Targets in the field says how many of your participants’ targets are on it. The paths without evidence of the newest release come first by the field; Run on your own targets runs one on your own targets on that path with the newest build.
  6. A failed rehearsal on a path becomes a test to write. Analyse beside a failed run queues its RCA in your own project, from what its participant shares (the steps’ output with logs, the failed tests with failures). Your project’s Test plan gets an item Rehearse the migration path … in your own CI, citing the failures and their RCA, until a rehearsal of yours on that path passes: the control plane keeps the matrix among your project’s documents, and the nightly map reads it with your runs and the RCA reports.

The release gate

Before a build ships, your release pipeline asks whether it is good in the environments that matter and on the upgrade paths your customers take (ADR 0114). Set the gate under the programme and make the pipeline wait for it with fistron programme gate: Gate a release. An upgrade from an earlier release is a path each build is rehearsed on: Certify upgrades from earlier releases.

Check

Next

Accepting deliveries from your own suppliers is a related solution: Set up the acceptance of supplier deliveries.