-
Notifications
You must be signed in to change notification settings - Fork 27
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
On board 1-click release for OpenSearch Migrations #334
Conversation
Codecov Report
@@ Coverage Diff @@
## main #334 +/- ##
============================================
- Coverage 71.81% 65.94% -5.88%
+ Complexity 845 842 -3
============================================
Files 120 95 -25
Lines 5078 3923 -1155
Branches 452 330 -122
============================================
- Hits 3647 2587 -1060
+ Misses 1209 1129 -80
+ Partials 222 207 -15
Flags with carried forward coverage won't be shown. Click here to find out more. |
with: | ||
draft: true | ||
generate_release_notes: true | ||
files: artifacts.tar.gz |
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.
We need to first create this tar.gz before uploading. Can you please try out this workflow in your fork?
Thanks!
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 Sayali, will test it.
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.
Hey @gaiksaya with the workflow I have able to create a draft release upon a tag (0.3.0) push.
0211b50
to
7cbd92b
Compare
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.
Minor nit about overriding image. Other than that LGTM!
jenkins/release.jenkinsFile
Outdated
])) | ||
|
||
standardReleasePipelineWithGenericTrigger( | ||
overrideDockerImage: 'opensearchstaging/ci-runner:release-centos7-clients-v4', |
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.
No need to override, the 5.9.1 version has this by default: https://github.com/opensearch-project/opensearch-build-libraries/blob/5.9.1/vars/standardReleasePipelineWithGenericTrigger.groovy#L31
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.
Updated.
Need one maintainers approval @chelma @gregschohn @kartg @lewijacn @mikaylathompson @okhasawn @sumobrian please check. Thanks |
README.md
Outdated
|
||
1. Create a tag, e.g. 0.1.0, and push it to this GitHub repository. | ||
2. The [release-drafter.yml](.github/workflows/release-drafter.yml) will be automatically kicked off and a draft release will be created. | ||
3. This draft release triggers the [jenkins release workflow](https://build.ci.opensearch.org/job/opensearch-migrations-release) as a result of which the opensearch-migrations toolset is released and published on artifacts (https://artifacts.opensearch.org/migrations/0.1.0/opensearch-migrations-0.1.0.tar.gz). |
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.
3. This draft release triggers the [jenkins release workflow](https://build.ci.opensearch.org/job/opensearch-migrations-release) as a result of which the opensearch-migrations toolset is released and published on artifacts (https://artifacts.opensearch.org/migrations/0.1.0/opensearch-migrations-0.1.0.tar.gz). | |
3. This draft release triggers the [jenkins release workflow](https://build.ci.opensearch.org/job/opensearch-migrations-release) as a result of which the opensearch-migrations toolset is released and published on artifacts.opensearch.org (https://artifacts.opensearch.org/migrations/0.1.0/opensearch-migrations-0.1.0.tar.gz). |
Signed-off-by: Prudhvi Godithi <[email protected]>
* main: On board 1-click release for OpenSearch Migrations (opensearch-project#334) Add support for Kafka management scripts (opensearch-project#330) Bump urllib3 from 2.0.3 to 2.0.6 in /test Removing extra character + moving project specific requirement back to where it belongs Update CDK documentation + minor changes to devDeploy script Signed-off-by: Greg Schohn <[email protected]>
Description
On board 1-click release for OpenSearch Migrations
Issues Resolved
Part of: opensearch-project/opensearch-build#4085
Is this a backport? If so, please add backport PR # and/or commits #