Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix coverage metadata commit info #1323

Merged

Conversation

taylanisikdemir
Copy link
Contributor

@taylanisikdemir taylanisikdemir commented Mar 22, 2024

What changed?
Coverage metadata file generated by unit-test CI job was missing commit information

commit-sha: 
timestamp: 2024-03-15T18:37:21Z

Switching to buildkite env vars to retrieve commit information.

Why?
The .build/metadata.txt file contains commit sha and timestamp of the corresponding .build/cover.out file. This is used to integrate with 3rd party coverage tools such as Sonarqube.

How did you test it?
Ran the script locally by setting buildkite env vars.
Will check how it does on master CI run after merge.

Copy link

codecov bot commented Mar 22, 2024

Codecov Report

Merging #1323 (e4033d3) into master (f578fed) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f578fed...e4033d3. Read the comment docs.

@taylanisikdemir taylanisikdemir merged commit 81a37e4 into uber-go:master Mar 22, 2024
12 checks passed
@taylanisikdemir taylanisikdemir deleted the taylan/fix_metadata_coverage branch March 22, 2024 17:19
ketsiambaku added a commit that referenced this pull request Mar 22, 2024
Fix coverage metadata commit info #1323
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants