Include git metadata in docker logs and Google Cloud panic reports #2564
Labels
A-devops
Area: Pipelines, CI/CD and Dockerfiles
A-infrastructure
Area: Infrastructure changes
C-enhancement
Category: This is an improvement
I-usability
Zebra is hard to understand or use
Motivation
Currently,
But we'd like to see the branch name and other detailed git information via vergen.
Tasks
The vergen git metadata is likely being disabled due to git security rules.
The fix is here:
https://github.com/rustyhorde/vergen#notes-about-the-optional-git2-015-dependency
If that doesn't work, we should also check:
git
binary installed in Docker,.git
directory in Google cloud builds,zebrad
build script expect it to be.We could try changing to the
zebra
source directory before building.API Reference
https://docs.rs/vergen/5.1.14/vergen/index.html
The text was updated successfully, but these errors were encountered: