-
Notifications
You must be signed in to change notification settings - Fork 72
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 release workflows #138
Conversation
Signed-off-by: Sayali Gaikawad <[email protected]>
Signed-off-by: Sayali Gaikawad <[email protected]>
Signed-off-by: Sayali Gaikawad <[email protected]>
Taking care of few things on infra side before this gets merged. Please review till then. |
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.
Thanks
Will this work for pre-releases, for example, if we want to release a |
Yes! |
Hey @AMoo-Miki @BSFishy Not sure where to add the release process details. Something similar to https://github.com/opensearch-project/opensearch-js/blob/main/RELEASING.md#releasing |
We don't have one but we could just steal that file entirely. |
Signed-off-by: Sayali Gaikawad <[email protected]>
Added the file called |
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 think OUI is going to make a push to support a smaller group of versions than OSD does, but we'll have a larger discussion about that outside of this PR
Yeah incrementing the version after the release makes sure the development is tracked for next iteration. I'll set the webhooks for this repo. Will update this PR once done. |
This repository is set for automated releases. Push a tag when you are ready. Let us know in case of any failures. |
* Add release workflows Signed-off-by: Sayali Gaikawad <[email protected]> (cherry picked from commit 01515a8) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Add release workflows (cherry picked from commit 01515a8) Signed-off-by: Sayali Gaikawad <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Sean Neumann <[email protected]>
Description
This change adds release workflows to publish OUI on https://www.npmjs.com/
Please see opensearch-project/opensearch-build#1234 for design details of end to end workflow.
TL;DR:
When a tag is pushed to this repository, it will generate a draft release. The draft release will trigger the jenkins job (see Files Changed for attached jenkins file) that publishes the client to npmjs. Once the release is successful, the drafted release is published on GitHub.
Issues Resolved
opensearch-project/opensearch-build#2900
Check List
yarn lint
yarn test-unit
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.