Skip to content

Lifecycle (repository settings)

Open the repository → Settings → Lifecycle.

How long new environments live, and when existing ones rebuild.

Default TTL

Time after which a new environment from this repo is automatically deleted, counted from creation. Use the day / week / month presets or a custom value.

Default TTL applies at create time. Per-environment TTL can be changed later — see Environment TTL.

Concept: Time to life.

Scheduled rebuild

Rebuild environments on a daily schedule. Modes:

  • Disabled — no scheduled rebuild
  • Reusables — rebuild environments that generated a reusable
  • Reusing — rebuild environments that are currently reusing a reusable
  • All — rebuild every created/built environment on this repo

Details: Scheduled rebuilds.

Rebuild triggers

For GitLab, GitHub, Azure DevOps, and Bitbucket, turn Branch, Tag, and PR/MR triggers on or off.

  • Branch and Tag: a push rebuilds the environment only if it has been built before.
  • PR/MR: every update builds its environment, even one that was never built.
  • Patterns: included and excluded patterns limit which branches trigger. Separate several with commas and no spaces (release/*,hotfix/*), and use * as a wildcard (feature/*). A branch that matches both is excluded.

A build in progress is restarted, and locked services are not updated. See Trigger logic.