Skip to content

Commit

Permalink
Merge pull request #2769 from ncdc/fix-prow-git-issue
Browse files Browse the repository at this point in the history
🌱 Fix git in Prow
  • Loading branch information
ncdc committed Feb 8, 2023
2 parents b9f1494 + bc5deb3 commit 561880e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@
# We need bash for some conditional logic below.
SHELL := /usr/bin/env bash -e

#-----------------------------------------------------------------------------
# Workaround git issues on OpenShift Prow CI, where the user running in the
# job is not guaranteed to own the repo checkout.
#-----------------------------------------------------------------------------
ifeq ($(CI),true)
$(shell git config --global --add safe.directory '*')
endif

GO_INSTALL = ./hack/go-install.sh

TOOLS_DIR=hack/tools
Expand Down

0 comments on commit 561880e

Please sign in to comment.