Ensure the tests image can clone when running as non-root
@@ -5,7 +5,9 @@ RUN make build WHAT=cmd/openshift-tests
FROM registry.svc.ci.openshift.org/ocp/4.0:cli
COPY --from=builder /go/src/github.com/openshift/origin/_output/local/bin/linux/amd64/openshift-tests /usr/bin/
-RUN yum install --setopt=tsflags=nodocs -y git util-linux && yum clean all && rm -rf /var/cache/yum/*
+RUN yum install --setopt=tsflags=nodocs -y git util-linux && yum clean all && rm -rf /var/cache/yum/* && \
+ git config --system user.name test && \
+ git config --system user.email test@test.com
LABEL io.k8s.display-name="OpenShift End-to-End Tests" \
io.k8s.description="OpenShift is a platform for developing, building, and deploying containerized applications." \
io.openshift.tags="openshift,tests,e2e"
