Uploaded image for project: 'OpenShift Dev Console'
  1. OpenShift Dev Console
  2. ODC-7188

On importing application via import from git flow pac should be configured for the application

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • Undefined
    • openshift-4.13
    • None
    • UI
    • 5
    • ODC Sprint 228, ODC Sprint 229, ODC Sprint 230

    Description

      Description

      As a user, when importing an application via import from git flow and the git repo already has a pipeline in .tekton directory I want PAC to get automatically configured for my application.

      Acceptance Criteria

      1. When user enters the repo url check for pipeline in .tekton directory of the repo
      2. If a pipeline exists and a repository CR is already available for the repo show a message to the user and disable the create button
      3. If a pipeline exists and a repository CR is not available for the repo update the import strategy
      4. Add the configuration options of the Add git repo form to import from git form under the import strategy section
      5. If a github app is already configured for the cluster show both `Use github app` and `Setup a webhook` options and if not then show only `Setup a webhook` option
      6. Hide application field from general section
      7. Hide resources section
      8. Hide pipelines section
      9. Hide advanced options
      10. When user clicks on create, create repo CR and navigate the user to the repo details page
      11. This feature should only be available when Pipelines operator is installed and PAC is enabled

      Additional Details:

      Miro - https://miro.com/app/board/uXjVOoSAPbA=/?moveToWidget=3458764537704937720&cot=14

      Exploration is not yet complete.

      UX is not yet decided.

      This might be a separate form and we might need to add a new card on the add page ?

      Attachments

        Activity

          People

            avik6028 Avik Kundu
            divgupta Divyanshi Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: