You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Skaffold is stopped and restarted, it has to rebuild all artifacts. Even if most builder have cache mechanism, it can be slow to realize that nothing has to be built. For example, docker build needs to be sent the whole context before even starting.
We could maybe keep a state on disk that lists the images that are built and the digest of the files that were used for the build. This way, when Skaffold is restarted, all it has to do is list the files for each artifact, compute a digest (locally) and trigger or not a rebuild.
Those checks could run in // and would benefit bigger projects.
A command line flag would enable this behavior that, by default, would be disabled to ensure the best possible consistency.
The text was updated successfully, but these errors were encountered:
When Skaffold is stopped and restarted, it has to rebuild all artifacts. Even if most builder have cache mechanism, it can be slow to realize that nothing has to be built. For example,
docker build
needs to be sent the whole context before even starting.We could maybe keep a state on disk that lists the images that are built and the digest of the files that were used for the build. This way, when Skaffold is restarted, all it has to do is list the files for each artifact, compute a digest (locally) and trigger or not a rebuild.
Those checks could run in // and would benefit bigger projects.
A command line flag would enable this behavior that, by default, would be disabled to ensure the best possible consistency.
The text was updated successfully, but these errors were encountered: