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

As a developer I want to create custom errors on oc-mirror

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • oc / oc-mirror
    • 8
    • False
    • Hide

      None

      Show
      None
    • False
    • OCPSTRAT-1299 - [Tech Preview][Phase2] Enclave Support for oc-mirror
    • ---
    • ---
    • No

      It is required to define when the oc-mirror exits with 0 or non 0 exit code. In order to do that it is required to define custom errors so it is possible to treat them in a different way on the top of the stack.

      For example: if the error is a release error, return a non 0 exit code, if the error is an operator error returns a 0 exit code.

      Also it is important to create a flag in case the customer wants to always ignore the custom errors and have a 0 exit error.

            Unassigned Unassigned
            rh-ee-aguidi Alex Guidi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: