023a2c72

By: Michael Lynch <git@mtlynch.io>

Show git revision and build time on the /about page

Add a build package that reads VCS stamping embedded by go build
(vcs.revision and vcs.time from runtime/debug.ReadBuildInfo). The
about handler passes the revision and build time to the template,
which displays them under a "Build info" heading.

Copy .git into the Docker builder stage so VCS stamping works in
container builds.

Inspired by picoshare commit 3248b5d.

Co-authored-by: Shelley <shelley@exe.dev>

Suite timing

Time to Start Worker time Duration Time to finish
Config 2s 1s 1s 3s
Eval 2s 2m10s 2m10s 2m13s
Build 42s 6m42s 1m34s 2m17s
Test - - - -
Deploy - - - -
Suite 2s 8m54s 2m14s 2m17s

Timeline

0s10s20s30s40s50s1m1m10s1m20s1m30s1m40s1m50s2m2m10s