-
Notifications
You must be signed in to change notification settings - Fork 73
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
Decoupling Snapshots for v2.6.0 #320
Decoupling Snapshots for v2.6.0 #320
Conversation
Hi @vibrantvarun Can you post the output of the tests in this PR? Details about testing is in the issue. |
cc: @gaiksaya @joshpalis Testing Result
|
.github/workflows/maven-publish.yml
Outdated
export SONATYPE_PASSWORD=$(aws secretsmanager get-secret-value --secret-id maven-snapshots-password --query SecretString --output text) | ||
echo "::add-mask::$SONATYPE_USERNAME" | ||
echo "::add-mask::$SONATYPE_PASSWORD" | ||
./gradlew publishNebulaPublicationToSnapshotsRepository |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am seeing multipple locations of JS in our snapshots:
- https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/opensearch-job-scheduler-spi/
- https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/opensearch-job-scheduler/
- https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/plugin/opensearch-job-scheduler/
Can you confirm with the team which are the right ones here and accordingly add those tasks?
Adding @prudhvigodithi here since we had this conversation before
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure
Yes the location for job-scheduler for both jar's and zip's look right. The But the fix to remove pushing zips to The reason its working even though zips are part of @vibrantvarun can you please create an issue to remove publishing zips to Thank you |
f880800
to
ebd4e81
Compare
Apart from above mentioned issues (which can be addressed later) the job-sceduler spis are missing from above output. |
In that case I believe the task that needs to be called is right as mentioned in attached issue. @vibrantvarun please check the issue for more details and try that. |
Tried with 2.x branch:
|
Hey @gaiksaya Can you help me with figuring out what else is required? |
I think I figured out for issue with JS. |
Please fix the tasks. Also spi build.gradle needs to have snapshots repository. Posted the tasks above. |
cc: @gaiksaya
|
Signed-off-by: Varun Jain <[email protected]>
e808e3a
to
743384b
Compare
Tested successfully for SPI and plugin cc: @gaiksaya @joshpalis |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added PUBLISH_SNAPSHOTS_ROLE
secret. Thanks!
Signed-off-by: Varun Jain <[email protected]> (cherry picked from commit 66d694b)
Signed-off-by: Varun Jain <[email protected]> (cherry picked from commit 66d694b) Co-authored-by: Varun Jain <[email protected]>
Signed-off-by: Varun Jain <[email protected]> (cherry picked from commit 66d694b) Co-authored-by: Varun Jain <[email protected]>
Signed-off-by: Varun Jain <[email protected]> (cherry picked from commit 66d694b) Co-authored-by: Varun Jain <[email protected]> Signed-off-by: Prudhvi Godithi <[email protected]>
Description
Adding maven-publish.yml for decoupling snapshots.
Issues Resolved
#319
Check List
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.