What Forge is
You give Forge a run spec: an image, the commands to run in it, the environment, the secrets it needs and how much CPU and memory it may use. Forge finds a runner that fits, starts the run there, streams its output back to you and keeps its logs, artifacts and exit code afterwards.
What you can do with it
- Build and test code. Link a GitHub, GitLab, Gitea, Forgejo or Bitbucket repository, and Forge starts runs when you push or open a merge request, reporting the result back on the commit.
- Run pipelines. A flow is stages of steps in a YAML file: tests in parallel, then a build, then a deploy that waits for an approval.
- Run jobs on a timetable. A schedule starts a saved run every night, every hour or every fifteen minutes.
- Deploy. Environments with protection rules decide who may deploy where, and keep the history of what went out.
- Start runs from your own tools. Everything in the console is in the API and most of it in
the
forgecommand line.
Where runs happen
Runs happen on runners. You can use the shared runners that the platform runs, priced by their class, or join your own machines: a server under your desk, a VM in your cloud, or machines Forge starts and stops for you as runs wait.
Every run is isolated from the others: its own container (or its own virtual machine), its own network, and only the secrets it was given.
What it keeps
Forge keeps every run's spec, state changes, output, artifacts and resource use, so you can see what happened, start it again, or open a shell in a failed run to look around. Old runs are removed after your organization's retention period unless you keep them.