gitlab版本: bitnami 8.1.4_x64
os: ubuntu 12.04_x64
仅在标题上,我通过ssh在gitlab和push代码上设置了一个repo,是好的,但是当我尝试通过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发布于 2015-11-26 16:49:55
这不是你的错,而是Bitnami包装中的一个bug。到目前为止,还没有正式的解决方案,但您可以实现如下所示的一些解决方案。你可以使用SSH,但我会等待一个合适的补丁程序。
更新:
Bitnami现在提供Gitlab 8.2.3-3。这解决了问题。
https://stackoverflow.com/questions/33752163
复制相似问题