Skip to content

Print the Git version for EE specific check

Lin Jen-Shin requested to merge print-git-version-in-ee-check into master

What does this MR do?

Print the Git version for EE specific check

Why was this MR needed?

One more clue to debug https://gitlab.com/gitlab-org/gitlab-ee/issues/5960

@leipert pulled the docker image we're using to run CI, he found:

root@a98b0439ea9e:/# which -a git
/usr/local/bin/git
/usr/bin/git
root@a98b0439ea9e:/# /usr/local/bin/git --version
git version 2.17.0
root@a98b0439ea9e:/# /usr/bin/git --version
git version 2.11.0

So it's possible that we're not picking the right Git. Let's make it clear.

Does this MR meet the acceptance criteria?

  • Tests added for this feature/bug
  • Review
    • Has been reviewed by Backend

What are the relevant issue numbers?

One more clue to debug https://gitlab.com/gitlab-org/gitlab-ee/issues/5960

@DouweM Please review? Thanks!

Merge request reports