opensearch-project / custom-codecs

OpenSearch custom lucene codecs for providing different on-disk index encoding (e.g., compression).
Apache License 2.0
6 stars 14 forks source link

Add local staging maven jars publishing and add custom build.sh #27

Closed peterzhuamazon closed 10 months ago

peterzhuamazon commented 10 months ago

Description

Add local staging maven jars publishing and add custom build.sh

Issues Resolved

https://github.com/opensearch-project/opensearch-build/issues/3743 https://github.com/opensearch-project/opensearch-build/issues/3971

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.

peterzhuamazon commented 10 months ago

[~/opensearch-build-peterzhuamazon/tar/builds/opensearch/maven/org/opensearch]
% ls plugin/custom-codecs/2.10.0.0
custom-codecs-2.10.0.0.pom      custom-codecs-2.10.0.0.pom.sha1    custom-codecs-2.10.0.0.pom.sha512  custom-codecs-2.10.0.0.zip.md5   custom-codecs-2.10.0.0.zip.sha256
custom-codecs-2.10.0.0.pom.md5  custom-codecs-2.10.0.0.pom.sha256  custom-codecs-2.10.0.0.zip         custom-codecs-2.10.0.0.zip.sha1  custom-codecs-2.10.0.0.zip.sha512

[~/opensearch-build-peterzhuamazon/tar/builds/opensearch/maven/org/opensearch]
% ls opensearch-custom-codecs/2.10.0.0
opensearch-custom-codecs-2.10.0.0.jar         opensearch-custom-codecs-2.10.0.0-javadoc.jar         opensearch-custom-codecs-2.10.0.0.module         opensearch-custom-codecs-2.10.0.0.pom         opensearch-custom-codecs-2.10.0.0-sources.jar
opensearch-custom-codecs-2.10.0.0.jar.md5     opensearch-custom-codecs-2.10.0.0-javadoc.jar.md5     opensearch-custom-codecs-2.10.0.0.module.md5     opensearch-custom-codecs-2.10.0.0.pom.md5     opensearch-custom-codecs-2.10.0.0-sources.jar.md5
opensearch-custom-codecs-2.10.0.0.jar.sha1    opensearch-custom-codecs-2.10.0.0-javadoc.jar.sha1    opensearch-custom-codecs-2.10.0.0.module.sha1    opensearch-custom-codecs-2.10.0.0.pom.sha1    opensearch-custom-codecs-2.10.0.0-sources.jar.sha1
opensearch-custom-codecs-2.10.0.0.jar.sha256  opensearch-custom-codecs-2.10.0.0-javadoc.jar.sha256  opensearch-custom-codecs-2.10.0.0.module.sha256  opensearch-custom-codecs-2.10.0.0.pom.sha256  opensearch-custom-codecs-2.10.0.0-sources.jar.sha256
opensearch-custom-codecs-2.10.0.0.jar.sha512  opensearch-custom-codecs-2.10.0.0-javadoc.jar.sha512  opensearch-custom-codecs-2.10.0.0.module.sha512  opensearch-custom-codecs-2.10.0.0.pom.sha512  opensearch-custom-codecs-2.10.0.0-sources.jar.sha512
reta commented 10 months ago

@peterzhuamazon thanks but why we need Jenkins since we have GH workflow for it (that all other repos use)? We will need to copy/paste the script all over the place :(

peterzhuamazon commented 10 months ago

@peterzhuamazon thanks but why we need Jenkins since we have GH workflow for it (that all other repos use)? We will need to copy/paste the script all over the place :(

This is release maven even though the name says staging local. It will be copied to S3 and will be published to maven central when 2.10.0 release. Sorry for the confusing naming tho.

Also waiting for this from you to get merged beforehand:

Thanks.

reta commented 10 months ago

@peterzhuamazon thanks but why we need Jenkins since we have GH workflow for it (that all other repos use)? We will need to copy/paste the script all over the place :(

Got the answer, this is the release workflows

reta commented 10 months ago

Please hold on till https://github.com/opensearch-project/custom-codecs/pull/26 gets in to have the right articfat names