-
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
Remove remaining checked-in binaries (ZIPs, JARs) used in CI/CD #1750
Comments
As of 1.3, a quick search in plugins.
|
@dblock I was trying to figure out how to take dependencies from https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/plugin/. (Specifically for "lang-painless" module). However, one issue is that the plugins do not have "plugin-descriptor.properties" leading to clis to fail
Do you know why they do not contain those? |
@jmazanec15 No idea, I would open an issue to track in the repo that contains that code |
@dblock For backwards compatibility tests, I think we are blocked by #716. We need to be able to install the old plugins on the integ test cluster to run bwc. To do that, we need to retrieve the zip from somewhere. Correct me if I am wrong, but I dont think there is anywhere to get these zips directly. |
Is there such a thing for modules? In the distribution (e.g. 1.3.0) we include this:
|
@dblock Sorry, for this I was talking about the knn plugin zip versions, not painless. For BWC, we use ARCHIVE distributions, which come with the lang-painless module installed (but don't work on Mac). For the plugin bwc, we pass the location of the zip to get installed on the test cluster. In order to remove those checked in artifacts, we need the ability to fetch, say opensearch-knn-1.3.0.zip. I guess we could get the release distribution tar and extract the plugin from that and either zip it or do some copy and paste in a gradle task, but I think it would be easier and less error prone to be able to grab the plugin zip from somewhere and install it on the cluster and avoid that gradle logic. |
I think we're conflating two asks: one is to publish to maven, the other is to publish ZIPs at all. We already publish "native" plugins, so maybe we should just do that for all the other ones? I opened #1823 where we could probably easily modify https://github.com/opensearch-project/opensearch-build/blob/main/vars/promoteArtifacts.groovy#L61 to accomplish what you want. I also included the current alternatives. For existing releases I think you could go with the "latest" approach? |
@dblock I think for existing releases a hardcode of the build number thats used for release for that release would be even better. Ill try to get that working. |
The only drawback is that those aren't "official" aka signed bits, but practically I think that doesn't make a difference. |
@davidlago @praveensameneni Can you please provide an ETA to close out this campaign? |
Closing this issue as all the plugins have removed the checked-in binaries. Feel free to re-open if needed. |
Is your feature request related to a problem? Please describe
Because of lack of maven, support for "latest" URIs, or for need of quickly replacing third-party dependencies, projects have checked in ZIPs and sometimes JARs that are either used in CI/CD or occasionally released with the product.
Describe the solution you'd like
Replace any checked-in ZIPs or JARs with dynamic dependencies obtained from reliable sources.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: