mirror of https://github.com/containers/podman.git
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 <cevich@redhat.com>
This commit is contained in:
parent
cb09c26c65
commit
566b6071d4
|
@ -101,6 +101,10 @@ ext_svc_check_task:
|
||||||
else
|
else
|
||||||
git reset --hard $CIRRUS_CHANGE_IN_REPO
|
git reset --hard $CIRRUS_CHANGE_IN_REPO
|
||||||
fi
|
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
|
make install.tools
|
||||||
|
|
||||||
setup_script: &setup '$GOSRC/$SCRIPT_BASE/setup_environment.sh'
|
setup_script: &setup '$GOSRC/$SCRIPT_BASE/setup_environment.sh'
|
||||||
|
|
|
@ -41,6 +41,11 @@ cp hack/podman-registry /bin
|
||||||
# Make sure cni network plugins directory exists
|
# Make sure cni network plugins directory exists
|
||||||
mkdir -p /etc/cni/net.d
|
mkdir -p /etc/cni/net.d
|
||||||
|
|
||||||
|
# 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"
|
||||||
|
|
||||||
# Ensure that all lower-level contexts and child-processes have
|
# Ensure that all lower-level contexts and child-processes have
|
||||||
# ready access to higher level orchestration (e.g Cirrus-CI)
|
# ready access to higher level orchestration (e.g Cirrus-CI)
|
||||||
# variables.
|
# variables.
|
||||||
|
|
Loading…
Reference in New Issue