Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
GitLab
GitLab
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 22,121
    • Issues 22,121
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 620
    • Merge Requests 620
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Security & Compliance
    • Security & Compliance
    • Dependency List
  • Packages
    • Packages
    • Container Registry
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GitLab.org
  • GitLabGitLab
  • Issues
  • #3586

Closed
Open
Opened Sep 28, 2017 by Mark Pundsack@markpundsack
  • Report abuse
  • New issue
Report abuse New issue

Disable Auto DevOps jobs with variables

Description

Auto DevOps provides a wide range of features that can be very useful to your pipeline:

  • Unit testing
  • Code Quality
  • Security
    • SAST
    • Dependency Scanning
    • Container Scanning
    • DAST
  • Review Apps
  • Performances monitoring

This is great, but sometimes your application just doesn't fit with some of them, or you don't want to execute some of them. It should be possible to disable jobs based on environment variables.

Proposal

For each of the feature jobs available in the Auto DevOps template, support the use of a variable to disable it using the except clause.

Variables names can be TEST_DISABLED, CODEQUALITY_DISABLED, etc.

Edited Apr 24, 2018 by Fabio Busatto

Related issues

  • Discussion
  • Designs
Assignee
Assign to
11.0
Milestone
11.0
Assign milestone
Time tracking
None
Due date
None
9
Labels
CI/CD [DEPRECATED] Deliverable Enterprise Edition application control panel auto devops devops devops::configure direction feature
Assign labels
  • View project labels
Reference: gitlab-org/gitlab#3586