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

On board 1-click release for OpenSearch Migrations #334

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

prudhvigodithi
Copy link
Contributor

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 #

@codecov
Copy link

codecov bot commented Sep 28, 2023

Codecov Report

Merging #334 (7360624) into main (bad8c09) will decrease coverage by 5.88%.
Report is 6 commits behind head on main.
The diff coverage is n/a.

@@             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     
Flag Coverage Δ
unittests 65.94% <ø> (-0.08%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 27 files with indirect coverage changes

with:
draft: true
generate_release_notes: true
files: artifacts.tar.gz
Copy link
Member

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!

Copy link
Contributor Author

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.

Copy link
Contributor Author

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.
Screenshot 2023-10-04 at 1 59 28 PM

Copy link
Member

@gaiksaya gaiksaya left a 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!

]))

standardReleasePipelineWithGenericTrigger(
overrideDockerImage: 'opensearchstaging/ci-runner:release-centos7-clients-v4',
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated.

@prudhvigodithi
Copy link
Contributor Author

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).
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
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).

@prudhvigodithi prudhvigodithi merged commit d21722f into opensearch-project:main Oct 5, 2023
4 of 5 checks passed
gregschohn added a commit to gregschohn/opensearch-migrations that referenced this pull request Oct 6, 2023
* 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]>
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