gitlab 版本:bitnami gitlab-8.1.4_x64
操作系统:ubuntu 12.04_x64
只是标题,我在 gitlab 上设置了一个存储库并通过 ssh 推送代码是可以的,但是当我尝试通过 http 克隆时,我得到一个空存储库。 我试图在 /etc/gitlab/gitlab.rb 中添加 nginx 项目,但它没有用。任何人都可以给我一些帮助吗?太感谢了!
nginx['enabled'] = false
gitlab_git_http_server['listen_network'] = "tcp"
gitlab_git_http_server['listen_addr'] = "localhost:80"
同时,如果我尝试从网页下载 zip,我会得到以下信息。
{"RepoPath":"/opt/gitlab-8.1.4-0/apps/gitlab/repositories/wy/demo.git","ArchivePrefix":"demo-master-15fa55ea4cbd9a1368b2de6cda77b457e85f1573","ArchivePath":"/opt/gitlab-8.1.4-0/apps/gitlab/htdocs/tmp/repositories/demo.git/demo-master-15fa55ea4cbd9a1368b2de6cda77b457e85f1573.zip","CommitId":"15fa55ea4cbd9a1368b2de6cda77b457e85f1573"}
使用gitlab-ci-multi-runner时,我会遇到问题
gitlab-ci-multi-runner 0.6.0 (4d8b5c2)
Using Shell executor...
Running on common...
Cloning repository...
Cloning into 'builds/e26b4ecf/0/wy/demo'...
warning: You appear to have cloned an empty repository.
Checking out 15fa55ea as master...
fatal: reference is not a tree: 15fa55ea4cbd9a1368b2de6cda77b457e85f1573
ERROR: Build failed with: exit status 1