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 workspace status script for out-of-git builds #950

Merged
merged 5 commits into from
Apr 20, 2022
Merged

Conversation

pudelkoM
Copy link
Member

@pudelkoM pudelkoM commented Apr 12, 2022

When building from non-git source code, e.g. release tars, the .git directory is not present. This causes any bazel command to fail as the workspace status script exits with non-zero code. We fix this by checking for this condition and not emitting any stamping info in that case.

Fixes #949

@pudelkoM pudelkoM requested a review from Yi-Tseng April 12, 2022 22:09
@codecov
Copy link

codecov bot commented Apr 20, 2022

Codecov Report

Merging #950 (53f9029) into main (5d836d8) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #950   +/-   ##
=======================================
  Coverage   79.28%   79.28%           
=======================================
  Files         342      342           
  Lines       31103    31103           
=======================================
  Hits        24659    24659           
  Misses       6444     6444           

@pudelkoM pudelkoM merged commit 2f9ca53 into main Apr 20, 2022
@pudelkoM pudelkoM deleted the release-tar-build branch April 20, 2022 22:20
ffoulkes added a commit to ipdk-io/stratum-dev that referenced this pull request Jan 18, 2024
Signed-off-by: Derek G Foster <derek.foster@intel.com>
ffoulkes added a commit to ipdk-io/stratum-dev that referenced this pull request Jan 18, 2024
Signed-off-by: Derek G Foster <derek.foster@intel.com>
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.

Stratum is not buildable from a release tarball
1 participant