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 Snapshot maven repository #829

Merged
merged 1 commit into from
Jun 10, 2021
Merged

Conversation

mch2
Copy link
Member

@mch2 mch2 commented Jun 8, 2021

Signed-off-by: Marc Handalian handalm@amazon.com

Description

Add sonatype repository to push snapshots. This is an immediate solution to pushing OpenSearch artifacts to https://aws.oss.sonatype.org/content/repositories/snapshots for plugins to consume. This will be executed via maven-publish plugin's generated task -

./gradlew publishAllPublicationsToSnapshotsRepository.

It is dependent on credentials via environment variables

  • SONATYPE_USER
  • SONATYPE_PASSWORD

This will be executed via CI to generate daily snapshots.

Next steps here are to define how to publish for any opensearch repo without copying this into each repository.

Issues Resolved

20

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.

@opensearch-ci-bot
Copy link
Collaborator

✅   DCO Check Passed dfccb564e03be89668540dc26172e3968fb1f0a4

@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Wrapper Validation success dfccb564e03be89668540dc26172e3968fb1f0a4

@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Precommit success dfccb564e03be89668540dc26172e3968fb1f0a4

build.gradle Outdated
name = 'Snapshots'
url = 'https://aws.oss.sonatype.org/content/repositories/snapshots'
credentials {
username "$System.env.SONATYPE_USER"
Copy link
Member

Choose a reason for hiding this comment

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

SONATYPE_USERNAME to match the option

Signed-off-by: Marc Handalian <handalm@amazon.com>
@opensearch-ci-bot
Copy link
Collaborator

✅   DCO Check Passed f3dbf3d

@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Wrapper Validation success f3dbf3d

@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Precommit success f3dbf3d

@dblock
Copy link
Member

dblock commented Jun 9, 2021

start gradle check

@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Check success f3dbf3d
Log 233

Reports 233

@camerski camerski merged commit dff2744 into opensearch-project:main Jun 10, 2021
tlfeng pushed a commit that referenced this pull request Jul 7, 2021
* backport PR #829 to 1.x branch, so that we can publish snapshots to our maven repository.
Signed-off-by: Marc Handalian <handalm@amazon.com>
tlfeng pushed a commit that referenced this pull request Jul 7, 2021
* Backport #829 to 1.0 so that we can publish patch snapshots to our maven repository 
Signed-off-by: Marc Handalian <handalm@amazon.com>
ritty27 pushed a commit to ritty27/OpenSearch that referenced this pull request May 12, 2024
)

* Bump com.diffplug.spotless from 6.24.0 to 6.25.0

Bumps com.diffplug.spotless from 6.24.0 to 6.25.0.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update changelog

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
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.

4 participants