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

Add workflow to publish snapshots via GHA #325

Merged
merged 3 commits into from
Jan 14, 2023

Conversation

gaiksaya
Copy link
Member

@gaiksaya gaiksaya commented Jan 12, 2023

Signed-off-by: Sayali Gaikawad gaiksaya@amazon.com

Description

Add workflow to publish snapshots via GHA.
Picked up the mentioned gradle task from here:

Publishing tasks
----------------
java-client:generateMetadataFileForPublishMavenPublication - Generates the Gradle metadata file for publication 'publishMaven'.
java-client:generatePomFileForPublishMavenPublication - Generates the Maven POM file for publication 'publishMaven'.
java-client:publish - Publishes all publications produced by this project.
java-client:publishAllPublicationsToLocalRepoRepository - Publishes all Maven publications produced by this project to the localRepo repository.
java-client:publishAllPublicationsToSnapshotsRepository - Publishes all Maven publications produced by this project to the Snapshots repository.
java-client:publishPublishMavenPublicationToLocalRepoRepository - Publishes Maven publication 'publishMaven' to Maven repository 'localRepo'.
java-client:publishPublishMavenPublicationToMavenLocal - Publishes Maven publication 'publishMaven' to the local Maven repository.
java-client:publishPublishMavenPublicationToSnapshotsRepository - Publishes Maven publication 'publishMaven' to Maven repository 'Snapshots'.
java-client:publishToMavenLocal - Publishes all Maven publications produced by this project to the local Maven cache

Issues Resolved

List any issues this PR will resolve, e.g. Closes [...].

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.

@gaiksaya gaiksaya marked this pull request as draft January 12, 2023 23:46
@gaiksaya gaiksaya marked this pull request as ready for review January 12, 2023 23:58
dblock
dblock previously approved these changes Jan 13, 2023
@dblock
Copy link
Member

dblock commented Jan 13, 2023

Let's add some text to README or RELEASING linking to this workflow?

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
@gaiksaya
Copy link
Member Author

Let's add some text to README or RELEASING linking to this workflow?

Done! Please review. Thanks!

@gaiksaya
Copy link
Member Author

FYI, I'll remove or disable this workflow since it won't be used anymore. https://build.ci.opensearch.org/job/opensearch-java-publish-snapshot/
Thanks!

Copy link
Collaborator

@VachaShah VachaShah left a comment

Choose a reason for hiding this comment

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

Thank you @gaiksaya!

@dblock dblock merged commit 96f47d5 into opensearch-project:main Jan 14, 2023
@dblock
Copy link
Member

dblock commented Jan 14, 2023

Merged, remove the Jenkins one at will @gaiksaya

@gaiksaya gaiksaya deleted the maven-snapshots branch January 14, 2023 21:28
VachaShah pushed a commit to VachaShah/opensearch-java that referenced this pull request Apr 14, 2023
* Add workflow to publish snapshots via GHA

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>

* Fix task name

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>

* Fix conflict and add documentation

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
VachaShah pushed a commit to VachaShah/opensearch-java that referenced this pull request Apr 14, 2023
* Add workflow to publish snapshots via GHA

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>

* Fix task name

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>

* Fix conflict and add documentation

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
Signed-off-by: Vacha Shah <vachshah@amazon.com>
VachaShah added a commit that referenced this pull request Apr 14, 2023
* Add workflow to publish snapshots via GHA (#325)

* Add workflow to publish snapshots via GHA

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>

* Fix task name

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>

* Fix conflict and add documentation

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Fixing documentation for snapshot builds

Signed-off-by: Vacha Shah <vachshah@amazon.com>

---------

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
Signed-off-by: Vacha Shah <vachshah@amazon.com>
Co-authored-by: Sayali Gaikawad <61760125+gaiksaya@users.noreply.github.com>
@BrendonFaleiro BrendonFaleiro mentioned this pull request Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants