Page MenuHomePhabricator

[CI] Set default git user and email during setup
ClosedPublic

Authored by jasonbcox on Oct 5 2020, 23:45.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC63d110c7b254: [CI] Set default git user and email during setup
Summary

Git has a hard requirement that user name/email is configured for
any operation that creates a commit. Since this is practically always configured
during local testing, it's easily missed as a requirement for these types of
operations to work as expected in CI.

To ensure these operations just work, we can set a sane default. Any config
differing from the norm can be reconfigured after setup.

Test Plan

Run the setup script in a fresh Debian container and verify:

git config user.name
git config user.email

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable