-
Notifications
You must be signed in to change notification settings - Fork 43
improve OCI ref Parsing and Digest Resolution #2568
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
Conversation
| }, | ||
| }, | ||
| }, | ||
| { |
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.
I didn't add test coverage for the happy path because the entry above already covers it.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2568 +/- ##
==========================================
+ Coverage 68.73% 68.85% +0.11%
==========================================
Files 101 101
Lines 8557 8569 +12
==========================================
+ Hits 5882 5900 +18
+ Misses 2675 2669 -6
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
4945683 to
d228309
Compare
|
/retest |
|
The build and test PLRs are stuck with message |
|
still seeing the same status :/ |
|
Doesn't the uri, err := resolveIfNeeded(client, string(uriValue))
if err != nil {
logger.WithField("action", "resolveIfNeeded").Error(err)
return nil, nil
} |
Thanks! that's true, added a reply here in the Slack thread. Line 690 in b5fd51b
Added the changes in the latest commit. |
|
I gave it a little test like this: |
* This commit enhances the `ociDescriptor` function current approach to check OCI image URIs that are pinned by tag, as it just checks for presence of `@` * So, now we make use of functions from the "go-containerregistry" package resolves: EC-1312
|
@simonbaird or @joejstuart can you please merge this PR whenever you can? (I don't have the rights) |
This commit enhances the
ociDescriptorfunctioncurrent approach to check OCI image URIs that are
pinned by tag, as it just checks for presence of
@So, now we make use of standard functions from the
"go-containerregistry" package
resolves: EC-1312