gitlab バージョン: bitnami gitlab-8.1.4_x64
OS: 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"
同時に、Web ページから 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