Not install gitlab
I added the variables that are required in the readme.md file as required and tried to run, but the gitlab installation was not successful:
Variables in .env:
In the logs (Maybe this help):
Initialized empty Git repository in /home/git/src/gitaly/.git/ From https://gitlab.com/gitlab-org/gitaly * tag v12.8.5 -> FETCH_HEAD HEAD is now at e111ee8 Update VERSION to 12.8.5 patching file ./config.toml.example mkdir -p _build/src/gitlab.com/gitlab-org cd _build/src/gitlab.com/gitlab-org && rm -f gitaly && \ ln -sf ../../../.. gitaly touch _build/.ok (cd _build && go mod init _build) go: creating new go.mod: module _build cd _build && go build -o /home/git/src/gitaly/_build/makegen /home/git/src/gitaly/_support/makegen.go # command-line-arguments loadinternal: cannot find runtime/cgo cd _build && ./makegen > Makefile fatal: No names found, cannot describe anything. 2020/03/10 01:42:31 error obtaining version from git: git describe: exit status 128 2020/03/10 01:42:31 Attempting to get the version from file cd _build && make install make: Entering directory '/home/git/src/gitaly/_build' cd /home/git/src/gitaly/ruby && bundle config # for debugging
yarn install v1.16.0 [1/5] Validating package.json... [2/5] Resolving packages... warning Resolution field "firstname.lastname@example.org" is incompatible with requested version "ts-jest@^23.10.5" [3/5] Fetching packages... info There appears to be trouble with your network connection. Retrying... info There appears to be trouble with your network connection. Retrying...
I also think it's worth pointing out that I initially installed to the rasberry pi 4, but it lacked RAM (for node), so I replaced in
overlay/usr/local/bin/setup.sh -export NODE_OPTIONS="--max_old_space_size=2200" +export NODE_OPTIONS="--max_old_space_size=4096"
The installation did not go much higher as the errors described above occurred. Also tried to replace the ruby version in the dockerfile from 2.6-alpine to 2.7-alpine (currently 2-alpine)
After that I tried to install it on my laptop, it has no problems with RAM, but the errors mentioned above still happened