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

Refactor releaseTag workflow and add tests #4974

Merged
merged 5 commits into from
Aug 28, 2024

Conversation

gaiksaya
Copy link
Member

@gaiksaya gaiksaya commented Aug 27, 2024

Description

Refactor releaseTag workflow and add tests

Issues Resolved

Closes #4973
closes #2680

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.

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
Copy link

codecov bot commented Aug 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.44%. Comparing base (f355251) to head (3049ba2).
Report is 23 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4974      +/-   ##
==========================================
+ Coverage   92.17%   92.44%   +0.26%     
==========================================
  Files         197      197              
  Lines        6634     6654      +20     
==========================================
+ Hits         6115     6151      +36     
+ Misses        519      503      -16     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -58,7 +58,7 @@ pipeline {
steps {
echo 'Triggering manifest lock workflow'
build job: 'release-manifest-commit-lock', wait: true, parameters: [
string(name: 'RELEASE_VERSION', value: "${params.RELEASE_VERSION}"),
string(name: 'RELEASE_VERSION', value: "${params.VERSION}"),
Copy link
Member

Choose a reason for hiding this comment

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

How we lock the manifest to tag in this triggered job? We have a product parameters in this tag creation job but seems like we locked both OS & OSD manifests with tags in one job.

Copy link
Member

Choose a reason for hiding this comment

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

We are in discussion to merge both OS and OSD tag creation into one run.

Copy link
Member Author

Choose a reason for hiding this comment

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

Modified the workflow to accommodate both OS and OSD tag creation. In this way manifest lock would also happen once and for all.
Thanks!

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
@gaiksaya gaiksaya changed the title Fix parameter name for release tag workflow Refactor releaseTag workflow and add tests Aug 28, 2024
@gaiksaya gaiksaya merged commit 67baaac into opensearch-project:main Aug 28, 2024
10 checks passed
@gaiksaya gaiksaya deleted the fix-manifest branch August 28, 2024 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✅ Done
3 participants