Bitrise
Tuist trusts every Bitrise build: builds share your account's cache and can write to it. Don't pair a pool whose workflows build pull requests from forks of a public repository.
Tuist serves your Bitrise workspace's self-hosted runner pools. A build that selects one of those pools runs on a Tuist machine of the profile you pair with the pool. Your workflows, triggers, and logs stay on Bitrise; only the machines change.
-
Connect your workspace. In Bitrise, open Workspace settings → Security → Workspace API tokens and create a token with the Viewer workspace role and Tester/QA access to Bitrise CI for all projects. In your Tuist dashboard, go to Settings → Integrations, choose Connect on the Bitrise card, and paste the token. Tuist reads the workspace from the token, stores the token encrypted, and never shows it again.
-
Create a runner pool. In Bitrise, open Workspace settings → Infrastructure, choose Add Runner pool, and name it after the machine it stands for, for example
tuist-macos. Copy the pool token: Bitrise shows it only once. -
Pair the pool with a Tuist profile. On the Bitrise card in Tuist, under Runner pools, choose the pool, the Tuist profile its builds should run on, paste the pool token, and choose Add pool. Every enabled account starts with two profiles,
tuist-linuxandtuist-macos. Add one pool per profile you want to use. -
Select the pool in your workflow. In Bitrise's Workflow Editor, open Stacks & Machines and choose Self-Hosted Runner: tuist-macos. In
bitrise.yml, set the pool's stack, which Tuist shows under the pool's name:meta: bitrise.io: stack: agent-pool-a0c641c0-142f-427d-a326-07f0f6c2a1beyamlmeta:bitrise.io:stack: agent-pool-a0c641c0-142f-427d-a326-07f0f6c2a1be -
Run a build. Within a few seconds, a Tuist machine connects to the pool, takes the build, and disconnects when it finishes. The build appears in the Runners section of your Tuist dashboard with its machine metrics and a link back to Bitrise, where its logs stay.
Dedicated pools#
Use the pools you pair with Tuist only for Tuist. If one of your own machines also connects to a paired pool, it competes with Tuist for that pool's builds.
Runner limit#
Each Tuist machine counts as one Bitrise runner while it runs a build, and stops counting when it disconnects. Your Bitrise plan's runner limit therefore caps how many of your builds run on Tuist at the same time, alongside your Tuist concurrency limit.
Disconnecting#
Removing a pool from the Bitrise card stops Tuist from taking that pool's builds. Builds already running are unaffected.
Choosing Disconnect on the Bitrise card removes the workspace and all its pools.