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
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
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
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
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
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.
Basic proce ...
Posted by zfred09 on Thu, 24 Oct 2019 05:59:24 +0200
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
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'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.
Because git submodule foreach only operates on s ...
Posted by zingbats on Tue, 04 Jun 2019 23:15:03 +0200
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:
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