GitLab is not responding

rajeshkumar created the topic: GitLab is not responding
Issues –
After setting up the gitlab in ubantu by following www.scmgalaxy.com/111-git/888-setting-up…n-local-machine.html

I am getting error called “GitLab is not responding” on front page.

Followup –

I did run status commands and got following output…

sudo gitlab-ctl status
run: nginx: (pid 12728) 165s; run: log: (pid 12574) 372s
run: postgresql: (pid 12731) 165s; run: log: (pid 12485) 421s
run: redis: (pid 12741) 165s; run: log: (pid 12402) 427s
run: sidekiq: (pid 12744) 165s; run: log: (pid 12558) 378s
run: unicorn: (pid 12808) 28s; run: log: (pid 12546) 380s

I stop and restart the gitlab using…

sudo gitlab-ctl start
ok: run: nginx: (pid 12961) 0s
ok: run: postgresql: (pid 12964) 0s
ok: run: redis: (pid 12967) 0s
ok: run: sidekiq: (pid 12970) 0s
ok: run: unicorn: (pid 12983) 0s

Solution

I found out that some other services was running with port 80. I just stopped that services and re-startted the gitlab services and it went through..
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :

GitLab: You are not allowed to access develop!

rajeshkumar created the topic: remote: GitLab: You are not allowed to access develop!
Issues –
remote: GitLab: You are not allowed to access develop!
remote: error: hook declined to update refs/heads/develop To gitlab.corp.intuit.net/sbfs/qbo-mumble.git
! [remote rejected] develop -> develop (hook declined)
error: failed to push some refs to ‘ gitlab.corp.intuit.net/sbfs/qbo-mumble.git
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :

After Pushing tag in Gitlab UI, Gitlab should fire jenkins job.

ghanshyamjisingh@gmail.com created the topic: After Pushing tag in Gitlab UI, Gitlab should fire jenkins job.
Requirement: After Pushing tag in Gitlab UI, Gitlab should fire jenkins job.

My setup:
I am using wehooks to to this configuration, the configuration is all fine.

Issue: when I push tag through Git Bash, it is triggering jenkins job, but when i push though Gitlab UI it does not.

Attach is my setup.

Also I dnt want to use Gitlab plunging to trigger jenkins job.

Tagged :

Top 5 Git hosting solutions | List of best Git hosting tools

top-5-git-hosting-solutions
This is the era of DevOps where automation and collaboration is the key of success in software industry. This is the reason code availability is for everyone in the team is the necessity for today’s work environment. Developers are using Git nowadays for their code management and collaboration. But, this is not enough. Now you need to decide, which GIT hosting solution is good for your collaboration within your team or organization.
You can find so many options who offers hosting for GIT Repositories, which makes it really a challenge to find the right solution for your needs. Therefore, we are presenting you the list of top ten git hosting solutions.
Here is the list of Top Five Git Hosting Solutions
1. Bitbucket
 

 Bitbucket
Bitbucket formerly knows as stash belongs to one of the best software solution provider Atlassian who also developed popular tools like JIRA, Bamboo & Confluence. It offers both plans free & Commercial. Bitbucket is written in python.

Key Features
  • web-based hosting service
  • Unlimited private repositories
  • Supports private & Public repositories
  • Native integration (Jira, Confluence,Bamboo)
  • Flexible deployment models
  • Source tree – works with any git hosting
  • Branch permissions
  • Git Large File Storage (LFS)
2. GitHub

 GitHub

Github is one of the top Git hosting solution which is belongs to GitHub, Inc. and founded in the year 2008. As per the latest Github reports they have  52 million repositories which shows that they are one of the most trusted brands in the industry. Github is written also written in Ruby.
Key features
  • web-based hosting service
  • Unlimited private repositories
  • Built-in code review
  • Supports private and Public repositories
  • Support Many Programming language
  • Flexible hosting plans
  • Free to use for public and open source projects
  • Comes with Issue tracking & Wikis
3. GitLab

 GitLab

