reddit / baseplate.go

Reddit's Service Framework in Go
https://pkg.go.dev/github.com/reddit/baseplate.go
BSD 3-Clause "New" or "Revised" License
92 stars 77 forks source link

log: Also stamp version from env var #622

Closed fishy closed 1 year ago

fishy commented 1 year ago

Make this as the last fallback.

This helps reproducible docker image builds from monorepos, as env var can be stamped from k8s yaml and totally outside of the docker image (so we can keep the docker image intact when no other changes is in the service's dependency tree).