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

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

XMLWordPrintable

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

      None

      Show
      None
    • Hide
      * Previously, after installing the Pipelines Operator, users could still create the Deployment before the Pipeline template became available. With this update, the *Create* button on the *Import from Git* page is disabled if a pipeline template is unavailable for the selected resource. (link:https://issues.redhat.com/browse/OCPBUGS-37353[*OCPBUGS-37353*])
      -------
      After installing the Pipelines operator, it will make sometime for Pipeline templates to be available in the cluster, but users were able to create the Deployment. With this change, create button in the Import from Git page will be disabled if there is no pipeline template present for the resource selected.
      Show
      * Previously, after installing the Pipelines Operator, users could still create the Deployment before the Pipeline template became available. With this update, the *Create* button on the *Import from Git* page is disabled if a pipeline template is unavailable for the selected resource. (link: https://issues.redhat.com/browse/OCPBUGS-37353 [* OCPBUGS-37353 *]) ------- After installing the Pipelines operator, it will make sometime for Pipeline templates to be available in the cluster, but users were able to create the Deployment. With this change, create button in the Import from Git page will be disabled if there is no pipeline template present for the resource selected.

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

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

      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:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: