From 566b6071d42984fc401cfb297900d7b1498e11c7 Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Tue, 1 Mar 2022 15:34:35 -0500 Subject: Cirrus: Fix missing git-enforced runtime identity Newer versions of git (like `2.35`) fail on certain operations (like `rebase` and `am`) without a local identity. Add a fake one from the start, with a clearly identifiable test-value to avoid problems at runtime. Signed-off-by: Chris Evich --- .cirrus.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.cirrus.yml') diff --git a/.cirrus.yml b/.cirrus.yml index c984c8859..cf97f4467 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -101,6 +101,10 @@ ext_svc_check_task: else git reset --hard $CIRRUS_CHANGE_IN_REPO fi + # Some test operations & checks require a git "identity" + _gc='git config --file /root/.gitconfig' + $_gc user.email "TMcTestFace@example.com" + $_gc user.name "Testy McTestface" make install.tools setup_script: &setup '$GOSRC/$SCRIPT_BASE/setup_environment.sh' -- cgit v1.2.3-54-g00ecf