Prepare for Y ReleasePrepare for Z ReleaseRemove QuarterXMLWordPrintable

    • [Doc] Bulk import from Git
    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • To Do
    • RHIDP-834 - Increase RHDH adoption with bulk import
    • QE Needed, Docs Needed, TE Needed, Customer Facing, PX Needed
    • 0% To Do, 0% In Progress, 100% Done
    • Release Note Not Required
    • RHDH Docs Team 3261

      General Flow 

      • Prompt user for an organization or user (support for multiple can be added in the future)
        • List all repositories in the given organization or user that the github apps have access to.
        • Allow the user to select a subset of the repositories
      • Generate a catalog-info.yaml for each repository based on provided information and open a PR to add it into the repository
        • We will want the admin user to be able to customize this catalog-info.yaml with things like annotations, owners, etc.
        • We should have a default catalog-info.yaml if no additional configurations were provided
        • A dryrun catalog ingestion should occur to determine if any entity name collisions occur.
          • Import shouldn't fail, so something like a -(number) may need to be appended to the end of the entity name to ensure uniqueness
          • Sanitation of inputs will also be required to follow the backstage naming schemas
      • Initial implementation won't do tracking of import status (ex: Waiting for PR Approval) and will operate on a Fire and Forget basis
        • We will still want to track whether the PR was created properly and if the generated catalog-info.yaml was valid and track those failures if they occur

              ffloreth@redhat.com Fabrice Flore-Thébault
              tkral@redhat.com Tomas Kral
              RHIDP - Documentation
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: