IV. set up git server, install gitlab, use gitlab, backup and recovery of gitlab

I. build git server After all, github is open, and private warehouses have to pay for it. So we can find a way to build a private one for our own company. Gitlab is a good choice. Before introducing it, let's talk about the command line git server To find a server, you need to install git first. Here you have a new machine to install GIT. # yu ...

Posted by Graxeon on Sat, 09 Nov 2019 10:16:12 +0100

Realize your own Protobuf Any

Preface In some cases, google.protobuf.Any is not so convenient. I hope it has more convenient design. From the source code of protobuf, we can easily know that google.protobuf.Any is also a proto class, which can be completely replaced by its own defined proto class. Any of Protobuf: google.Protobuf.any google.protobuf.Any is also defined by t ...

Posted by Sikk Industries on Fri, 01 Nov 2019 07:03:05 +0100

[Kubernetes series] Part 7: component deployment of CI/CD

Preface In response to the needs of agile development, a higher standard is proposed for ci (continuous integration) / CD (continuous delivery). Today, we will discuss how to use CI/CD based on open source components (gitlab/jenkins/harbor/kubernetes) to enable the development, operation and maintenance of the team. Core components Basic proce ...

Posted by zfred09 on Thu, 24 Oct 2019 05:59:24 +0200

No secret: teach you how to build your own GitLab library by hand

01 Preface In this article, Gitlab is installed as the host mode. For more installation methods, Click https://git.lug.ustc.edu.cn/help/install/README.md 02 Architecture Architecture overview: Unicorn: Handles requests for the web interface and API, general gitlab site, mostly due to problems with this service Sidekiq: Background jobs proce ...

Posted by vynsane on Wed, 18 Sep 2019 04:40:42 +0200

git tag operation on submodule multi-module (and synchronization to remote branch)

Preface git's operation on multiple modules requires the following commands git submodule foreach Simply add the required operations to the back, and they will be executed module by module. For example: git submodule foreach git stash It traverses all the sub-modules and stores them. Fight tag Because git submodule foreach only operates on s ...

Posted by zingbats on Tue, 04 Jun 2019 23:15:03 +0200

Gitlab Settings Database-yellowcong

To be honest, Gitlab's database configuration is quite complex, and there are many configuration files that need to be modified. The main steps are as follows: 1. Creating a database. 2. Add database configuration in / etc/gitlab/gitlab.rb file. 3. Install mysql dependency on gitlab. 4. Execute gitlab-rake gitlab:check to ch ...

Posted by praveenhotha on Sun, 19 May 2019 10:09:28 +0200

Troubleshooting Gitlab-runner Build Failures

Troubleshooting Gitlab-runner build failures: Causes of the problem: Automated build based on gitlab ci. job runs with errors when merge_requests request is initiated to start building. It is officially recommended to upgrade gitlab-runner version. Build runs with errors after version upgrade. The errors are as follows: Running with gitlab-run ...

Posted by aod on Fri, 17 May 2019 02:11:47 +0200