Skip to content
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

Publish snapshots to maven via GHA #233

Merged
merged 2 commits into from
Feb 28, 2023

Conversation

VijayanB
Copy link
Member

Description

Publish snapshots to maven via GHA.

Issues Resolved

#225

Check List

  • Commits are signed per the DCO using --signoff

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.

Signed-off-by: Vijayan Balasubramanian <[email protected]>
@VijayanB VijayanB requested a review from a team February 28, 2023 00:48
@VijayanB VijayanB changed the title Update snapshot Publish snapshots to maven via GHA Feb 28, 2023
@VijayanB VijayanB self-assigned this Feb 28, 2023
@VijayanB
Copy link
Member Author

3c22fb3bf9b7:geospatial balasvij$ find snapshots | sort 
snapshots
snapshots/org
snapshots/org/opensearch
snapshots/org/opensearch/plugin
snapshots/org/opensearch/plugin/geospatial
snapshots/org/opensearch/plugin/geospatial/3.0.0.0-SNAPSHOT
snapshots/org/opensearch/plugin/geospatial/3.0.0.0-SNAPSHOT/geospatial-3.0.0.0-20230228.004536-1.pom
snapshots/org/opensearch/plugin/geospatial/3.0.0.0-SNAPSHOT/geospatial-3.0.0.0-20230228.004536-1.pom.md5
snapshots/org/opensearch/plugin/geospatial/3.0.0.0-SNAPSHOT/geospatial-3.0.0.0-20230228.004536-1.pom.sha1
snapshots/org/opensearch/plugin/geospatial/3.0.0.0-SNAPSHOT/geospatial-3.0.0.0-20230228.004536-1.pom.sha256
snapshots/org/opensearch/plugin/geospatial/3.0.0.0-SNAPSHOT/geospatial-3.0.0.0-20230228.004536-1.pom.sha512
snapshots/org/opensearch/plugin/geospatial/3.0.0.0-SNAPSHOT/geospatial-3.0.0.0-20230228.004536-1.zip
snapshots/org/opensearch/plugin/geospatial/3.0.0.0-SNAPSHOT/geospatial-3.0.0.0-20230228.004536-1.zip.md5
snapshots/org/opensearch/plugin/geospatial/3.0.0.0-SNAPSHOT/geospatial-3.0.0.0-20230228.004536-1.zip.sha1
snapshots/org/opensearch/plugin/geospatial/3.0.0.0-SNAPSHOT/geospatial-3.0.0.0-20230228.004536-1.zip.sha256
snapshots/org/opensearch/plugin/geospatial/3.0.0.0-SNAPSHOT/geospatial-3.0.0.0-20230228.004536-1.zip.sha512
snapshots/org/opensearch/plugin/geospatial/3.0.0.0-SNAPSHOT/maven-metadata.xml
snapshots/org/opensearch/plugin/geospatial/3.0.0.0-SNAPSHOT/maven-metadata.xml.md5
snapshots/org/opensearch/plugin/geospatial/3.0.0.0-SNAPSHOT/maven-metadata.xml.sha1
snapshots/org/opensearch/plugin/geospatial/3.0.0.0-SNAPSHOT/maven-metadata.xml.sha256
snapshots/org/opensearch/plugin/geospatial/3.0.0.0-SNAPSHOT/maven-metadata.xml.sha512
snapshots/org/opensearch/plugin/geospatial/maven-metadata.xml
snapshots/org/opensearch/plugin/geospatial/maven-metadata.xml.md5
snapshots/org/opensearch/plugin/geospatial/maven-metadata.xml.sha1
snapshots/org/opensearch/plugin/geospatial/maven-metadata.xml.sha256
snapshots/org/opensearch/plugin/geospatial/maven-metadata.xml.sha512

@VijayanB VijayanB added backport 2.x Backport PR to 2.x branch backport 2.6 labels Feb 28, 2023
@VijayanB
Copy link
Member Author

@gaiksaya Can you please review this PR? Thanks

@VijayanB VijayanB requested a review from gaiksaya February 28, 2023 00:52
Signed-off-by: Vijayan Balasubramanian <[email protected]>
Copy link
Member

@gaiksaya gaiksaya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
Added PUBLISH_SNAPSHOTS_ROLE to the secrets

@VijayanB VijayanB merged commit 32177f5 into opensearch-project:main Feb 28, 2023
opensearch-trigger-bot bot pushed a commit that referenced this pull request Feb 28, 2023
* Add workflow to publish snapshots
* Add snapshots reporitory under publishing

Signed-off-by: Vijayan Balasubramanian <[email protected]>
(cherry picked from commit 32177f5)
opensearch-trigger-bot bot pushed a commit that referenced this pull request Feb 28, 2023
* Add workflow to publish snapshots
* Add snapshots reporitory under publishing

Signed-off-by: Vijayan Balasubramanian <[email protected]>
(cherry picked from commit 32177f5)
@gaiksaya
Copy link
Member

Looks like it works :D https://github.com/opensearch-project/geospatial/actions/workflows/maven-publish.yml

VijayanB added a commit that referenced this pull request Feb 28, 2023
* Add workflow to publish snapshots
* Add snapshots reporitory under publishing

Signed-off-by: Vijayan Balasubramanian <[email protected]>
(cherry picked from commit 32177f5)

Co-authored-by: Vijayan Balasubramanian <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants