Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(homepage): migrate from internal dynamic-home-page to rhdh plugin #1944

Conversation

christoph-jerolimov
Copy link
Member

@christoph-jerolimov christoph-jerolimov commented Nov 18, 2024

Description

Use moved plugin from https://github.com/redhat-developer/rhdh-plugins/tree/main/workspaces/homepage/plugins/dynamic-home-page

Which issue(s) does this PR fix

PR acceptance criteria

Please make sure that the following steps are complete:

  • GitHub Actions are completed and successful
  • Unit Tests are updated and passing
  • E2E Tests are updated and passing
  • Documentation is updated if necessary (requirement for new features)
  • Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

Copy link

openshift-ci bot commented Nov 18, 2024

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

Copy link
Contributor

@christoph-jerolimov christoph-jerolimov force-pushed the use-rhdh-plugin-dynamic-home-page branch 4 times, most recently from c2b1cd0 to adca658 Compare November 18, 2024 15:54
Copy link
Contributor

@christoph-jerolimov christoph-jerolimov force-pushed the use-rhdh-plugin-dynamic-home-page branch from adca658 to 73cceb3 Compare November 19, 2024 10:39
@christoph-jerolimov christoph-jerolimov force-pushed the use-rhdh-plugin-dynamic-home-page branch from 73cceb3 to 4f818fa Compare November 19, 2024 17:20
@christoph-jerolimov christoph-jerolimov changed the title [WIP] refactor(homepage): migrate from internal dynamic-home-page to rhdh plugin refactor(homepage): migrate from internal dynamic-home-page to rhdh plugin Nov 19, 2024
@christoph-jerolimov
Copy link
Member Author

/cc @ciiay
/assign

@openshift-ci openshift-ci bot requested a review from ciiay November 19, 2024 17:21
@christoph-jerolimov christoph-jerolimov marked this pull request as ready for review November 19, 2024 17:27
@christoph-jerolimov christoph-jerolimov requested a review from a team as a code owner November 19, 2024 17:27
@openshift-ci openshift-ci bot requested review from dzemanov and nilgaar November 19, 2024 17:28
@christoph-jerolimov christoph-jerolimov force-pushed the use-rhdh-plugin-dynamic-home-page branch from 4f818fa to c6e316b Compare November 19, 2024 17:30
Copy link
Contributor

@christoph-jerolimov
Copy link
Member Author

/retest

Copy link
Member

@ciiay ciiay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

I didn't try all the homepage setting variations, but I did verify that the dynamic-home-page plugin works from the new rhdh-plugins package using the PR image on a OCP v4.15 cluster.
image

image

@christoph-jerolimov
Copy link
Member Author

/retest

@subhashkhileri
Copy link
Member

/test e2e-tests

@christoph-jerolimov
Copy link
Member Author

/retest

Copy link
Contributor

@ciiay
Copy link
Member

ciiay commented Nov 20, 2024

/test e2e-tests

@christoph-jerolimov
Copy link
Member Author

/retest

1 similar comment
@christoph-jerolimov
Copy link
Member Author

/retest

@christoph-jerolimov christoph-jerolimov force-pushed the use-rhdh-plugin-dynamic-home-page branch from 6dd6cfe to 7e9d91a Compare November 20, 2024 22:50
@openshift-ci openshift-ci bot removed the lgtm label Nov 20, 2024
Copy link
Contributor

@christoph-jerolimov
Copy link
Member Author

/retest

Copy link
Contributor

@openshift-ci openshift-ci bot requested a review from invincibleJai November 26, 2024 11:17
@redhat-developer redhat-developer deleted a comment from openshift-ci bot Nov 26, 2024
@invincibleJai
Copy link
Member

/lgtm

Copy link

openshift-ci bot commented Nov 26, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ciiay, gashcrumb, invincibleJai

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:
  • OWNERS [gashcrumb,invincibleJai]

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

@christoph-jerolimov
Copy link
Member Author

christoph-jerolimov commented Nov 26, 2024

Merging this now because home page has currently no e2e tests and we want get this in so that the configuration is aligned with other plugins!

Ticket to create e2e tests for homepage: RHIDP-5061

/override prow/e2e-tests

Copy link

openshift-ci bot commented Nov 26, 2024

@christoph-jerolimov: /override requires failed status contexts, check run or a prowjob name to operate on.
The following unknown contexts/checkruns were given:

  • prow/e2e-tests

Only the following failed contexts/checkruns were expected:

  • Build Image
  • Build with Node.js 20
  • Test with Node.js 20
  • ci/prow/e2e-tests
  • ci/prow/images
  • pull-ci-janus-idp-backstage-showcase-1.2.x-e2e-tests
  • pull-ci-janus-idp-backstage-showcase-1.2.x-images
  • tide

If you are trying to override a checkrun that has a space in it, you must put a double quote on the context.

In response to this:

Merging this now because home page has currently no e2e tests and we want get this in so that the configuration is aligned with other plugins!

Ticket to create e2e tests for homepage: RHIDP-5061

/override prow/e2e-tests

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@christoph-jerolimov christoph-jerolimov merged commit 9fdcab3 into redhat-developer:main Nov 26, 2024
14 checks passed
@christoph-jerolimov christoph-jerolimov deleted the use-rhdh-plugin-dynamic-home-page branch November 26, 2024 11:21
teknaS47 pushed a commit to teknaS47/backstage-showcase that referenced this pull request Nov 28, 2024
…lugin (redhat-developer#1944)

* refactor(homepage): remove internal dynamic-home-page plugin

Signed-off-by: Christoph Jerolimov <[email protected]>

* refactor(homepage): add wrapper for rhdh plugin

Signed-off-by: Christoph Jerolimov <[email protected]>

---------

Signed-off-by: Christoph Jerolimov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants