Gitlab 12.5 : Test stage fails: warning: Not a git repository.
Hello,
I try to understand, how this projects works to create proper Debian release packages, but the Test stage fails.
- VM Debian Stretch
- Gitlab 12.5 (Omnibus)
- Docker version 19.03.5, build 633a0ea838
- gitlab-runner 11.8.0 and tried gitlab-runner 12.5.0
I tried first my own package, but than I cloned the whole project and tried the same:
...
$ docker run --rm --interactive --volume /var/run/docker.sock:/var/run/docker.sock --volume $PWD:$PWD --workdir $PWD ${GITLAB_RUNNER_IMAGE} exec docker --docker-volumes "/var/run/docker.sock:/var/run/docker.sock" --env "HOSTNAME=$HOSTNAME" --env "CI_PROJECT_NAMESPACE=debian" --env "CI_PROJECT_NAME=pidcat" --env "CI_COMMIT_REF_NAME=`git symbolic-ref HEAD --short`" --env "CI_COMMIT_SHA=`git rev-parse HEAD`" test
Runtime platform arch=amd64 os=linux pid=6 revision=577f813d version=12.5.0
warning: Not a git repository. Use --no-index to compare two paths outside a working tree
usage: git diff --no-index [<options>] <path> <path>
....
I have no idea, on which point it breaks.
Is there a way to check, where it breaks ?
cu denny