-
Epic
-
Resolution: Done
-
Critical
-
None
-
None
-
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:
- In this 2nd phase, we want to move all "easy movable" components from the Dev Console static pipeline-plugin https://github.com/openshift/console/tree/master/frontend/packages/pipelines-plugin into the new dynamic pipeline-plugin github.com/openshift-pipelines/console-plugin
- While moving the Resources, we should check if we can cleanup and simply the code. For example by using new features like the option to extend the detail pages with the "console.resource/details-item" extension. See https://github.com/openshift/console/blob/master/frontend/packages/console-dynamic-plugin-sdk/docs/console-extensions.md#consoleresourcedetails-item
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
- Pipeline detail page (support for v1beta1 and v1)
- PipelineRun detail page (support for v1beta1 and v1)
- ClusterTask detail page (support for v1beta1 and v1)
- Task detail page (support for v1beta1 and v1)
- TaskRun detail page (support for v1beta1 and v1)
- EventListener (support only v1alpha1 in the static plugin, should support v1beta1 in the dynamic plugin as well)
- ClusterTriggerBinding (support only v1alpha1 in the static plugin, should support v1beta1 in the dynamic plugin as well)
- 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:
- Pipeline
- PipelineRun
- ClusterTask
- Task
- TaskRun
- We don't want to copy these deprecated resources:
- PipelineResource
- 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:
- is depended on by
-
ODC-7444 Improve experience for security and policy reporting
- In Progress