-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Feature] Publish ARCHIVE test distribution to Maven Local #3637
Comments
@navneet1v INTEG_TEST distribution does not have modules installed. |
Hi @saratvemulapalli
|
@navneet1v are you specifically looking to export this to Maven local ? |
@saratvemulapalli Is there a way I can publish my build to some remote artifact and pick it up from there by using |
@navneet1v Thanks a lot for that information. Couple of ideas:
What do you think? |
Hi @saratvemulapalli |
@navneet1v you should be able to build your own tarball using |
After discussing with @saratvemulapalli I was able to get an alternative way in which I can create the local TAR for the opensearch code. The idea was to use the commands provided here: https://github.com/opensearch-project/OpenSearch/blob/main/DEVELOPER_GUIDE.md#build to generate the tar for the specific platform. Once this is generated It can be easily accessed on this path: Thanks @saratvemulapalli for providing me details around how I can access the tar.gz Please feel free to resolve this issue. With the above solution we don't need mavenlocal, but it will be good to have as first thing a developer look is the maven local for the artifacts created locally. |
Feel free to reopen this. |
Describe the bug
mavenLocalPublish Zip of OpenSearch Core repo doesn't contain the core plugins(geo) present in the repo. This is leading to the failure of integration test on all the platforms(macOs, AmazonLinux2 etc).
To Reproduce
Steps to reproduce the behavior:
./gradlew publishToMavenLocal -Dbuild.version_qualifier=beta1 -Dbuild.snapshot=false
~/.m2/repository/org/opensearch/distribution/integ-test-zip/opensearch/3.0.0-beta1/
https://github.com/navneet1v/geospatial/tree/mavenLocalTesting
./gradlew integTest -PcustomDistributionUrl="/Users/navneev/.m2/repository/org/opensearch/distribution/integ-test-zip/opensearch/3.0.0-beta1/opensearch-3.0.0-beta1.zip"
Expected behavior
The expectation is the integ Test should succeed.
Plugins
None
Host/Environment (please complete the following information):
Impact
This is impacting the ability to run the Integration test with the custom version of OpenSearch when as a developer you need to make changes in both the repos at same time.
The text was updated successfully, but these errors were encountered: