Questions tagged [gitlab]

GitLab is an open source Git repository manager with issue tracking and wiki as well as continuous integration features. Use this tag for programming questions related to the GitLab API or similar; questions about general usage are considered off-topic.

GitLab is open source software to collaborate on code. It can be considered an open source self-hosted GitHub, but GitLab.com also provides Git hosting in the way GitHub does, and you can also have private repositories for free.

Features

GitLab has the following features:

Screens

GitLab-demo

There are three versions available for GitLab:

  • Community Edition (CE)
  • Enterprise Edition Starter (EES)
  • Enterprise Edition Premium (EEP)

Resources

  1. Source code (GitHub mirror)
  2. Documentation
  3. Community
  4. Mailing list
  5. Official blog
  6. GitLab Continuous Integration
17630 questions
6
votes
1 answer

How to connect VS Mac to a GitLab repo?

I'm starting a new project using Visual Studio 2017 Community for Mac. I've already set up a GitLab repo for the project, but I can't for the life of me figure out how to connect VS Mac to the repo. I tried looking in Microsoft's own documentation…
Tyll'a
  • 526
  • 1
  • 5
  • 17
6
votes
2 answers

gitlab runner using wrong docker image for build container

I set up an gitlab-ci-multi-runner on my VM. In the build process I provide an docker container with all the dependencies. But when I run it, the runner uses a different (wrong) docker image for his build container. The messages look like…
npit
  • 199
  • 3
  • 22
6
votes
3 answers

ssh connection timed out

I am not able to ssh in git to github or bitbucket or gitlab. I typically have the following error message: how can I avoid it? ========== output ============ ssh -T git@github.com -i ~/.ssh/id_rsa -v OpenSSH_7.2p2 Ubuntu-4ubuntu2.2, OpenSSL 1.0.2g …
SARAVANAN SYR
  • 139
  • 1
  • 7
6
votes
1 answer

How to create a MR using GitLab API?

I am trying to create a merge request using the GitLab Merge Request API with python and the python requests package. This is a snippet of my code import requests, json MR = 'http://www.gitlab.com/api/v4/projects/317/merge_requests' id =…
Ali
  • 1,001
  • 2
  • 14
  • 32
6
votes
3 answers

Can I get a list of wiki pages in GitLab?

I'm writing an app that uses the GitLab API, and I'd like to list the pages in the wiki. I can do something like http://gitlab/username/project/wikis/home.md to get the source of an individual file, and see all pages with…
Grayda
  • 1,870
  • 2
  • 25
  • 43
6
votes
4 answers

Updating Gitlab from 9.3.7 to 9.3.8 getting Error installing re2

We are running on Ubuntu 14.04, with Gitlab 9.3.7, which works fine. We are trying to update to the latest security patch of Gitlab v9.3.8, but it gives us this error: Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current…
Out of Control
  • 456
  • 1
  • 6
  • 21
6
votes
0 answers

Gitlab-runner job failed on Gitlab-CE using ssh-executor

I've failed on running job by gitlab-runner from local machine using ssh-executor. Meanwhile I can run git clone git@mygitlab.myserver.com, so as I think it's ok with my ssh setup. But when I try to run job using same machine as gitlab-runner it…
6
votes
1 answer

invalid credentials - LDAP access error in git community edition

I want to setup git for version control and continous integration. I installed git community edition using docker-compose file as described in step 2 of https://docs.gitlab.com/omnibus/docker/README.html#install-gitlab-using-docker-compose. My…
user1164061
  • 4,222
  • 13
  • 48
  • 74
6
votes
1 answer

How do i give parameters to SonarQube.Scanner.MSBuild.exe?

From searching online and looking at sonarqube docs the only thing that I can find is: SonarQube.Scanner.MSBuild.exe /k:KeyOfProject /n:NameOfProject msbuild.exe C:\projectpath\soultion.sln SonarQube.Scanner.MSBuild.exe end The problem is there's…
David Hunsicker
  • 1,140
  • 3
  • 14
  • 24
6
votes
3 answers

How to change the Tagger name and email of a Git Tag

Long story short I'm writing a script to migrate a very large project from (gasp) Microsoft SourceSafe to Git and I'm trying to retain the authors of the SourceSafe project's labels(which are essentially tags in Git). I know you can modify the…
molinab297
  • 201
  • 4
  • 8
6
votes
2 answers

Migrating JIRA issues to GitLab?

Is there a way to migrate JIRA issues to GitLab EE starter? We have two projects each having 1 board on JIRA that I would like to migrate.
Andrew Graham-Yooll
  • 2,148
  • 4
  • 24
  • 49
6
votes
2 answers

gitlab: how to change(reset) user info in terminal, and https push restricted

If I have a gitlab account, username: account1 email: email1@outlook.con the initial setting in terminal: git config --global user.name account1 git config --global user.email email1@outlook.con if I have another one gitlab account, username:…
Finn
  • 1,323
  • 5
  • 24
  • 46
6
votes
2 answers

Bundle eats all resources while gitlab-ce running

I installed gitlab-ce on my digitalocean droplet, it works fine but very slow, im also turned off nginx as it thinks that time is out on simple requests, and the problem is in bundler. bundle process runs forever and eats all memory. What is the…
Kirill
  • 364
  • 4
  • 14
6
votes
1 answer

Restrict access to an application using oauth2_proxy and Gitlab as its provider

I have currently set up a web-based application, to which I have added an authentication method using oauth2_proxy (with gitlab as authentication provider). What I need to know is if there's way that I can restrict the access to this app using a…
Moshe Vayner
  • 738
  • 1
  • 8
  • 23
6
votes
1 answer

Speed up Gitlab CI reusing docker machine for stages

Gitlab CI pulls docker image every time for every task (stage). This operation wastes much time. I want to optimize if possible. I see two places to work with: 1. explicitly configure CI stages to reuse the same docker machine. 2. use the docker…
kyb
  • 7,233
  • 5
  • 52
  • 105