Gitlab is an open source git hosting service provider which belongs to GitLab Inc. Gitlab claimed themselves as modern software development. This tool is launched in 2011 is written in Ruby and Go. Gitlab is also amongst the most trusted brand which is also used by even NASA. GItlab has more than 1400 contributors which makes it one of the most reliable service provider.
Key Features
  • Unlimited public and private repos
  • web-based Git repository manager
  • wiki and issue tracking features
  • open source
  • Allow Project importing
  • Own Continuous Integration service
  • Collect and share reusable code
  • Control read/write permissions to specific branches
4. Microsoft Visual Studio Team Services

 Microsoft Visual Studio Team Services

Visual studio team services formerly known as Visual Studio Online is a Microsoft product which is launched in the year 2012. Visual studio is also a very good option for Git hosting. This platform includes not only code hosting but it has its own CI & agile planning tools for scrum and kanban teams. If you have 5 members team than you can use there most features for free but you need to upgrade your plans if you want to increase that number.

Key Features
  • Unlimited private code repositories
  • Customizable Dashboards
  • Branch Updates
  • Code reviews
  • Web Hooks & API Integration
  • unlimited free private git repositories
  • Get functionality with extensions
  • Semantic Code Search
  • Security – SOC compliance and multi-factor authentication
  • Built-in continuous integration and support for Jenkins and others tools
5. Perforce

 Perforce

Perforce or perforce helix is also amongst one the most reliable and trusted git hosting solution. Perforce was initially released in the year 1995 which makes it one the veteran player of the software industry. Recently they have introduced Git Swarm with Gitlab collaboration. It comes with similar features like Gitlab but in terms of security and scalability it is more reliable.

Key Features

  • All the power and flexibility of Git without compromise:
  • Access control is more fine-grained
  • Specific branches and files can be locked
  • Developers can “slice” big repositories and pull only what they need
  • Pull requests
  • Merge-request workflow
  • Issue tracking
  • Git powered Wiki
  • Project visibility & security
  • Automatically mirrors work into Helix mainline repository
SO, these are the top players currently trending in GIT hosting solutions. Hope this will help you while selecting your hosting solutions. One more thing, if you think that this list is missing any other solutions instead of this than feel free to share with us in the comment section below.
Tagged : / / / / / / / / / / / / / / / /

All Possible Interview Questions on Git, Github and Gitlab

