Uploaded image for project: 'Cluster Integration and Delivery'
  1. Cluster Integration and Delivery
  2. CLID-330

oc-mirror v2 integration tests

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • oc-mirror
    • integration-tests
    • Quality / Stability / Reliability
    • OCPSTRAT-2190oc-mirror v2 integration tests
    • 0% To Do, 0% In Progress, 100% Done
    • False
    • Hide

      None

      Show
      None
    • False
    • None

      Overview

      Currently oc-mirror v2 has no integration tests enabled.

      The introduction of integration tests would allow for a more comprehensive testing of the fetaures oc-mirror offers. i.e (this is not exhaustive)

      • mirror-to-disk
      • disk-to-mirror
      • mirror-to-mirror
      • delete

      These tests would reside in an separate repository from oc-mirror and could be triggered to execute from any CICD pipeline (i.e PROW, Konflux, custom) etc.

      The thinking here is once we submit a PR (over and above the unit tests that we have for v2) , we execute these integration tests that will execute these flows and validate the relevant artifacts.

      The main goal is to improve overall quality and also as developers allow for a better confidence level in oc-mirror

      This testing is not meant to replace QE's full regression testing for all feature flags and edge cases.

       

      Acceptance Criteria

      • Well documented testing matrix
      • All flows are tested
      • Validate artifacts 
        • tar file
        • cluster-resources
        • mapping file
        • output logs and error logs
        • exit codes
        • expected images on remote registry (i.e via curl)
      • Integration into PROW
      • Integration into Konflux

              Unassigned Unassigned
              luzuccar@redhat.com Luigi Mario Zuccarelli
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: