gitlab

Securing GitLab Pages with Let's Encrypt gets 404

我只是一个虾纸丫 提交于 2020-01-14 19:16:31
问题 I am following this tutorial https://about.gitlab.com/2016/04/11/tutorial-securing-your-gitlab-pages-with-tls-and-letsencrypt/ Next step instructions are: Make sure your web server displays the following content at http://YOURDOMAIN.org/.well-known/acme-challenge/5TBu788fW0tQ5EOwZMdu1Gv3e9C33gxjV58hVtWTbDM before continuing: 5TBu788fW0tQ5EOwZMdu1Gv3e9C33gxjV58hVtWTbDM.ewlbSYgvIxVOqiP1lD2zeDKWBGEZMRfO_4kJyLRP_4U # # output omitted # Press ENTER to continue According to the tutorial, it's using

Failing gitlab CI due to “no such file or directory”

帅比萌擦擦* 提交于 2020-01-14 03:12:43
问题 I'm attempting to have my .gitlab-ci.yml file use an image off the Gitlab container registry. I have successfully uploaded the Dockerfile to the registry and I can pull the image from the registry on my local machine and build a container just fine. However, when using the image for my .gitlab-ci.yml file, I get this error: Authenticating with credentials from job payload (GitLab Registry) standard_init_linux.go:190: exec user process caused "no such file or directory" I've seen a bunch of

git和gitlab安装

自古美人都是妖i 提交于 2020-01-14 02:31:11
1.下载git最新包 https://mirrors.edge.kernel.org/pub/software/scm/git/ 将最新包上传至服务器/home目录 tar -Jxvf 解压 进入git目录 ./configure --prefix=/usr/local/git make make install 错误解决:Can't locate ExtUtils/MakeMaker.pm in @INC yum install perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker yum -y install gcc automake autoconf libtool make 2.下载gitlab https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/ rpm -ivh gitlab-ce-10.8.4-ce.0.el7.x86_64.rpm #vim /etc/gitlab/gitlab.rb external_url 'http://ip:port' #配置仓库地址,生成的仓库地址是根据这个来的,如果这里不写明端口号的话,生成的仓库地址每次都要手动修改端口号 gitlab-ctl reconfigure # 使配置生效 gitlab-ctl start gitlab-ctl

本地项目上传到gitlab

不问归期 提交于 2020-01-14 01:13:57
分为两部曲: 一、本地生成ssh 绑定到gitlab 里的个人settings中。 a、桌面随便一个目录右击Git Bash Hear b、cd ~/.ssh/ 如果提示.ssh文件不存在【 No such file or directory”】 就新建一个 mkdir ~/.ssh c、配置全局的name和email 复制到git命令行: git config --global user.name“周锐” git config --global user.email“ zhourui9797@163.com” d、生成秘钥key ssh-keygen -t rsa -C“ zhourui9797@163.com” 生成好了: 绑定到gitlab个人settings中 二:第二部 开始上传本地代码 a、右击所上传的项目文件夹Git Bash Hear 输入以下命令 git config --global user.name "" git config --global user.email "" git init git remote add origin 项目地址 git add . git commit -m "Initial commit" git push -u origin master 来源: https://www.cnblogs.com/zrboke/p

Gitlab refuses to create remote repositories

谁说我不能喝 提交于 2020-01-13 20:49:06
问题 I have installed gitlab 6.5 using this guide. I have run sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production and everything is green. The problem is I can't clone or push stuff to the server with HTTP. I saw that the server is not creating a git repository in the folder, but only the wiki.git. I can push and pull to the wiki.git? 来源: https://stackoverflow.com/questions/21486040/gitlab-refuses-to-create-remote-repositories

Gitlab refuses to create remote repositories

旧街凉风 提交于 2020-01-13 20:48:50
问题 I have installed gitlab 6.5 using this guide. I have run sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production and everything is green. The problem is I can't clone or push stuff to the server with HTTP. I saw that the server is not creating a git repository in the folder, but only the wiki.git. I can push and pull to the wiki.git? 来源: https://stackoverflow.com/questions/21486040/gitlab-refuses-to-create-remote-repositories

How to add webhooks in gitlab for multibranch pipeline jenkins

折月煮酒 提交于 2020-01-13 12:13:13
问题 I want to trigger multi-branch pipeline for every push, can anyone please let me know can how can we configure web-hooks in gitlab for multi-branch pipeline. 回答1: If you were wondering where the trigger setting is in Multibranch pipeline job settings, this will answers it: Unlike other job types, there is no 'Trigger' setting required for a Multibranch job configuration; just create a webhook in GitLab for push requests which points to the project's webhook URL. Source: https://github.com

How to prevent git commit --no-verify command?

混江龙づ霸主 提交于 2020-01-13 10:43:35
问题 I would like to setup a pre-commit hook for all git repos to validate syntax errors using jshint and phplint. But the issue is that the git has a feature which can skip pre-commit hook from happening by using --no-verify flag. But i don't need to use that option. Can i prevent that --no-verify flag for git Please suggest a way. 回答1: First off: you can't definitively prevent someone from passing the --no-verify option. That said, it's a good practice to use pre-commit hooks for linting, and it

How to prevent git commit --no-verify command?

空扰寡人 提交于 2020-01-13 10:43:10
问题 I would like to setup a pre-commit hook for all git repos to validate syntax errors using jshint and phplint. But the issue is that the git has a feature which can skip pre-commit hook from happening by using --no-verify flag. But i don't need to use that option. Can i prevent that --no-verify flag for git Please suggest a way. 回答1: First off: you can't definitively prevent someone from passing the --no-verify option. That said, it's a good practice to use pre-commit hooks for linting, and it

Graphs lost after upgrading to Gitlab 6.0

旧巷老猫 提交于 2020-01-13 05:35:51
问题 Yesterday I've upgraded my Gitlab installation from 5.3 to 6.0 (technically from 5.3 to 5.4 and 5.4 to 6.0), and I can't display Network and other Graphs since then. On the network page it seems some Javascript is not loaded, as I got a 'Network is not defined' error. Graphs seems to be a different issue, but I can't find anything in the logs. Is it a bug or I did something wrong? Both functions were working fine before the upgrade. 回答1: This seems to be a bug in GitLab. It breaks when it