gitlab

remote: HTTP Basic: Access denied

江枫思渺然 提交于 2020-01-16 09:07:36
问题 Hi I'm facing access denied problem, I have updated SSL key, haven't changed password. I have this issue for all git remote operations for all the projects. can some one please assist. $ GIT_TRACE=1 git clone https://git.platform.manulife.io/conversational-channels/vivr-jacada-ui.git 08:49:35.481599 exec-cmd.c:237 trace: resolved executable dir: C:/Program Files/Git/mingw64/bin 08:49:35.483582 git.c:440 trace: built-in: git clone https://git.platform.manulife.io/conversational-channels/vivr

Go版本升级到1.13后拉取私有module依赖出现verifying 410 gone

旧城冷巷雨未停 提交于 2020-01-16 02:53:01
Go语言版本升级到1.13后拉取私有gitlab仓库module依赖竟然出现verifying 410 gone 翻阅Golang官方文档得知,是需要设置GOPRIVATE环境变量,这个变量需要指向gitlab私有仓库 windows10通过添加环境变量GOPRIVATE 顺利解决问题 来源: CSDN 作者: 宴宴于飞 链接: https://blog.csdn.net/Meiyang1990/article/details/103994951

gitlab安装及其汉化版

帅比萌擦擦* 提交于 2020-01-16 02:30:18
https://www.cnblogs.com/yanjieli/p/10605381.html /etc/gitlab/gitlab.rb #gitlab配置文件 /opt/gitlab #gitlab的程序安装目录 /var/opt/gitlab #gitlab目录数据目录 /var/opt/gitlab/git-data #存放仓库数据 gitlab-ctl reconfigure #重新加载配置 gitlab-ctl status #查看当前gitlab所有服务运行状态 gitlab-ctl stop #停止gitlab服务 gitlab-ctl stop nginx #单独停止某个服务 gitlab-ctl tail #查看所有服务的日志 Gitlab的服务构成: nginx: 静态web服务器 gitlab-workhorse 轻量级反向代理服务器 logrotate 日志文件管理工具 postgresql 数据库 redis 缓存数据库 sidekiq 用于在后台执行队列任务(异步执行) [root@gitlab ~]# vim /etc/gitlab/gitlab.rb #编辑配置文件 external_url 'http://192.168.1.21' #改为自己的IP地址 [root@gitlab ~]# gitlab-ctl reconfigure

Git拉取和提交到GitLab的命令

坚强是说给别人听的谎言 提交于 2020-01-16 02:09:26
GitLab简介 GitLab是类似于GitHub的 仓库管理系统 ,和GitHub一样,它能够提交/拉取代码,不同的是,GitLab可以部署在自己服务器上,数据库等信息是自己掌握的,适合团队内部协作开发。可以理解为个人版本的GitHub。 记录一下Git 拉取 和 提交 文件到GitLab的命令。 前提 下载安装Git 在GitLab上有账号 更改Git Bash的起始位置:右键属性,改为自定义文件夹workspace,作为本地git仓库 在GitLab上配置SSHKey。目的是使客户端和服务端建立信任,每次操作就不需要再重复输入密码。 具体操作: 首先需要在电脑上生成SSHKey, 使用命令 ssh-keygen -t rsa -C "xxx@xxx.com" (引号内填自己的邮箱)一路默认回车,最后就在.ssh目录下得到了两个文件:id_rsa(私有密钥)和id_rsa.pub(公有密钥),把id_rsa.pub的内容复制到GitLab的SSH key中。 上述命令和以下所有命令均在GIt Bash中执行。 拉取命令 git clone + 项目地址 (项目地址:在GitLab中打开项目后直接复制"Clone with SSH") git pull 是之后的更新:使用cd命令进入到项需要更新的仓库,用git pull即可更新到最新。 提交命令 git init

Prepublish not working as expected

╄→гoц情女王★ 提交于 2020-01-15 12:59:11
问题 I am testing on npm scripts to build my project dependency. My idea comes from https://github.com/ParsePlatform/parse-server which impressed me by code in repository doesn't mean code in node_modules after npm install . Below is my testmodule structure src/index.js package.json and this is my package.json content { "name": "testmodule", "version": "1.0.0", "description": "", "main": "lib/index.js", "scripts": { "build": "babel src/ -d lib/", "prepublish": "npm run build" }, "devDependencies":

git clone: fatal: unable to update url base from redirection:

冷暖自知 提交于 2020-01-15 10:27:20
问题 I am trying to clone the gitlab to my local library. While doing the cloning am getting the error, "fatal: unable to update url base from redirection: asked for:"," redirect:usersign link". Can any one let me know how to get resolve this issue 回答1: I was also facing the same issue and found that everything was correct from my end. Then i realized that i was not connected to my company's vpn. I tried after connecting the vpn and it worked. 来源: https://stackoverflow.com/questions/53886426/git

How to stop the job in gitlab-ci.yml when we have failure on previous stage

自古美人都是妖i 提交于 2020-01-15 09:11:38
问题 I have a sonar report, if quality gate passed then it will run for next stage and do deployment, if quality gates failed then stop the gitlab job. but in the job stages we have a rollback it will run when we have failure so in this case if sonar failed that rollback is executed. I want to stop the rollback execution. It should run only when we have deployment failure job stage which is basically next stage of sonar. image: maven-jdk-8 cache: paths: - ./.devops_test/ stages: - codescan -

Omnibus Gitlab version 7.4.3 at a custom relative_url_root (http://mydomain/gitlab)

旧街凉风 提交于 2020-01-15 07:44:08
问题 I have successfully installed older versions of gitlab and hosted them at a location like this: mydomain/gitlab with the new version of gitlab doing all of the config though the gitlab-ctl and via me editing the /etc/gitlab/gitlab.rb I'm not sure how to achieve this set-up. I find lots of documentation on stackexchange for older versions of gitlab that did not use gitlab-ctl for configuration but not for the new version. Presently I have gitlab installed and running fine at: mydomain I want

启动日志gitlab-rake gitlab:check SANITIZE=true --trace问题处理

微笑、不失礼 提交于 2020-01-15 02:09:38
[root@localhost bin]# ./gitlab-ctl restart [root@localhost bin]# gitlab-ctl stop ok: run: alertmanager: ( pid 26708 ) 0s timeout: run: gitaly: ( pid 24449 ) 2133s, got TERM timeout: run: gitlab-monitor: ( pid 22940 ) 6065s, got TERM ok: run: gitlab-workhorse: ( pid 27687 ) 1s ok: run: logrotate: ( pid 27716 ) 0s ok: run: nginx: ( pid 27734 ) 0s ok: run: node-exporter: ( pid 27745 ) 0s ok: run: postgres-exporter: ( pid 27769 ) 0s ok: run: postgresql: ( pid 27798 ) 0s ok: run: prometheus: ( pid 27829 ) 0s ok: run: redis: ( pid 27903 ) 0s ok: run: redis-exporter: ( pid 27936 ) 0s ok: run: sidekiq

Securing GitLab Pages with Let's Encrypt gets 404

不打扰是莪最后的温柔 提交于 2020-01-14 19:17:23
问题 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