feat: add build version injection via CI_COMMIT argument #503

Merged
argoyle merged 1 commits from feat/inject-build-version-commit into main 2025-06-13 11:40:43 +00:00
argoyle commented 2025-06-13 11:27:07 +00:00 (Migrated from gitlab.com)

Inject the build version into the binary using the CI_COMMIT
argument for better traceability of deployments. Update the
Dockerfile to pass the commit hash to the build process,
ensuring that each build contains version information tied
to the specific commit.

Inject the build version into the binary using the CI_COMMIT argument for better traceability of deployments. Update the Dockerfile to pass the commit hash to the build process, ensuring that each build contains version information tied to the specific commit.
argoyle (Migrated from gitlab.com) scheduled this pull request to auto merge when all checks succeed 2025-06-13 11:27:15 +00:00
argoyle commented 2025-06-13 11:37:25 +00:00 (Migrated from gitlab.com)

Codecov Report

All modified and coverable lines are covered by tests

Project coverage is 1.00%. Comparing base (2948905) to head (b4447bb).

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #499   +/-   ##
=====================================
  Coverage   1.00%   1.00%           
=====================================
  Files         42      42           
  Lines       1996    1996           
=====================================
  Hits          20      20           
  Misses      1976    1976           

View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
## [Codecov](https://app.codecov.io/gl/unboundsoftware/schemas/pull/499?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=unboundsoftware) Report All modified and coverable lines are covered by tests :white_check_mark: > Project coverage is 1.00%. Comparing base [(`2948905`)](https://app.codecov.io/gl/unboundsoftware/schemas/commit/2948905005687fd1f46397d22048567bca933a2f?dropdown=coverage&el=desc&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=unboundsoftware) to head [(`b4447bb`)](https://app.codecov.io/gl/unboundsoftware/schemas/commit/b4447bb15e5080cd0f010b07daa7d0399754b6e6?dropdown=coverage&el=desc&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=unboundsoftware). <details><summary>Additional details and impacted files</summary> ```diff @@ Coverage Diff @@ ## main #499 +/- ## ===================================== Coverage 1.00% 1.00% ===================================== Files 42 42 Lines 1996 1996 ===================================== Hits 20 20 Misses 1976 1976 ``` </details> [:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gl/unboundsoftware/schemas/pull/499?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=unboundsoftware). :loudspeaker: Have feedback on the report? [Share it here](https://gitlab.com/codecov-open-source/codecov-user-feedback/-/issues/4). <details><summary> :rocket: New features to boost your workflow: </summary> - :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems. </details>
argoyle (Migrated from gitlab.com) merged commit into main 2025-06-13 11:40:43 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unboundsoftware/schemas#503