摘要:  前言: ​ 上两篇文章搭建好Docker Register、GitLab、GitLab Runner后,此次来通过之前用到NetCore项目来实现CICD。 来看之前的项目。依然以连接Mysql容器为实例。本次加入单元测试Api.Tests。 1、编写.gitlab CI.yml文件(需放到解决 阅读全文
posted @ 2020-02-02 11:33 罗智炼 阅读(536) 评论(1) 推荐(0)
摘要:  一、本地搭建 1、拉取registry 2、运行容器 访问http://localhost:5000/v2/_catalog 3、上传镜像 ①查看已有镜像 $$ $$ ②给要上传的镜像打标签 ③推送镜像 浏览http://localhost:5000/v2/_catalog http://loc 阅读全文
posted @ 2020-02-02 11:31 罗智炼 阅读(1187) 评论(1) 推荐(0)
摘要: 以下操作均在CentOs下操作 1、Gitlab install ① 启动gitlab hostname 当前服务器的域名 publish 24:22 SSH访问端口 默认22:22 publish 8888:8888 http访问的端口 默认是80:80 publish 443:443 http 阅读全文
posted @ 2020-02-02 11:29 罗智炼 阅读(2545) 评论(0) 推荐(0)