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 platform compatibility check for incremental build #4949

Merged
merged 3 commits into from
Aug 19, 2024

Conversation

zelinh
Copy link
Member

@zelinh zelinh commented Aug 16, 2024

Description

Add platform compatibility check for incremental build.

Issues Resolved

#4545

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.

Copy link

codecov bot commented Aug 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.12%. Comparing base (f355251) to head (f37201f).
Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4949      +/-   ##
==========================================
- Coverage   92.17%   92.12%   -0.06%     
==========================================
  Files         197      197              
  Lines        6634     6639       +5     
==========================================
+ Hits         6115     6116       +1     
- Misses        519      523       +4     

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

@@ -31,6 +33,9 @@ def commits_diff(self, input_manifest: InputManifest) -> List[str]:
return [input_manifest.build.name.replace(" ", "-")]
components = []
for component in stable_input_manifest.components.select():
if component.platforms and self.platform not in component.platforms:
logging.info(f"Skipping {component.name} as it's not compatible on {self.platform}.")
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
logging.info(f"Skipping {component.name} as it's not compatible on {self.platform}.")
logging.info(f"Skipping {component.name} as it is not compatible with {self.platform}.")

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated. Thanks.

Signed-off-by: Zelin Hao <[email protected]>
@zelinh zelinh merged commit 91327a0 into opensearch-project:main Aug 19, 2024
10 checks passed
@zelinh zelinh deleted the incremental-platform-check branch August 19, 2024 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants