Skip to content

Commit

Permalink
Merge pull request #17659 from cevich/fix_bud_git_config
Browse files Browse the repository at this point in the history
Cirrus: Fix git config permission denied
  • Loading branch information
openshift-merge-robot authored Mar 1, 2023
2 parents 69ba354 + 6babef5 commit 86a0e44
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/buildah-bud/run-buildah-bud-tests
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,13 @@ if [[ -n $do_checkout ]]; then
# under automation, nobody cares about this condition or message, because
# the environment is disposable.
if [[ "$CI" == "true" ]]; then
git config --system --add safe.directory $buildah_dir
(
_gc='git config --global'
set -x
$_gc user.email "[email protected]"
$_gc user.name "Testy McTestface"
$_gc --add safe.directory $buildah_dir
)
fi

cd $buildah_dir
Expand Down

0 comments on commit 86a0e44

Please sign in to comment.