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

Automate periodic execution of repository rule enforcement scripts

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • AIPCC Productization

      Overview

      Automate the execution of repository rule enforcement scripts located in ci-cd/toolbox/scripts/ to run against all managed repositories defined in ci-cd/toolbox/repos.yaml on a regular schedule.

      Current Scripts

      The following scripts need to be automated:

      • check-mr-statuses.sh
      • detect-stuck-statuses-group.sh
      • enable-non-author-approval.py
      • enforce-branch-protection.py
      • fix-stuck-status.sh

      Requirements

      • Set up scheduled CI/CD job to run periodically
      • Target all repositories listed in ci-cd/toolbox/repos.yaml
      • Respect the skip: true flag for repositories shared with other teams
      • Automatically apply rules to newly added repositories matching patterns in repos.yaml
      • Support multi-platform execution (gitlab.com, gitlab.cee.redhat.com, github.com)

      Acceptance Criteria

      • [ ] Scheduled pipeline is configured
      • [ ] All non-skipped repositories in repos.yaml are processed
      • [ ] New repositories added to repos.yaml are automatically included
      • [ ] Execution logs and results are tracked
      • [ ] Failed rule applications are reported

              Unassigned Unassigned
              xdong@redhat.com Xiyang Dong
              Klara's Team
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: