Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 44,758
    • Issues 44,758
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,331
    • Merge requests 1,331
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #338479
Closed
Open
Issue created Aug 13, 2021 by Max Orefice@morefice2️⃣Developer

Add syntax validation for build with 50 tags to prevent pipeline creation

Release notes

GitLab values efficiency and is prioritizing reliability for GitLab.com in FY22. In 14.3 pipelines with more than 50 tags will not be created. You will receive an error for jobs that exceed 50 tags. For more information see our documentation.

Problem

As brought up by @ayufan it will be almost impossible to find why a build is not picked up by our new queuing system in case it has more than a 50 tags.

50 tags seems to be a reasonable limit as we double checked on production data.

Solution

We should add syntax validation mechanism that will prevent pipeline creation if someone is using a build with more than 50 tags.

  1. Add validation to Gitlab::Ci::Config::Entry::Job
  2. Throw an error if limit is reached
  3. Add specs for it
Edited Aug 20, 2021 by Jackie Porter
Assignee
Assign to
Time tracking