-
Notifications
You must be signed in to change notification settings - Fork 293
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
Pull run image using digest reference in analyzed.toml (not image name from extensions) #2127
Conversation
…e from extensions) Signed-off-by: Natalie Arellano <narellano@vmware.com>
use the run image identifier to pull. Signed-off-by: Natalie Arellano <narellano@vmware.com>
(as run image reference may be a daemon image id) Signed-off-by: Natalie Arellano <narellano@vmware.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2127 +/- ##
==========================================
+ Coverage 70.51% 70.52% +0.02%
==========================================
Files 251 251
Lines 17950 17972 +22
==========================================
+ Hits 12655 12673 +18
- Misses 4478 4481 +3
- Partials 817 818 +1
Flags with carried forward coverage won't be shown. Click here to find out more. |
acceptance/acceptance_test.go
Outdated
@@ -866,7 +866,8 @@ func testAcceptance( | |||
h.SkipIf(t, !lifecycle.SupportsFeature(config.RunImageExtensions), "") | |||
}) | |||
|
|||
it("uses the 5 phases, and tries to pull the new run image before restore", func() { | |||
// FIXME: now that we pull the run image AFTER the restore phases, the restorer fails to access the non-existent run image when it does restore checks |
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.
@natalieparellano What about this?
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 think the acceptance tests need some more extensive re-working to make this test possible again (we need to fill in the fixture with the registry repo name for the run image before starting the test). Maybe we could make an issue for it, and update the comment to reference it?
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 managed to fix the acceptance test, and in so doing uncovered that I was doing wrong things previously, so thank you.
…r restore When building to a daemon we need to pull the run image before restore in order to get target data Signed-off-by: Natalie Arellano <narellano@vmware.com>
Oof tests are failing, will take a look |
The fixture changed, so the SHA changed Signed-off-by: Natalie Arellano <narellano@vmware.com>
7b59c0f
to
3350bc9
Compare
Summary
Pull run image using digest reference in analyzed.toml (not image name from extensions)
Output
Before
After
Documentation
Related
Resolves #___