Skip to content

GitLab Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
GitLab Chart
GitLab Chart
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 471
    • Issues 471
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 31
    • Merge Requests 31
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GitLab.org
  • charts
  • GitLab ChartGitLab Chart
  • Merge Requests
  • !1336

Merged
Opened May 13, 2020 by Mitchell Nielsen@mnielsenDeveloper

CI: Set a 4-day timer to auto stop review apps in GKE and EKS

  • Overview 3
  • Commits 1
  • Pipelines 1
  • Changes 1

Closes #2075 (closed)

Uses auto_stop_in to automatically stop review app environments after a given amount of time (in the case of this MR, 4 days).

Documentation on the feature is here: https://docs.gitlab.com/ee/ci/environments.html#environments-auto-stop

One important note from the documentation link is that the timer resets on each new commit. That way, actively developed MRs won't see their review apps taken down until 4 days of no pushed commits.

NOTE: As far as I can tell, this won't affect pre-existing environments. So we'll need to manually clean out any environments created prior to this change, and the rest will respect the auto-shutdown rule.

Screenshot from the environments page:

image

Edited May 14, 2020 by Mitchell Nielsen
Assignee
Assign to
Reviewer
Request review from
13.0
Milestone
13.0 (Past due)
Assign milestone
Time tracking
Reference: gitlab-org/charts/gitlab!1336
Source branch: set-review-apps-auto-stop-timer

Revert this merge request

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.