Merged in feature/log-version (pull request #185)

inject and print version at startup for all services

* inject and print version

* coverage
This commit is contained in:
Jay Brown
2025-09-18 21:06:21 +00:00
parent 8a13b6d3b1
commit a6e081e5cd
17 changed files with 233 additions and 5 deletions
+4 -1
View File
@@ -45,7 +45,10 @@ func New(ctx context.Context, cfg Config) (func() error, error) {
version := build.GetVersion()
if cfg.GetLogger() != nil {
cfg.GetLogger().Info("Starting", "version", version)
cfg.GetLogger().Info("Starting",
"version", version,
"buildTime", build.GetBuildTime(),
"commit", build.GetGitCommit())
}
err := database.RunMigrations(ctx, cfg)