teslamotors / ansible_puller

Ansible daemon for massively-scaleable Ansible
MIT License
125 stars 33 forks source link

Add git hash as version information via Bazel stamp. #46

Closed shk3 closed 6 months ago

shk3 commented 6 months ago

ansible-puller used to include its git sha as version https://github.com/teslamotors/ansible_puller/blob/e93c507dae6f92fc4ed2ec205a86cf6603ed7467/build-release.sh. This logic was missed out during the migration to Bazel. This PR adds it back to be consistent so that the Prometheus metric can show the current git build hash.