Closed stephen-soltesz closed 3 years ago
The command to read the local Version: git describe --tags
does not work as intended b/c CB uses a shallow git clone without all of the tags and history available. I think this is okay for now, b/c afaict, this value didn't work before either.
Ultimately, I'd like to populate this with either the branch (for sandbox and staging) or the tag (prod).
Currently, etl-gardener reads the "GIT_COMMIT" value from its runtime environment, which could be out of sync with reality. This change embeds the real git commit as a static variable at build time.
This change simplifies configuration and supports an effort to migrate the gardener deployment to cloudbuild.
This change is![Reviewable](https://reviewable.io/review_button.svg)