Skip to content

Commit 7b0ceb9

Browse files
authored
Fix in-docker to not error out with VCS status (#4183)
error obtaining VCS status: exit status 128 Use -buildvcs=false to disable VCS stamping. fixed by setting environment variable Signed-off-by: Alexander Wels <awels@redhat.com>
1 parent dfe1248 commit 7b0ceb9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

hack/build/in-docker.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ ${CDI_CRI} run ${USE_TTY} \
3636
-e RUN_UID=$(id -u) \
3737
-e RUN_GID=$(id -g) \
3838
-e KUBEVIRTCI_RUNTIME=${KUBEVIRTCI_RUNTIME} \
39+
-e GIT_CONFIG_PARAMETERS="'safe.directory=/go/src/kubevirt.io/containerized-data-importer'" \
3940
-e GOCACHE=/gocache \
4041
-w ${WORK_DIR} \
4142
${BUILDER_IMAGE} "$1"

0 commit comments

Comments
 (0)