ContainerImage.Pinniped/hack
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
..
lib Run Tilt images as root for faster reload 2021-01-15 11:34:53 -05:00
boilerplate.go.txt Save 2 lines by using inline-style comments for Copyright 2020-09-16 10:35:19 -04:00
check-copyright-year.sh Add more text explaining what copyright notice should look like 2021-01-05 16:06:59 -08:00
get-ldflags.sh Update copyright to reference Pinniped contributors 2020-09-16 10:05:51 -04:00
header.txt Changing references from 1.19 to 1.20 2021-01-07 15:25:47 -08:00
kind-down.sh Whitespace-only change in two files 2020-10-30 15:18:40 -07:00
kind-up.sh Whitespace-only change in two files 2020-10-30 15:18:40 -07:00
module.sh Remove our main module dependency on golangci-lint. 2020-12-17 17:01:32 -06:00
prepare-for-integration-tests.sh Wire in new env vars for user info testing 2021-01-12 11:23:25 -05:00
tilt-down.sh Add Tilt-based local dev workflow. 2020-10-05 16:34:33 -05:00
tilt-up.sh hack/tilt-up.sh: let folks specify tilt flags 2020-10-14 09:22:21 -04:00
update.sh 1.20 Changes to the update script and Dockerfile 2021-01-07 13:20:25 -08:00
verify.sh Update copyright to reference Pinniped contributors 2020-09-16 10:05:51 -04:00