重新启动gitlab时,我得到这个: Starting both the GitLab Unicorn and Sidekiqbundler: command not found: unicorn_rails Install missing gem executables with `bundle install 我安装gitlab 6.3.0与ruby1.9.3在我6.3分钟6.3。 我试图从用户'git': 捆绑安装 – 无需开发testingpgsql – 不需要部署 我得到这个: input您的密码以将捆绑的RubyGems安装到您的系统中: 这是要求sudo特权。 然后它为许多包(gem),并失败。 An error occurred while installing i18n (0.6.5), and Bundler cannot continue. Make sure that `gem install i18n -v '0.6.5'` succeeds before bundling. 任何帮助将不胜感激。 谢谢。 […]
我已经在下面的path/home/git/gitlab/设置了我的unbuntu ubuntu 12.04 lts服务器上的GitLab 。 我正在使用nginx服务器。 这是我的gitlab状态 root@c27-76:/etc# sudo service gitlab status The GitLab Unicorn web server with pid 3187 is running. The GitLab Sidekiq job dispatcher with pid 3197 is running. GitLab and all its components are up and running. 我无法为gitlab设置子域。 我想要一个像gitlab.domain.com这样的域名。 这是我在/ etc / nginx / sites-avaliable上的gitlab文件 server { listen 80; ## listen […]
GitLab的9.0版本带来了子组 。 但是,在可能的子组之前,我们通过使用前缀来解决这个限制,例如 FOO / … FOO酒吧/ … FOO-Bax蛋白/ … FOO-中Bax QUUX / … … 不过,正确的成员/angular色pipe理是一场噩梦。 所以,现在新的子组已经可用了,如果可以将现有的组作为子组移动到另一个子组,那将是非常好的。 但是,我还没有find一个选项来做到这一点。 我们可以手动创build这些子组,然后手动传输所有项目,但是这似乎比应该更复杂。 是否可以将现有的组作为子组移动到另一个组?
我有一个运行Gitlab CE安装LDAP身份validation。 现在我想限制基于组成员资格的访问。 选项user_filter似乎是一个select。 但是,我似乎无法让任何人被允许根据组成员login。 我试过的是( gitlabaccess是应该被允许login的组): user_filter: '(&(objectclass=group)(samaccountname=gitlabaccess))' 要么: user_filter: '(memberOf=cn=gitlabaccess,DC=my,DC=domain,DC=com)' 该文件声明以下,但它也不起作用,我不知道应该是什么数字: user_filter: '(memberOf:1.2.840.113556.1.4.1941:=cn=gitlabaccess,DC=my,DC=domain,DC=com)' 特定用户的工作是这样的: user_filter: '(&(objectclass=user)(samaccountname=jon.doe))' 从omnibus软件包安装的Gitlab CE版本9.5.5。 如何限制基于LDAP组成员资格的访问Gitlab?
我的虚拟机上安装了Linux Ubuntu 14.04。 最近我已经使用GitLab 网站上的说明安装了GitLab 7.8.2,并且遇到了使Gitlab发送邮件的问题。 例如,当我尝试使用Web界面创build新用户时,我没有从服务器获取任何确认邮件。 我为我的环境configuration了postfix(设置“mynetworks”,“myhostname”),并成功使用sendmail将testing邮件发送到我的雅虎帐户。 我将这行添加到文件/opt/gitlab/embedded/service/gitlab-ci/config/environments/production.rb : config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { address: "127.0.0.1", port: 25, enable_starttls_auto: false } 我在注册到我的GitLab实例时尾巴/var/log/mail.log ,并设法看到GitLab实际上与后缀交互,但不成功。 日志build议操作不成功,因为IP被阻塞了,但我不认为这是正确的,因为我可以使用sendmail命令发送邮件。 /var/log/mail.log: Mar 6 10:58:32 ubuntu postfix/qmgr[12506]: 5BEE724E74: from=<gitlab@ubuntu>, size=630, nrcpt=1 (queue active) Mar 6 10:59:02 ubuntu postfix/smtp[19746]: connect to example.com[93.184.216.34]:25: Connection timed out Mar 6 10:59:02 ubuntu postfix/smtp[19746]: connect […]
正如在标题,我的网站,git.mad3ngineer.net转发到www.mad3ngineer.net。 不过,我的ci.mad3ngineer.net使用相同的系统,但工作得很好… 这个网站可以在http://git.mad3ngineer.net上看到,你可以看到它转发到默认网站,这个网站目前只是一个简单的html文档。 但是,如果你inputhttp://ci.mad3ngineer.net它神奇的作品! 而且,更何况…如果你添加/用户/ sign_in git.mad3ngineer.net …像这样:git.mad3ngineer.net/users/sign_in它神奇的作品,以及:O …这怎么可能是? 我究竟做错了什么? 我已经重新启动服务器,重新加载configuration,我不明白我做错了什么。 这是我的nginx站点configuration文件: upstream gitlab { server unix:/var/opt/gitlab/gitlab-rails/sockets/gitlab.socket; } upstream gitlabci { server unix:/var/opt/gitlab/gitlab-ci/sockets/gitlab.socket; } server{ listen 80 default_server; server_name 192.168.1.10 mad3ngineer.net www.mad3ngineer.net; root /var/www/mad3ngineer.net; location / { index index.php index.html index.htm; } location /gitlab { rewrite ^/gitlab/(.*) http://git.mad3ngineer.net$1 break; } location ~ \.php$ { try_files […]
我们希望有一个自主的松散替代scheme(mattermost,rocket.chat),但将其隐藏在VPN之后对于我们的一些用户来说是不舒服的。 如果不是公开的,我会觉得更安全,但是真的有多危险? 我相信这个问题可以应用于所有开发应用程序,如:gitlab,redmine等
我们在基础架构中使用GitlabHQ和Gitlab-CI。 有了这样的持续集成,我们愿意定制CI中的构build逻辑。 现在在新的提交GitlabHQ触发CI的钩子,它告诉gitlab-ci-runner运行构build或testing。 亚军有一个硬编码的逻辑(至less不能在Web UI中定制),并且在运行用户定义的脚本之前发出这些命令: cd $ HOMEDIR / gitlab-ci-runner / tmp / builds && git clone git @ $ GITLABSERVER:root / test1.git project-1 && cd project-1 && git checkout $ COMMIT cd $ HOMEDIR / gitlab-ci-runner / tmp / builds / project-1 && git reset –hard && git checkout $ COMMIT 然后用户定义的脚本去 我想要什么: 自定义传递给git的选项 […]
我在CentOS6.5服务器上使用GitLab Omnibus。 gitlab nginx服务器监听6543端口(Apache已经使用80和443)。 我想使用Apache作为反向代理来访问GitLab的地址:gitlab.example.com而不是example.com:6543 所以我添加一个Apache虚拟主机,这里是configuration: <IfModule mod_ssl.c> <VirtualHost *:443> ServerAdmin [email protected] ServerName gitlab.example.com ServerSignature Off CustomLog /var/log/httpd/gitlab_access.log combined ErrorLog /var/log/httpd/gitlab_error.log ErrorLog syslog:local2 <IfModule mod_proxy.c> ProxyVia On ProxyRequests Off ProxyPass / https://example.com:6543/ ProxyPassReverse / https://example.com:6543/ ProxyPreserveHost Off <Proxy *> Options FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Proxy> </IfModule> # SSL Config SSLCertificateFile […]
我有GitLab的nginx设置在127.0.0.1:8088听。 然后我有一个系统nginx(通过Ubuntu上的apt-get安装)作为反向代理与HTTPS设置: upstream gitlab { server localhost:8088 fail_timeout=0; } server { listen 80; server_name gitlab.myhost.com; return 301 https://$server_name$request_uri; } # let gitlab deal with the redirection server { listen 443 ssl; server_name gitlab.myhost.com; ssl_certificate /srv/www/gitlab.myhost.com.unified.crt; ssl_certificate_key /srv/www/gitlab.myhost.com.key; location / { proxy_read_timeout 300; proxy_connect_timeout 300; proxy_redirect off; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; […]