我和Gitlab有问题。我使用下面的指南来安装和配置Gitlab https://github.com/gitlabhq/gitlab-recipes/blob/master/install/centos/README.md。安装似乎进行得很顺利。这个网络应用程序似乎运行良好。但是我不能克隆,拉,推,基本上我不能使用Gitlab。在尝试在SSH上克隆时,我看到了带有HTTP和拒绝权限的403个错误。
我已经确保我的私钥在Windows和OS上都是正确设置的。我可以看到服务器上的公钥。我在~/.ssh.config中将以下内容添加到配置文件中
Host {hostname}
User g
我刚刚尝试在GitLab回购上推送master,但由于remote: GitLab: You are not allowed to push code to protected branches on this project.查看,我的推送被拒绝了,看起来我可能是一个“开发人员”。
GitLab UI中是否有某个地方可以告诉我我对项目的访问级别和/或完整的权限列表?
我同时使用git bash和VS代码连接到我的gitlab存储库。在我创建了一个新的repo并尝试通过git bash在本地克隆它之前,一切都运行得很好。我收到的错误是:
git@gitlab.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我尝试更改./ssh文件夹和公钥的权限,向代理添加ssh,但这些都不起作用。
执行s
最近,我开始开发一个Raspberry Pi 2来托管一些简单的and应用程序,并托管一个gitlab服务器。在我想克隆gitlab的回购之前,两者似乎都很好。也就是说,我试图在我的RasPi2上克隆一个回购程序,它是托管在我的RasPi2上的。我生成了一个ssh密钥,并将它添加到我的gitlab帐户中。然后,我试图克隆一个回购,但我得到了不断拒绝错误的许可。
为了过关:每个命令都在我的RasPi2上执行;我通过我的普通桌面pc通过ssh连接到它。
任何帮助清理这将是很好的,谢谢提前。
我在一台旧的pc上运行了一个x86,并安装了BitnamiGitLab5.3。
下面是我在SSH模式下推送第一个主分支时的错误消息:
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
(它在带有gitlab web仪表板凭据的http协议中工作)
我已经和bitnami-installer.run用户一起启动了root,所以我认为所有的文件都是用/opt而不是/home (这是一个很好的过程吗
我完成了所有步骤,无法连接到远程存储库。
我将ssh键添加到我的GitLab帐户中,但是我有错误:
user@gitlab.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
全部产出:
user@DESKTOP MINGW64 ~/Desktop/instabot (master)
$ ssh-keygen -t rsa -
使用Azure文件存储挂载在ACI中运行gitlab实例。
这是容器的输出:
storage_directory[/var/opt/gitlab/.ssh] (gitlab::gitlab-shell line 38) had an error: Mixlib::ShellOut::ShellCommandFailed: ruby_block[directory resource: /var/opt/gitlab/.ssh] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.r
我已经注册了Gitlab的跑步者
我在Gitlab CI的工作待定
This job is stuck because you don't have any active runners online or available with any of these tags assigned to them: fluffa-docker
我的gitlab-ci.yml
stages:
- build
- deploy-stage
build:
stage: build
tags:
- fluffa-docker
这是我的标签
image: dock
我的/etc/ssh/ssh_config文件中有以下设置:
Host serverA
User idA
Host serverB
User idB
ProxyJump serverA
我还复制了公钥,所以如果我在本地运行ssh serverB,我就可以通过serverA以idB的身份正确地连接到serverB。
现在,下面是我在/etc/gitlab-runner/config.toml中的运行程序配置
[[runners]]
name = "ssh-runner-1"