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

[WIP]Mechanism to push zip plugins. #167

Closed
wants to merge 11 commits into from
Closed

[WIP]Mechanism to push zip plugins. #167

wants to merge 11 commits into from

Conversation

prudhvigodithi
Copy link
Member

@prudhvigodithi prudhvigodithi commented Apr 11, 2022

Description

This PR will add mechanism to publish created distribution plugin zip to maven staging repo and then using CI these zips will be published public nexus maven repo. Users can consume these zips using generated maven coordinates and use them in a dependency model.

Issues Resolved

opensearch-project/opensearch-build#1916

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • 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.

dblock and others added 7 commits April 10, 2022 14:50
Signed-off-by: dblock <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

changed assemble

Signed-off-by: pgodithi <[email protected]>

Enables locking on an arbitrary lockID (#164)

* Enables locking on an arbitrary lockID

Signed-off-by: Clay Downs <[email protected]>

Test removing find cli's

Signed-off-by: pgodithi <[email protected]>

Enables locking on an arbitrary lockID (#164)

* Enables locking on an arbitrary lockID

Signed-off-by: Clay Downs <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Adding back find cli's

Signed-off-by: pgodithi <[email protected]>

Updated issue templates from .github. (#165)

Signed-off-by: dblock <[email protected]>

Enables locking on an arbitrary lockID (#164)

* Enables locking on an arbitrary lockID

Signed-off-by: Clay Downs <[email protected]>

zip maven publish

Signed-off-by: pgodithi <[email protected]>

zip maven publish

Signed-off-by: pgodithi <[email protected]>

zip maven publish

Signed-off-by: pgodithi <[email protected]>

Adding code block for maven plugin zips

Signed-off-by: pgodithi <[email protected]>

zip maven publish

Signed-off-by: pgodithi <[email protected]>

zip maven publish

Signed-off-by: pgodithi <[email protected]>

zip maven publish

Signed-off-by: pgodithi <[email protected]>

zip maven publish

Signed-off-by: pgodithi <[email protected]>
@prudhvigodithi prudhvigodithi changed the title Mechanism to push zip plugins. [WIP]Mechanism to push zip plugins. Apr 11, 2022
The generated plugin zip `opensearch-job-scheduler-<version>.zip` after the build, inside the folder `build/distributions` can be published to maven repo. This can be done by including the project `pluginZips` inside `settings.gradle` file. Once added the generated plugin zip will be published to maven repo with following maven coordinates
```
<groupId>org.opensearch.plugin</groupId>
<artifactId>opensearch-security</artifactId>
Copy link
Member

Choose a reason for hiding this comment

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

This should be job scheduler not security, right?

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks I have updated in my latest commit.

Signed-off-by: pgodithi <[email protected]>
Signed-off-by: pgodithi <[email protected]>
@prudhvigodithi
Copy link
Member Author

Closing this PR, will be doing via gradle custom plugin way, which will be easy use and manage
Custom plugin PR
Issue to adapt this custom plugin: #175

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