console icon indicating copy to clipboard operation
console copied to clipboard

Migrates StorageClass Provisioner to dynamic-plugin-sdk

Open bipuladh opened this issue 3 years ago • 4 comments

  • Introduces a new Extension Point console.storage-class/provisioner.
  • Moves all the default provisioners to console-app and injects it via extension point.
  • Refactors storage-class-form.tsx and remove usage of static extension points.
  • Removes StorageClass/Provisioner static extension point and all it's usage.
  • Migrate ODF usage of extension from static to dynamic paradigm.

Recording:

https://user-images.githubusercontent.com/54092533/182795207-e3991ed7-1e73-49c4-825b-bb326af36724.mp4

Created as https://github.com/openshift/console/pull/8345 could not be reopened.

bipuladh avatar Aug 04 '22 05:08 bipuladh

/assign @christianvogt @vojtechszocs @spadgett

bipuladh avatar Aug 04 '22 07:08 bipuladh

/test ceph-storage-plugin

bipuladh avatar Aug 11 '22 11:08 bipuladh

@spadgett there are unit tests associated with it and an example extension is being pushed in there. Would it suffice or should we go for e2e tests as well? (Also our CI runs on GCP and we mostly work on AWS)

bipuladh avatar Aug 23 '22 12:08 bipuladh

@spadgett there are unit tests associated with it and an example extension is being pushed in there. Would it suffice or should we go for e2e tests as well? (Also our CI runs on GCP and we mostly work on AWS)

I was thinking more about testing the storage class creation form for each provider. There are so many it would be easy to regress.

spadgett avatar Aug 23 '22 16:08 spadgett

/retest

e2e tests timed out

TheRealJon avatar Aug 23 '22 17:08 TheRealJon

@spadgett Tests added Screenshot from 2022-08-24 19-18-01

bipuladh avatar Aug 24 '22 14:08 bipuladh

/retest

bipuladh avatar Aug 24 '22 16:08 bipuladh

/retest

bipuladh avatar Aug 25 '22 05:08 bipuladh

/retest

bipuladh avatar Aug 26 '22 07:08 bipuladh

/test ceph-storage-plugin

bipuladh avatar Aug 26 '22 11:08 bipuladh

/label qe-approved

nehaberry avatar Aug 29 '22 09:08 nehaberry

Thanks @bipuladh for the details and the recording. QE ack added

nehaberry avatar Aug 29 '22 09:08 nehaberry

/retest

bipuladh avatar Aug 29 '22 11:08 bipuladh

/test ceph-storage-plugin

bipuladh avatar Aug 29 '22 12:08 bipuladh

Thank you for providing the video snippet, this is a great help in px review.

RickJWagner avatar Aug 29 '22 12:08 RickJWagner

/label px-approved

RickJWagner avatar Aug 29 '22 12:08 RickJWagner

/label docs-approved

opayne1 avatar Aug 29 '22 13:08 opayne1

/test ceph-storage-plugin

bipuladh avatar Aug 29 '22 14:08 bipuladh

/lgtm

SanjalKatiyar avatar Aug 29 '22 15:08 SanjalKatiyar

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bipuladh, SanjalKatiyar, spadgett

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

openshift-ci[bot] avatar Aug 29 '22 15:08 openshift-ci[bot]

/retest-required

Remaining retests: 2 against base HEAD d797904316ca184ef914d260fe18d3f9e55c790d and 8 for PR HEAD 9406d4814c039b70c3f17e1fd180c23a748a2c55 in total

openshift-ci-robot avatar Aug 29 '22 16:08 openshift-ci-robot

/retest-required

Remaining retests: 1 against base HEAD d797904316ca184ef914d260fe18d3f9e55c790d and 7 for PR HEAD 9406d4814c039b70c3f17e1fd180c23a748a2c55 in total

openshift-ci-robot avatar Aug 29 '22 18:08 openshift-ci-robot

/retest-required

Remaining retests: 0 against base HEAD d797904316ca184ef914d260fe18d3f9e55c790d and 6 for PR HEAD 9406d4814c039b70c3f17e1fd180c23a748a2c55 in total

openshift-ci-robot avatar Aug 29 '22 19:08 openshift-ci-robot

/retest-required

Remaining retests: 2 against base HEAD a7ec144a316e06dbbfab0bf6596fa86cea9e5dc0 and 5 for PR HEAD 9406d4814c039b70c3f17e1fd180c23a748a2c55 in total

openshift-ci-robot avatar Aug 29 '22 20:08 openshift-ci-robot

/retest-required

Remaining retests: 2 against base HEAD a10ddfcfffaaf2f5f43e90e68f2d0482543dcfec and 4 for PR HEAD 9406d4814c039b70c3f17e1fd180c23a748a2c55 in total

openshift-ci-robot avatar Aug 30 '22 03:08 openshift-ci-robot

/retest-required

Remaining retests: 1 against base HEAD a10ddfcfffaaf2f5f43e90e68f2d0482543dcfec and 3 for PR HEAD 9406d4814c039b70c3f17e1fd180c23a748a2c55 in total

openshift-ci-robot avatar Aug 30 '22 04:08 openshift-ci-robot

/test ceph-storage-plugin

bipuladh avatar Aug 30 '22 05:08 bipuladh

/test ceph-storage-plugin

bipuladh avatar Aug 30 '22 05:08 bipuladh

/test ceph-storage-plugin

bipuladh avatar Aug 30 '22 05:08 bipuladh

/test ceph-storage-plugin

bipuladh avatar Aug 30 '22 05:08 bipuladh