GitLab
文章平均质量分 51
GitLab
饥饿者太白星君
吃了你哟!
展开
-
同步从github导入到gitlab的项目
如果是别人的项目,先fork到自己github账户下,然后用gitlab导入自己github上的代码。参考自:https://www.jianshu.com/p/0959d021c281(1)查看远程状态git remote -v(2)增加github仓库的remote (upstream 自己起的名字)git remote add upstream git@github.com:ZLMediaKit/ZLMediaKit.git(3)git pull upstream master原创 2021-10-15 10:24:58 · 1651 阅读 · 0 评论 -
gitlab删除.idea文件夹
git rm -r --cached .ideagit commit -m “delete .idea”git push无法删除原因:.idea被gitlab跟踪,且删除不影响项目building原创 2021-09-10 16:33:29 · 934 阅读 · 0 评论 -
GitLab CI-CD 配置记录(二)(group runner设置)
1. 使用管理员登陆GitLab2. 点击项目群组设置按照单个项目单个Runner的配置方法配置即可!原创 2021-05-13 17:57:41 · 1273 阅读 · 0 评论 -
GitLab CI-CD 配置记录(一)(Executor:Shell;project-specific runner)
1原创 2021-05-13 16:47:16 · 592 阅读 · 0 评论 -
.gitlab-ci.yml学习记录
0. 前言本文参考gitlab官方文档GitLab.com(13.12-pre)1. 关键字总结1.1 Job 关键字关键字简单描述after_script定义每个job后运行的命令,即使job失败了,也会执行(job超时和已取消时,无法执行)。before_script定义应在每次job之前运行的命令组 。script运行程序执行的Shell脚本。allow_failure允许job失败,失败的job不会导致pipeline(管道)失败 (all原创 2021-05-11 18:07:39 · 87 阅读 · 0 评论