interview-questions-on-git-github-gitlab

  • What is GIT?
  • What is a repository in GIT?
  • What is the command you can use to write a commit message?
  • What is the difference between GIT and SVN and other CM systems?
    • Answers –
      • Cheap Local Branching
      • Everything is Local
      • Git is Fast
      • Git is Small
      • The Staging Area
      • Distributed
      • Any Workflow
      • Easy to Learn
      • Git is the new standard
  • What are the advantages of using GIT?
  • What language is used in GIT?
  • What is the function of ‘GIT PUSH’ in GIT?
  • Why GIT better than Subversion?
  • What is “Staging Area” or “Index” in GIT?
  • What is GIT stash?
  • What is GIT stash drop?
  • How will you know in GIT if a branch has been already merged into master?
  • What is the function of git clone?
  • What is the function of ‘git config’?
  • What does commit object contain?
  • How can you create a repository in Git?
  • What is ‘head’ in git and how many heads can be created in a repository?
  • What is the purpose of branching in GIT?
  • What is the common branching pattern in GIT?
  • How can you bring a new feature in the main branch?
  • What is a ‘conflict’ in git?
  • How can conflict in git resolved?
  • To delete a branch what is the command that is used?
  • What is another option for merging in git?
  • What is the syntax for “Rebasing” in Git?
  • What is the difference between ‘git remote’ and ‘git clone’?
  • What is GIT version control?
  • Mention some of the best graphical GIT client for LINUX?
  • What is Subgit? Why to use Subgit?
  • What is the function of ‘git diff ’ in git?
  • What is ‘git status’ is used for?
  • What is the difference between the ‘git diff ’and ‘git status’?
  • What is the function of ‘git checkout’ in git?
  • What is the function of ‘git rm’?
  • What is the function of ‘git stash apply’?
  • What is the use of ‘git log’?
  • What is ‘git add’ is used for?
  • What is the function of ‘git reset’?
  • What is git Is-tree?
  • How git instaweb is used?
  • What does ‘hooks’ consist of in git?
  • Explain what is commit message?
  • How can you fix a broken commit?
  • What is ‘bare repository’ in GIT?
  • How do you start Git and what is the process called?
  • How do you put your local repository (repo) on the GitHub server?
  • How to delete the working branch?
  • What as the strength and weaknesses of the software?
  • But I am quite happy with Subversion (SVN). What is all this fuss about? Is there a substantial trend for distributed versioning control systems (DVCS)?
  • Isn’t DVCS something for small teams and startups? I am working in a very big company. We value established things way more than the cutting edge stuff, that may not be here to stay.
  • Okay. Let’s say we go with DVCS. Why should I take git and not mercurial?
  • I like, that git allows our developers to host the complete repository on his local machine. That makes software development faster. So why do
  • you I need Stash on top?
  • How do you use this rights management with Stash? How does it work? Will developers only get have a repository? Is that still functional then?
  • What is a pull request? What is this for? Aren’t we sharing all code with all developers and let everyone do what he wants? Is that only for
  • hierachical software development methods?
  • How would you summarize the advantages of Stash in short?
  • What is the one reason, that your customers give Atlassian today on why they purchase Stash?
  • Can you offer us a small sneak peak into your upcoming next releases? Is there anything, that you can share first hand with us?
  • What is your general roadmap for stash? Where do you want to position it near and long term?
  • Do you ultimately plan to support Mercurial? When is a good time to buy Stash, if I run with hg at the moment?
  • Why should I go for Stash in favor of GitHub Enterprise or RhodeCode?
  • Why is Stash a separated product and not part of Bitbucket. I could imagine seeing Bitbucket Enterprise resembling GitHub Enterprise.
  • Is Atlassian using Stash internally in software development? If not, why not?
  • Wouldn’t it be interesting to combine Fisheye, Crucible and Stash in one product?
  • What is the difference between GIT and SVN?
  • What are the advantages of using GIT over other tools?
  • What is GIT stash?
  • What does commit object contain?
  • How can conflict in git resolved?
  • What is the difference between ‘git remote’ and ‘git clone’?
  • Mention some of the best graphical GIT client for LINUX?
  • What does ‘hooks’ consist of in git?
  • What is ‘bare repository’ in GIT?
  • Add a line to the some.txt file and then throw out all changes since the last commit.
  • Why GIT better than Subversion?
  • How to troubleshoot Git?
  • How to troubleshoot GitLab?
  • How to troubleshoot Github?
  • How to take Gitlab backup
  • What is Git Objects? explain about Tree, blob, commit, tag, branch objects?
  • How git Object storage works?
  • What is SHA1?
  • Introduction to the GitHub platform
  • github Distributed version control synchronization
  • github Project management and repository integration
  • github Multiple remotes and Fork maintenance
  • github Remote repository interaction and dependencies
Tagged : / / / / / / / / / / / / /

Access gitlab Password Less in Windows

gitlab-password-less-in-windows

Step 1- Generate a public/private key using puttygen

  • Download a puttygen from  and generate a public key and private key by following below image.
  • Click on Conversions à Export OpenSSH Key à  and save it to % USERPROFILE %\.ssh with file name “id_rsa”
  • Copy the public key from puttygen window and save into gitlab.

 

Step 2-  Add .ssh folder to your command line path
By following command..

     set HOME=%USERPROFILE%

or
add into user system variable.
HOME=%USERPROFILE%

And you are good to go. Comment if you face any issues?

Tagged : / / / / / / / / / / /

How to setup Gitlab in local machine ?

gitlab-setup

Download gitlab from

https://www.gitlab.com/downloads/

Installation, setup, configuration, backup Instructions is given in…

https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md
https://github.com/gitlabhq/gitlabhq/blob/6-1-stable/doc/install/installation.md

Tagged : / / / / / / / / / / / / / / / / /