Fistron docs

fistron.io

Use Fistron in the cloud

In the cloud way Fistron runs everything: your organisation’s control plane at app.fistron.io and its agent on Fistron’s own host. You install nothing. You give the agent access to your repositories in the control plane, and Fistron reads only the repositories you list and writes only at the levels you set.

Choose it when your repositories and CI are reachable from the internet (GitHub.com, GitLab.com or an instance open to Fistron’s host). When they are only inside your network, use the hybrid way instead: the same control plane with an agent of your own (Use the hosted control plane with your own agent).

What it means for your data. Fistron’s agent reads your repositories, CI results and logs on Fistron’s host, and keeps your access’s secrets sealed in the control plane (How Fistron is built and secured). For your code and logs to reach a model, your organisation chooses an endpoint it allows for them; without one, Fistron works with plain rules.

Try it first

Before you start

1. Create the GitHub App or the GitLab tokens

Keep the App’s permissions as small as what you allow: GitHub refuses Fistron a token with a permission the App lacks.

2. Enter the access in the control plane

  1. Open Platform access.
  2. Click Set the access (GitHub or GitLab).
  3. Enter:
    • API base URL (GitHub) or GitLab URL;
    • Repositories: one per line, owner/name or group/project; Fistron reads and writes only these;
    • GitHub: the App ID, optionally the Installation ID, the Private key (the .pem file’s content);
    • GitLab: the Read token and optionally the Write token;
    • for each action, its level: off, propose, decide or merge (admin-repositories.md);
    • optionally, under What Fistron reads from CI, and its limits, the artifacts of your CI runs with test results (JUnit), coverage and the change’s own evidence, and limits on calls, time and sizes; empty fields keep Fistron’s defaults.
  4. Click Save.

The secrets are kept sealed and never shown again. To replace one, click Change and enter the new one; empty keeps the one there is. Remove removes the access with its secrets.

3. Start your organisation’s agent

In the cloud way Fistron runs the agent, on its own host, and you never handle a token:

  1. Open Agents. Under Fistron’s agent for you, click Start Fistron’s agent for us.
  2. The card says where it stands: Asked, then Fistron’s host is installing it. Fistron’s host takes the ask within a few minutes and installs the agent for your organisation alone. You can leave the page: the card says the same when you come back.
  3. When it runs, the card names it, fistron-cloud, and Agents lists it with the state answers. It serves every project. Its work reads the repositories of Platform access with what you set there.

If Fistron’s host could not start it, the card says why: click Try again, or write to support@fistron.io. Cancel the ask stops it before it starts. To stop the agent later, Revoke it on Agents; Start Fistron’s agent for us starts a new one.

Without the card (Fistron starts the agents of your control plane by hand), create a registration token instead, named for example fistron-cloud, with no project ticked (admin-agent.md), and give it to Fistron through the channel agreed with you, never in an issue or a chat. Fistron starts the agent within one working day and tells you; Agents then lists it with the state answers.

4. Create the projects and start

  1. Create a project per repository and give people their roles (Set up your organisation).
  2. In a project, open Work, click Start an operation and run a small one, then schedule the recurring work (Run and schedule work).

Check

Troubleshooting

You see Cause and fix
The work warns that the organisation’s access is not used The agent does not accept it, or the access carries no secret: enter the private key or the read token.
The App has no installation for a repository Install the App on it, or name the Installation ID.
A proposal is refused for a permission The App lacks it (for example Workflows for Fistron’s CI files): add it to the App, or leave the action off.
The URL’s host changed Enter the secrets again: a secret is never sent to a host it was not given for.