tilt-extensions icon indicating copy to clipboard operation
tilt-extensions copied to clipboard

Feature request: git_resource should optionally "git pull" when update requested

Open CpuID opened this issue 3 years ago • 1 comments

Would be nice for git_resource to do a git pull if an update is requested for a resource (hitting the refresh in the UI). So we can pull in changes to upstream dependencies, and include them as part of a fresh build.

Should be optional, via a feature flag.

CpuID avatar May 10 '21 04:05 CpuID

Interesting, it looks like it does a git fetch -a origin && git checkout -f origin/master && git submodule update --init when you hit refresh on the Tiltfile itself, but not on the resource (eg. some K8s service)?

CpuID avatar May 10 '21 05:05 CpuID