随笔分类 -  Gitlab

Docker 版本gitlab-runner支持maven3(Ubuntu)
摘要:1.Dockerfile 如下,以便安装java8和maven3: FROM gitlab/gitlab-runner RUN echo "deb http://ppa.launchpad.net/natecarlson/maven3/ubuntu precise main" >>/etc/apt/ 阅读全文

posted @ 2016-12-27 14:06 傻子才悲伤 阅读(1778) 评论(0) 推荐(0)

Docker in Docker版本Gitlab CI Runner配置
摘要:1.构建新的gitlab-runner image,使用如下Dockerfile(ubuntu版本): 2.改变宿主机(centos) /var/run/docker.sock的用户组为root:root 3.启动gitlab-ci-runner 4.将新启动的容器中的gitlab-runner用户 阅读全文

posted @ 2016-12-16 15:23 傻子才悲伤 阅读(3453) 评论(0) 推荐(0)

CentOS Gitlab CI Runner配置
摘要:参照官方文档: https://docs.gitlab.com/runner/install/linux-repository.html 首先,下载配置yum repository信息: 然后,安装gitlab-ci-multi-runner: 最后,注册配置gitlab-ci runner: 其中 阅读全文

posted @ 2016-12-15 15:50 傻子才悲伤 阅读(3072) 评论(0) 推荐(0)

Gitlab CE Docker Image Too Large to Push
摘要:客户端上传时候显示错误: unauthorized: authentication required 显示错误为: Sep 28 22:12:55 docker4 dockerd: time="2016-09-28T22:12:55.510621993+08:00" level=error msg= 阅读全文

posted @ 2016-09-28 22:40 傻子才悲伤 阅读(767) 评论(0) 推荐(0)

Git linux下保存密码方法
摘要:vi ~/.git-credentials 输入以下内容: https://{username}:{password}@github.com 执行命令 git config --global credential.helper store vi ~/.gitconfig,末尾添加了一项: [cred 阅读全文

posted @ 2016-09-26 18:31 傻子才悲伤 阅读(441) 评论(0) 推荐(0)

Docker版本Omnibus Gitlab 加Lets Encrypt免费SSL一键搭建
摘要:首先使用下列文件gitlab_run.sh生成LetsEncrypt的certificate。 来源: https://github.com/flasheryu/docker-letsencrypt-nginx-proxy-companion-examples https://github.com/ 阅读全文

posted @ 2016-08-16 18:49 傻子才悲伤 阅读(1390) 评论(0) 推荐(0)

Omnibus Gitlab安装container registry报错
摘要:按照http://docs.gitlab.com/ce/administration/container_registry.html#container-registry-domain-configuration 官方文档配置gitlab.rb,结果报错: Recipe: gitlab::defau 阅读全文

posted @ 2016-08-08 13:28 傻子才悲伤 阅读(2788) 评论(0) 推荐(0)

Omnibus Gitlab 502错误
摘要:访问Gitlab显示502错误,/var/log/gitlab/nginx/gitlab_error.log显示以下错误: 2016/08/08 12:05:35 [error] 23746#0: *1 connect() to unix:/var/opt/gitlab/gitlab-workhor 阅读全文

posted @ 2016-08-08 12:13 傻子才悲伤 阅读(3712) 评论(0) 推荐(0)

Omnibus Gitlab CentOS 7使用Let's Encrypt配置免费ssl
摘要:首先安装omnibus gitlab,参照 https://about.gitlab.com/downloads/ 参照以下两篇文章结合配置: https://certbot.eff.org/#centosrhel7-nginx https://webnugget.de/setting-up-git 阅读全文

posted @ 2016-08-05 12:39 傻子才悲伤 阅读(828) 评论(0) 推荐(0)

导航