-
Notifications
You must be signed in to change notification settings - Fork 277
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
allow find build script by repo component #2934
allow find build script by repo component #2934
Conversation
Signed-off-by: Junqiu Lei <junqiu@amazon.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is actually needed. We could specify the working directory in the input manifest so the build workflow would know where to find each plugin directory even for a single repo.
e.g.
working_directory: dashboards-reports |
Thanks @zelinh's help, I know the working_directory is work for plugin directory, but not sure for the build script directory, can I know what directory we need put build scripts to for the plugin in the plugin repo? Currently we have custom_import_map, and will release another maps_dashboards plugin at 2.5.0 also under this repo root path. |
We need this, the build script calling is not controlled by working directory as the working directory is just a param to the build script. |
This was merged too fast. In 2.5 we agreed to #2188 whereas all projects that ship multiple plugins from a monorepo are splitting them to avoid this and a series of other problems. Please don't create more nonorepos and revert this change @junqiu-lei. |
Hi @dblock. The reason I merged this change is due to 3.0/2.4.1 would get blocked in maps, and this change does not seems to alter the initial behavior while adding a new way to allow repo owners to customize their scripts. If there is much concern on the approach, I am happy to approve the revert once @junqiu-lei raise it. |
I am generally against hacks that keep "unblocking" us in the last hour before a release, but that said I would feel better if this PR came with required tests and documentation. I've opened #2945, I'd like to ask to quick follow with tests and docs now, and we can defer the reverting of this feature to later. |
Signed-off-by: Junqiu Lei junqiu@amazon.com
Description
At dashboards-maps repo, it has two OSD plugins, raising this PR in order to allow find correct plugin build script.
Issues Resolved
opensearch-project/dashboards-maps#83
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.