-
Notifications
You must be signed in to change notification settings - Fork 272
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
Make input manifest ci checks accept commit id as refs #2856
Make input manifest ci checks accept commit id as refs #2856
Conversation
Signed-off-by: Peter Zhu <[email protected]>
Signed-off-by: Peter Zhu <[email protected]>
Signed-off-by: Peter Zhu <[email protected]>
Signed-off-by: Peter Zhu <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #2856 +/- ##
==========================================
+ Coverage 93.66% 93.71% +0.04%
==========================================
Files 158 158
Lines 4373 4391 +18
==========================================
+ Hits 4096 4115 +19
+ Misses 277 276 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Signed-off-by: Peter Zhu <[email protected]>
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.
LGTM. Had offline discussion with @peterzhuamazon. This would be performed when checks in input manifest are absent.
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.
This should have been implemented differently by adding two subclasses of CiCheckListSourceRef
, one that has a ref as SHA1 and another that doesn't, instead of all these ifs
and creating the right instance thereof accordingly. Care to refactor this @zelinh?
This is a temp measure to unblock 2.4.0. Thanks. |
@peterzhuamazon Later on is fine by me. Please note that a cleaner object model would have been less code and much more readable. Whether the measure is temporary is irrelevant. |
Signed-off-by: Peter Zhu [email protected]
Description
Make input manifest ci checks accept commit id as refs
Issues Resolved
#2855
#2649
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.