What are review apps and how are they implemented?

IntermediateConceptGitLab CI
Answer

A review app is a temporary environment deployed per merge request so reviewers can click through the change. You deploy to a dynamic environment name and define a stop job that runs when the MR closes or the branch is deleted.

review:
  stage: deploy
  script: ./deploy-review.sh $CI_COMMIT_REF_SLUG
  environment:
    name: review/$CI_COMMIT_REF_SLUG
    url: https://$CI_COMMIT_REF_SLUG.review.example.com
    on_stop: stop-review
  rules: [{ if: $CI_PIPELINE_SOURCE == "merge_request_event" }]
stop-review:
  stage: deploy
  script: ./teardown-review.sh $CI_COMMIT_REF_SLUG
  environment: { name: review/$CI_COMMIT_REF_SLUG, action: stop }
  when: manual
All CI/CD questions Roadmap: GitLab CI/CD

More on GitLab CI