Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-8877

QE - [1.19.x] Pipeline builder UI fails to save buildah task with default BUILD_ARGS parameter

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Bug Fix

      Description of problem:

      Pipeline builder UI fails to save buildah task with default BUILD_ARGS parameter

      Workaround:

      This issue can be worked around via removing the element, making the value an empty array - but the UI does not indicate that this needs to be done.

      Prerequisites (if any, like setup, operators/versions):

      OpenShift Pipelines operator

      Steps to Reproduce

      1. Navigate to the OpenShift Pipelines Operator pipeline builder in the OpenShift console.
      2. Add the buildah task to a new pipeline.
      3. Observe the BUILD_ARGS parameter in the side panel. Note that its default value is [""] (a single element with an empty string).
      4. Do not modify this parameter.
      5. Attempt to save the pipeline by clicking the "Create" button.

       

      Actual Results:

      The UI displays a validation error and prevents the pipeline from being saved.

      Expected results:

      The pipeline should be created successfully, as the buildah task can run without issue with the default [""] value for the BUILD_ARGS parameter.

      Reproducibility (Always/Intermittent/Only Once):

      Always

              Unassigned Unassigned
              rhn-support-disharma Diksha Sharma
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:

                  Estimated:
                  Original Estimate - 3 days
                  3d
                  Remaining:
                  Remaining Estimate - 3 days
                  3d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified