mozilla-services / autograph

Mozilla's digital signature service
https://hub.docker.com/r/mozilla/autograph/
Mozilla Public License 2.0
151 stars 35 forks source link

AUT-254: install git to fix coverage report generation #989

Closed bhearsum closed 2 weeks ago

bhearsum commented 2 weeks ago

Coveralls needs git installed to properly report coverage information.

bhearsum commented 2 weeks ago

OK, so even with git installed we end up with:

2024-09-18T18:38:11.4079617Z 18:38:11 gitinfo.go:85: fail to run "/usr/bin/git show -s --format=%aE HEAD": exit status 128
2024-09-18T18:38:11.4081134Z 18:38:11 gitinfo.go:86: git information is omitted

After some poking, it looks like this is because the tests run in Docker, where there is no git repo. I'm giving up on this for now, because having full git metadata doesn't block having coverage reported (just having the most possible information).