创建jenkins job, 源代码管理选Git,Repository URL 填写你 gitlab 上源码 repo 的地址,Credentials 是拉取代码时需要用到的身份认证 构建触发器选择 “Build when a change is pushed to GitLab” (记住后面的GitLab webhook URL 后面要填在gitlab的webhooks中),按照下面勾选 同时点击“高级”,“Allowd branche...
创建jenkins job, 源代码管理选 Git,Repository URL 填写你 gitlab 上源码 repo 的地址,Credentials 是拉取代码时需要用到的身份认证 image.png 构建触发器选择 “Build when a change is pushed to GitLab” (记住后面的GitLab webhook URL 后面要填在gitlab的webhooks中),按照下面勾选 同时点击“高级”,“A...
- dotnet pack "src/Yee.Change.EventRecorder.Domain.Shared/Yee.Change.EventRecorder.Domain.Shared.csproj" -c Release --no-build -o $EVENT_RECORDER_NUPKG_OUTPUT_DIR -p:PackageVersion=$EVENT_RECORDER_VERSION_ID - dotnet pack "src/Yee.Change.EventRecorder.EntityFrameworkCore/Yee.Change.EventRecorder...
打开:https://jqplay.org/ 利用语法: .[].ssh_url_to_repo 得到git 地址列表(示范用,没获取全部git地址),我们可以随时往脚本里添加项目列表,然后执行命令下载😬。 代码语言:javascript 复制 "git@jihulab.com:gitlab-cn/let-me-create-gitlab-board-for-you.git""git@jihulab.com:gitlab-cn/gitlab-sv...
进入Jenkins 流水线,选择 Build when a change is pushed to Gitlab. XXXXXXX 。 点击高级,复制 Secret token。如果需要限制触发流水线运行的分支,可以按需修改 Allowed braches 。 打开需要自动触发的 Gitlab 库,配置 webhook 。
chmod +x /etc/keepalived/change_drbd.sh chmod +x /etc/keepalived/check_gitlab.sh 1. 2. 启动keepalived systemctl start keepalived 1. 查看状态 systemctl status keepalived 1. 查看日志 tailf /var/log/messages 1. 启动keepalived后,浮动IP应该是在备节点上面,因为主节点没有启动gitlab服务,keepalived在...
I updated the repo url in capistrano and tried to deploy but it errored out. I looked at repo folder on the remote host and the repo url was from before my update. I do not have the logs anymore, sorry. This interesting, because, as you mentioned, the change has been already ...
external_url 'http://192.168.1.24' 改为: external_url 'http://gitlab.kevin.com' 2)其次将下面两文件中的192.168.1.24全部替换为gitlab.kevin.com /var/opt/gitlab/gitlab-shell/config.yml /var/opt/gitlab/gitlab-rails/etc/gitlab.yml 下面两文件都是上面两文件的软链接,修改上面两个文件即可 [...
4.1我们可以使用gitlab自带的backup命令进行备份。在gitlab的help文档里面有相关的说明,URL地址是: http://your-gitlab-server/help/raketasks/backup_restore.md 利用gitlab的backup机制会生成一个名为[TIMESTAMP]_gitlab_backup.tar的tar文件,这个tar文件会包含所有的数据库数据、所有的repo数据,以及所有的附件。TI...
external_url 'http://192.168.8.127' # 备份配置 gitlab_rails['manage_backup_path'] = true gitlab_rails['backup_path'] = "/data/gitlab/backups" gitlab_rails['backup_archive_permissions'] = 0644 # 备份有效期,单位为秒,比如如下7天 ,也可以根据自己实际情况来做异地转存 ...