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

Add method to get component names from test manifest #361

Merged
merged 2 commits into from
Jan 17, 2024

Conversation

gaiksaya
Copy link
Member

@gaiksaya gaiksaya commented Jan 13, 2024

Description

Add getComponentNames method from test Manifest

Issues Resolved

opensearch-project/opensearch-build#3461

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>
@gaiksaya gaiksaya changed the title Add getComponentName method for test Manifest Add method to get component names from test manifest Jan 13, 2024
Copy link

codecov bot commented Jan 13, 2024

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (27d4cee) 87.43% compared to head (b65becf) 86.04%.

Files Patch % Lines
src/jenkins/TestManifest.groovy 50.00% 3 Missing and 1 partial ⚠️
src/jenkins/BuildManifest.groovy 50.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #361      +/-   ##
============================================
- Coverage     87.43%   86.04%   -1.40%     
  Complexity       29       29              
============================================
  Files            81       81              
  Lines           207      215       +8     
  Branches         11       12       +1     
============================================
+ Hits            181      185       +4     
- Misses           19       22       +3     
- Partials          7        8       +1     

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


TestManifest(Map data) {
this.name = data.name
this.ci = data.ci ? new TestManifest.Ci(data.ci) : null
this.components = data.components ? new TestManifest.Components(data.components) : null
Copy link
Member

Choose a reason for hiding this comment

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

A bit confusion.
Isnt data.components is already the components from TestManifest?

Copy link
Member Author

Choose a reason for hiding this comment

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

No it was only present in buildManifest class not the Test Manifest class.

Copy link
Member

Choose a reason for hiding this comment

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

Ok got it.

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
@gaiksaya gaiksaya merged commit b195cb2 into opensearch-project:main Jan 17, 2024
7 of 9 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 17, 2024
Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
(cherry picked from commit b195cb2)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants