in watch mode force pull policy to build for services with both build and develop attributes#11213
Conversation
|
LGTM |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #11213 +/- ##
==========================================
- Coverage 56.83% 56.82% -0.01%
==========================================
Files 133 133
Lines 11486 11491 +5
==========================================
+ Hits 6528 6530 +2
- Misses 4321 4325 +4
+ Partials 637 636 -1 ☔ View full report in Codecov by Sentry. |
… and develop attributes This default behaviour will force a rebuild of the service images at watch process startup and be sure containers will be in sync with the local source code Signed-off-by: Guillaume Lours <[email protected]>
0ba63da to
2ba5e4c
Compare
We have the |
|
I agree with @ndeloof - that's something I've seen first-hand with Tilt, which has similar behavior. Some larger projects, even with efficient layer caching, could take a while just to run through and do context transfers etc. That said, I do think that, even imperfect, this is a beneficial change, but we should look at using |
This default behaviour will force a rebuild of the service images at watch process startup and be sure containers will be in sync with the local source code
What I did
For each service target by
watchprocess (with adevelopconfiguration) force the pull policy to build to be sure they will be rebuild at watch startupRelated issue
(not mandatory) A picture of a cute animal, if possible in relation to what you did
