Uploaded image for project: 'AI Platform Core Components'
  1. AI Platform Core Components
  2. AIPCC-7346

Centralized Linters Repository as Quality Gate

XMLWordPrintable

    • Icon: Initiative Initiative
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • AIPCC Productization
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 0% To Do, 100% In Progress, 0% Done

        HIGH-LEVEL IDEA

        Create a centralized linters repository that provides unified code quality standards
        across all AIPCC projects. Projects reference a single source of truth for linting
        configurations via GitLab CI templates, with automatic version updates managed by
        Renovate. Developers run the same linters locally as in CI, ensuring consistent quality
        gates throughout the development lifecycle.

        OBJECTIVES

        1. Consistency: Enforce uniform coding standards across AIPCC repositories
        2. Centralized Management: Single location for linter rules, versions, and configurations
        3. Automated Quality Gates: Block MRs with linting failures in CI/CD pipelines
        4. Automated Updates: Use Renovate to propose linter version updates via MRs
        5. Flexibility: Allow projects to select which linters to run and provide custom
        configurations

        SUCCESS CRITERIA

        - Central linters repository (gitlab.com/redhat/rhel-ai/ci-cd/central-lint) created and
        versioned
        - projects successfully migrated with zero linting violations
        - Local development workflow functional
        - Renovate automatically creating MRs for linter version updates

              xdong@redhat.com Xiyang Dong
              xdong@redhat.com Xiyang Dong
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: