ContainerImage.Pinniped/hack/lib/tilt
Andrew Keesler af11d8cd58
Run Tilt images as root for faster reload
Previously, when triggering a Tilt reload via a *.go file change, a reload would
take ~13 seconds and we would see this error message in the Tilt logs for each
component.

  Live Update failed with unexpected error:
    command terminated with exit code 2
  Falling back to a full image build + deploy

Now, Tilt should reload images a lot faster (~3 seconds) since we are running
the images as root.

Note! Reloading the Concierge component still takes ~13 seconds because there
are 2 containers running in the Concierge namespace that use the Concierge
image: the main Concierge app and the kube cert agent pod. Tilt can't live
reload both of these at once, so the reload takes longer and we see this error
message.

  Will not perform Live Update because:
    Error retrieving container info: can only get container info for a single pod; image target image:image/concierge has 2 pods
  Falling back to a full image build + deploy

Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-01-15 11:34:53 -05:00
..
tilt_modules Add Tilt-based local dev workflow. 2020-10-05 16:34:33 -05:00
concierge.Dockerfile Upgrade base images to Debian 10.7-slim. 2020-12-16 15:16:31 -06:00
local-user-authenticator.Dockerfile Upgrade base images to Debian 10.7-slim. 2020-12-16 15:16:31 -06:00
supervisor.Dockerfile Upgrade base images to Debian 10.7-slim. 2020-12-16 15:16:31 -06:00
Tiltfile Run Tilt images as root for faster reload 2021-01-15 11:34:53 -05:00