bitnami gitlab 8.1.4-0 gitl clone via http error :empty repo and download zip via webpage error
bitnami gitlab 8.1.4-0 gitl clone via http error :empty repo and download zip via webpage error
gitlab版本:bitnami gitlab-8.1.4_x64
os: ubuntu 12.04_x64
只是标题,我在 gitlab 上设置了一个 repo,通过 ssh 推送代码是可以的,但是当我尝试 通过 http 克隆时,我得到一个空的代表os政府。
我试图在 /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
这不是你的错,这是 Bitnami 打包中的错误。到目前为止还没有正式的解决方案,但你可以implement some workarounds as seen here。您可以使用 SSH,但我会等待一个像样的补丁。
更新:
gitlab版本:bitnami gitlab-8.1.4_x64
os: ubuntu 12.04_x64
只是标题,我在 gitlab 上设置了一个 repo,通过 ssh 推送代码是可以的,但是当我尝试 通过 http 克隆时,我得到一个空的代表os政府。 我试图在 /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
这不是你的错,这是 Bitnami 打包中的错误。到目前为止还没有正式的解决方案,但你可以implement some workarounds as seen here。您可以使用 SSH,但我会等待一个像样的补丁。