Skip to content

GitLab Next

    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Menu
    Projects Groups Snippets
  • Get a free trial
  • Sign up
  • Login
  • Sign in / Register
  • GitLab CI Yml - Deprecated GitLab CI Yml - Deprecated
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 24
    • Issues 24
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

GitLab 15.0 is launching on May 22! This version brings many exciting improvements, but also removes deprecated features and introduces breaking changes that may impact your workflow. To see what is being deprecated and removed, please visit Breaking changes in 15.0 and Deprecations.

  • GitLab.org
  • GitLab CI Yml - DeprecatedGitLab CI Yml - Deprecated
  • Merge requests
  • !160
Merged
Created Apr 25, 2018 by Mayra Cabrera@mayra-cabrera⚡Maintainer
  • Review changes

  • Download
  • Email patches
  • Plain diff

Use variables to define deploy policy for staging and production environments

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

What does this MR do?

  • Changes production that is non-manual, to be enabled when $STAGING_ENABLED is not set.

  • Changes staging that is non-manual, to be enabled when $STAGING_ENABLED is set.

  • Add production_manual to be manual, and enabled when $STAGING_ENABLED is set.

Screenshots

When $STAGING_ENABLEDis set

Screen_Shot_2018-05-01_at_11.38.47_AM

When $STAGING_ENABLEDis not set

Screen_Shot_2018-05-01_at_11.34.20_AM

Issues related

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/38549

Edited May 01, 2018 by Mayra Cabrera
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: 38549-variables-to-define-deploy-policy-for-staging-and-production-environments