Merge Request Preview Environments

Applies to: FlexLab

Overview

Merge Request Preview Environments (MRE) spin up temporary environments for GitLab merge requests.

Prerequisites

  • FlexLab project with MRE enabled in platform settings / template.
  • GitLab merge request workflow configured in .gitlab-ci.yml.

Steps

  1. Push a branch and open a merge request in GitLab.
  2. Pipeline creates a preview environment job.
  3. Find preview URL in MR comment, GitLab environment page, or FlexSite Environments list (temporary card).
  4. Test changes on the preview hostname.
  5. Merge or close MR; preview environment is torn down automatically.

Credits

Preview environments consume credits while active. Close stale MRs to avoid waste.

Not available on Codeless or Atom tiers.