Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-34142

Import from Git allow users to import an app with Build option Pipeline also when no Pipeline is available

XMLWordPrintable

    • Low
    • No
    • ODC Sprint 3257
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, after installing the Pipelines Operator, Pipeline templates took some time to become available in the cluster, but users were still able to create the Deployment. With this update, the *Create* button on the *Import from Git* page is be disabled if there is no pipeline template present for the resource selected. (link:https://issues.redhat.com/browse/OCPBUGS-34142[*OCPBUGS-34142*])
      Show
      * Previously, after installing the Pipelines Operator, Pipeline templates took some time to become available in the cluster, but users were still able to create the Deployment. With this update, the *Create* button on the *Import from Git* page is be disabled if there is no pipeline template present for the resource selected. (link: https://issues.redhat.com/browse/OCPBUGS-34142 [* OCPBUGS-34142 *])
    • Bug Fix
    • Done

      This is a clone of issue OCPBUGS-32476. The following is the description of the original issue:

      Description of problem:
      After installing the Pipelines Operator on a local cluster (OpenShift local), the Pipelines features was shown the Console.

      But when selecting the Build option "Pipelines" a warning was shown:

      The pipeline template for Dockerfiles is not available at this time.
      

      Anyway it was possible to push the Create button and create a Deployment. But because there is no build process created, it couldn't successful start.

      After ~20 min after the Pipeline operator says that it was successfully installed, the Pipeline templates in the openshift-pipelines namespaces appear, and I could create valid Deployment.

      Version-Release number of selected component (if applicable):

      1. OpenShift cluster 4.14.7
      2. Pipelines operator 1.14.3

      How reproducible:
      Sometimes, maybe depending on the internet connection speed.

      Steps to Reproduce:

      1. Install OpenShift Local
      2. Install Pipelines Opeartor
      3. Import from Git and select Pipeline as option

      Actual results:

      1. Error message was shown: The pipeline template for Dockerfiles is not available at this time.
      2. The user can create the Deployment anyway.

      Expected results:

      1. The error message is fine.
      2. But as long as the error message is shown I would expect that the user can not click on Create.

      Additional info:

            rh-ee-lprabhu Lokananda Prabhu
            openshift-crt-jira-prow OpenShift Prow Bot
            Sanket Pathak Sanket Pathak
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: