Fading Coder

One Final Commit for the Last Sprint

Automating Project Deployment with GitLab Webhooks

User Permissions and Shell AccessAutomation scripts often run under the web server's user account (e.g., www-data or nginx). If the current shell user differs from the web server user, permission errors will occur during git pull operations. Switch to the web server user to configure the environment...

Setting Up GitLab and Jenkins for CI/CD Integration

Installing GitLab Obtaining GitLab Package Download the appropriate GitLab CE package from the Tsinghua University Open Source Mirror site: Index of /gitlab-ce/yum/el7/ Instaling Prerequisites Install required system dependencies: yum install -y curl policycoreutils-python openssh-server Enable and...

Deploying GitLab CE on CentOS 8 with Self-Signed SSL Certificates

sudo yum install -y curl openssh-server openssh-clients postfix Import the GitLab package repository and install the Community Edition: curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash sudo dnf install -y gitlab-ce Create a dedicated directory for T...

Setting Up a Private GitLab Instance on CentOS 7

This guide outlines the steps to deploy a private GitLab instance on a CentOS 7 system. Prerequisites Install required dependencies: sudo yum install curl policycoreutils openssh-server openssh-client sudo systemctl enable sshd sudo systemctl start sshd sudo yum install postfix sudo systemctl enable...

Setting Up GitLab Docker Environment on Windows 10

GitLab Community Edition (CE) does not current offer a dedicated installer package for Windows. Hence, one of the most straightforward methods too deploy GitLab on a Windows system is through Docker. This guide aims to provide a comprehensive walk-through of the installation process, making it acces...

Configuring and Managing Logs in GitLab

GitLab leverages an effective logging system to monitor and record operational activities. Below outlines the configuration and management of log files in the GitLab environment. Summary of Log Files GitLab organizes its logs into several categories, each located within specific directories: product...