Gitlab
WHAT IS GITLAB ?
Gitlab is an application where programmer can write the code and test the code
simultaneously.It provides two factor types of authentication.With the help of
gitlab we can integrate external application as per our requirements like Jira,
campfire , LDAP etc.
We can also automate the task in gitlab using API.
We can use gitlab as a authentication service provider to login to other
applications.Using webhooks programmer gets alert when someone in their team
push the code.
In Gitlab we can also use the docker to store the different
project in different container as per our convenience or user convenience.In
gitlab We can also convert the svn repository to git or gitlab.
In Gitlab API , we can use different types of
authentication token like private token , personal access tokens , Oauth 2
tokens and session cookies.Gitlab API also design in such a way to return
different status codes as per the context and action.
REQUIREMENT:
1. OPERATING SYSTEM : UBUNTU 14.04
2. RUBY VERSIONS :
2.3
3. STORAGE : SSD is better than HDD.For quick response please use SSD.
4. CPU : 2 Core
5. RAM : 4 GB
6. GITLAB RUNNER : Please do not install gitlab runner on the same machine ie
gitlab server.Gitlab runner consume more memory and in result , it will decrease
the efficiency.
FEATURES OF GITLAB
1. Permission: With the help of this feature we can assign role to a user as per
the Project requirement.
2. SSH Keys : Using this feature , users can establish secure communication with
the gitlab server and work securely in their project respectively.
3. Access Restriction : There is two basic protocol ie http and ssh. Depending
upon their convenience , they can chose anyone among two.
4. Repository-check : Gitlab having Inbuilt mechanism through which it
periodically check all the repo and if any issue found , then it will send an
email notification to all the user.
5. Repository-Storages : Gitlab provides different storage path to
users.Depending on your requirement you can define different path for different
project.It will reduce load and improve the efficiency of gitlab.
6. System-Hooks : System-hooks can be useful when we are doing changes in
projects , keys and users.It will send the notifications to all the users
regarding the changes.7. Security : By Increasing the password length limit, we can provide more
security to gitlab users.
8. Log-System : Provides or gives users information about issues related to the
gitlab instances. There are various log file exist in the Gitlab.Log filenames
are as follows : 1. Production.log 2. Application.log 3. githost.log 4.
sidekiq.log 5. gitlab-shell.log 6. unicorn_stderr.log.
9. Gitlab Performance Monitoring : Measures the time spent in executing sql
queries , web request , process memory usage and rendering HAML views.Data is
written in influxdb and then can be visualized using Grafana application.
10. Backup & Restore : We can take the backup of gitlab server which contain
database , repositories and attachments.When we restoring the backup file to
Gitlab server , make sure gitlab server must be of same version.
For Python and Shell Scripting Tutorial : https://payhip.com/b/247HD
Comments
Post a Comment