docker installs Chinese version of gitlab (Reprint)

1.pull image in Chinese: docker pull beginor/gitlab-ce:11.3.0-ce.0 2. Create directory: Generally, GitLab's configuration (etc), log (log) and data (data) are placed outside the container for later upgrade, so please prepare these three directories first. mkdir -p /usr/local/gitlab/etc mkdir -p /usr/local/gitlab/log mkdir -p ...

Posted by KeitaroHimura on Tue, 28 Apr 2020 06:14:24 +0200

Artifact & GitLab CI continuous integration practice

GitLab CI enables you to create multiple builds and evaluate whether each code submission passes the test and the impact on your product. In the process of building, a large number of binary files will be generated. If these files are not managed correctly on a large scale, the binary file management will be confused. In order to overcome thi ...

Posted by cullouch on Wed, 19 Feb 2020 12:26:13 +0100

Build gitlab and deploy gitlab runner

1. Build gitlab. Before installing gitlab from yum, 502 errors were reported all the time after installation. Baidu tried online but still couldn't use it; So this time, it is deployed in docker, as follows: docker run --detach --hostname gitlab.forebix.com --publish 4433:443 --publish 10080:80 --publish 8022:22 --name gitlab --rest ...

Posted by Lashiec on Sat, 09 Nov 2019 16:11:42 +0100

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