Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Add git binary to first docker stage for generating proper log headers#11651

Merged
denisgranha merged 1 commit into
masterfrom
denisgranha/docker-missing-vergen-params
Apr 27, 2020
Merged

Add git binary to first docker stage for generating proper log headers#11651
denisgranha merged 1 commit into
masterfrom
denisgranha/docker-missing-vergen-params

Conversation

@denisgranha
Copy link
Copy Markdown

Previous PR https://github.com/openethereum/openethereum/pull/11608 seems to not be enough.

Checking the vergen library repo https://github.com/rustyhorde/vergen#note-on-semver found that it relies on the git binary to extract the values of .git folder

This should solve the UNKNOWN values on the log header

…t also on the git binary

for generating COMMIT DATE and SHA reference used by the openethereum binary to display in the log. This commit
tries to solve it in the alpine docker image
@dvdplm dvdplm added the A0-pleasereview 🤓 Pull request needs code review. label Apr 27, 2020
Copy link
Copy Markdown
Collaborator

@eduadiez eduadiez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@denisgranha denisgranha merged commit f9633e6 into master Apr 27, 2020
@denisgranha denisgranha deleted the denisgranha/docker-missing-vergen-params branch April 27, 2020 10:40
dvdplm added a commit that referenced this pull request May 5, 2020
* master:
  Fix sccache server errors (#11675)
  Don't delete old db after migration (#11662)
  rename inject to drain_transaction_overlay (#11657)
  Drain the transaction overlay (#11654)
  vergen library seems to depend not only on the .git folder content but also on the git binary (#11651)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

A0-pleasereview 🤓 Pull request needs code review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants