Author: Michael Lynch <git@mtlynch.io>
Committer: Michael Lynch <mtlynch@noreply.codeberg.org>
Show git revision and build time on the /about page (#113) 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> Reviewed-on: https://codeberg.org/mtlynch/little-moments/pulls/113 Co-authored-by: Michael Lynch <git@mtlynch.io> Co-committed-by: Michael Lynch <git@mtlynch.io>
| Time to Start | Worker time | Duration | Time to finish | |
| Config | 0s | 1s | 1s | 1s |
| Eval | 2s | 1m15s | 1m15s | 1m18s |
| Build | 4s | 7m51s | 1m13s | 1m18s |
| Test | - | - | - | - |
| Deploy | - | - | - | - |
| Suite | 0s | 9m09s | 1m18s | 1m18s |