-
Notifications
You must be signed in to change notification settings - Fork 19
OU-666: fix overriding webpack compilation results #259
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
OU-666: fix overriding webpack compilation results #259
Conversation
@PeterYurkovich: This pull request references OU-666 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.19.0" version, but no target version was set. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
@PeterYurkovich: This pull request references OU-666 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.19.0" version, but no target version was set. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jgbernalp, PeterYurkovich 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 |
/cherry-pick release-6.1 |
@PeterYurkovich: once the present PR merges, I will cherry-pick it on top of In response to this:
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. |
manual / exploratory testing performed: |
/unhold |
/label ux-approved |
@jgbernalp: The label(s) In response to this:
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. |
@PeterYurkovich: This pull request references OU-666 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.19.0" version, but no target version was set. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
/label ux-approved |
@jgbernalp: The label(s) In response to this:
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. |
@PeterYurkovich: all tests passed! Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
@PeterYurkovich: new pull request created: #261 In response to this:
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. |
When building a plugin, webpack will typically chose to name the javascript entry file as
plugin-entry.min.js
, however it is valid under our build configurations for it to create a plugin entry file with any name, such asplugin-entry.656f1eb7b0b32d1aa0fa.min.js
.When webpack creates a plugin entry file with a different name, it will append the following information into the
plugin-manifest.json
file that it generates:In order to inject the appropriate extension points while having the
console-extensions.json
file keep all of the extension points for simple development, a separate hardcodedplugin-manifest.json
file is used as the base to add the extensions onto.However, this will then lose the information created by the webpack build in the generated
plugin-manifest.json
leading to the plugin being unable to load it's entrypoint and failing to load.This PR looks to update the updating of the
plugin-manifest.json
file to instead use the generated file as the base, then performing aclear-extensions.patch.json
action (similar to the monitoring-plugin) which injects the default extension points and allows for the remaining features to inject their extension points on top of it.