How to Backup Gitlab

Introduction

The following article has a specific content to show how to backup Gitlab. According to its official website in this link, GitLab is a complete DevOps platform, delivered as a single application. It  has lots of features from project planning and source code management to CI/CD, monitoring, and security. Another specific information about Gitlab is available in Wikipedia specifically in this link.

According to the information in Wikipedia, Gitlab is a web-based DevOps lifecycle tool providing Git-repository manager including wiki, issue-tracking and CI/CD pipeline features. It is using an open-source license. Nowadays, Gitlab Inc. is the one responsible for developing Gitlab. Initially, in its early days, Dmitriy Zaporozhets and Valery Sizov was the creator of this software. Currently, several large tech companies including IBM, Sony, NASA, Alibaba, Oracle, Invincea, O’Reilly Media is using Gitlab.

Continue reading

How to Backup Gitlab Repository

Introduction on the Gitlab

As specifies in the title of the article, the content of this article is about how to backup Gitlab repository. Before proceeding into the actual backup process, first of all there is an description about gitlab. Referring to the Gitlab official website in this link, there is a certain definition of the GitLab itself. According to the page, Gitlab is the first single application built from the ground up for all stages of the DevOps lifecycle. Those stages including all of the people from all areas. It involves the Product, Development, QA, Security, and Operations teams to work concurrently on the same project using Gitlab.

Continue reading

How to Install Gitlab Runner in Linux Ubuntu 18.04 Bionic Beaver

Introduction to Gitlab Runner

This is an article showing how to install Gitlab Runner in Linux Ubuntu 18.04 Bionic Beaver. Before going further to the installation process, the first step is know what Gitlab Runner is. According to the information in the official Gitlab Runner website in this link, GitLab Runner is the open source project that is used to run your jobs and send the results back to GitLab. So, what is Gitlab in this context ?. Referring to the official Gitlab website in this link,  GitLab claims to be a single application for the entire DevOps lifecycle. So, GitLab is unique and it makes concurrent DevOps steps are possible. It enables any organization using Gitlab to  remove the constraints of a pieced together toolchain. It is used in conjunction with Gitlab CI, the open-source continuous integration service included with GitLab that coordinates the jobs.

Continue reading

Git push Error Message [remote rejected] master -> master

This is an article which is written to handle or to solve the problem generated when someone is using Git version control utility to push either files or folders to a Git repository server. The main purpose for executing ‘push command’ is for updating remote refs along with the associated objects. But eventually pushing those files or folders triggered an error message as shown in the title of this article. So, git utility is utilized to push files or folders and suddenly an error message generated : ‘[remote rejected] master->master’. Below is the actual process happened :

  1. After adding and committing files, folders exist in the folder associated or initialized for Git version control, the last action is to push it to remote Git repository. Below is the command pattern :

Continue reading

How to Grant Access to Gitlab Repository

Gitlab repository is a software built for managing git repositories in a centralized server equipped with issue tracking, wiki, etc. Holding the concept of continuous integration and continuous development, the software is quite handy and useful. In this article, there is a specific task which is very important as the first step for managing git repositories using Gitlab. That specific task is a task on how to grant access to Gitlab repository. As we already knew, files or folders are maintained in a certain repository. That specific repository where every each of them have their own rules for user whom can be permitted and for user whom is forbidden to access and perform operations on that repository. So, if a specific repository need to be accessed using a certain user, there is several things need to be done before the actual access to that specific repository can be done. Below is how to grant access to a Git repository for a certain user which is done from Gitlab Git repository management.

1. Access Gitlab Git repository management. Below is the image of Gitlab Git repository management :

How to Grant Access to Gitlab Repository

How to Grant Access to Gitlab Repository

Continue reading