-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
fix: puling images when working with a remote repository (#9177) #9181
Conversation
If the skaffold is configured to use the cluster and not the local images, it will not pull the images locally. If everything is cached it will move to deployment stage instead of unnecessarily downloading the images.
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Hi @3droj7 , Thanks for the contribution, could you please fix the failing tests, you can run |
@ericzzzzzzz It appears that there are some issues in the tests themselves- There's also an issue with Do you agree that there's an issue or maybe I missed something? |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #9181 +/- ##
==========================================
- Coverage 70.48% 63.73% -6.75%
==========================================
Files 515 630 +115
Lines 23150 32464 +9314
==========================================
+ Hits 16317 20692 +4375
- Misses 5776 10184 +4408
- Partials 1057 1588 +531 ☔ View full report in Codecov by Sentry. |
@ericzzzzzzz Hey, I fixed the tests. Can you please review it |
* Revert "fix(lookupRemote): fixed lookup.go lookupRemote to compare remote and cached digests (#9278)" This reverts commit 9ff4546. * Revert "fix: Scope Issue with the 'entry' variable when looking up remote images and tests additions (#9211)" This reverts commit ffe769c. * Revert "fix: puling images when working with a remote repository (#9177) (#9181)" This reverts commit 9376dc0.
Fixes: #9177
Description
If the skaffold is configured to use the cluster and not the local images, it will not pull the images locally.
If everything is cached it will move to deployment stage instead of unnecessarily downloading the images.
Follow-up Work
The code could be probably improved so there will be less duplicated code.