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

Move to a dynamic pipelines plugin Phase 2: Migrate all List and Detail pages

XMLWordPrintable

    • Dynamic plugin migration from static plugin for listing pages in pipelines
    • False
    • None
    • False
    • Green
    • To Do
    • OCPSTRAT-1019 - Improve capabilities in Pipelines Dynamic Plugin and Static pages
    • 0
    • OCPSTRAT-1019Improve capabilities in Pipelines Dynamic Plugin and Static pages
    • 0% To Do, 0% In Progress, 100% Done
    • L
    • Not Supported

      Problem:

      With the OpenShift Pipelines operator 1.2x we added support for a dynamic console plugin to the operator. In the first version it is only responsible for the Dashboard and Pipeline/Repository Metrics tab. We want move more and more code to the dynamic plugin and remove this later from the console repository.

      Goal:

      Non-goal

      • We don't plan to change the "Import from Git" flow as part of this Epic.
      • We don't want remove the code from the console repository yet. => We don't do this yet so that the console still supports the Pipeline feature with an older Pipelines Operator (that doesn't have the Pipeline Plugin).

      Why is it important?

      • We want to migrate to dynamic plugins so that it's easier to align changes in the console with changes in the operator.
      • In the mid-term this will also reduce the code size and build times of the console project.

      Acceptance criteria:

      • The console support for Pipelines (Tekton resources) should still work without and with the new dynamic Pipelines Plugin
      • The following detail pages should be copied* to the dynamic plugin
        1. Pipeline detail page (support for v1beta1 and v1)
        2. PipelineRun detail page (support for v1beta1 and v1)
        3. ClusterTask detail page (support for v1beta1 and v1)
        4. Task detail page (support for v1beta1 and v1)
        5. TaskRun detail page (support for v1beta1 and v1)
        6. EventListener (support only v1alpha1 in the static plugin, should support v1beta1 in the dynamic plugin as well)
        7. ClusterTriggerBinding (support only v1alpha1 in the static plugin, should support v1beta1 in the dynamic plugin as well)
        8. TriggerBinding (support only v1alpha1 in the static plugin, should support v1beta1 in the dynamic plugin as well)
      • The following list pages should be copied to the dynamic plugin:
        1. Pipeline
        2. PipelineRun
        3. ClusterTask
        4. Task
        5. TaskRun
      • We don't want to copy these deprecated resources:
        1. PipelineResource
        2. Condition
      • E2e tests for all list pages should run on the new dynamic pipeline plugin

      Dependencies (External/Internal):

      • Changes will happen in the new dynamic pipeline-plugin github.com/openshift-pipelines/console-plugin, but we don't see any external dependencies

      Design Artifacts:

      Exploration:

      Note:

              viraj-1 Vikram Raj
              rh-ee-ksaha Koustav Saha
              Vikram Raj Vikram Raj
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: