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

Difference between git push and git push origin master

I want to know that if I only use git command : git push and if I use git push origin master then, what is the difference between them? I am working on gitlab and i have developer access to the project I am working on. I am using windows command…
mistletoe
  • 463
  • 4
  • 11
  • 29
6
votes
2 answers

Chain multiple merge requests together in GitLab

Is there a way to lock one merge request's status until another merge request passes? e.g. if I am submitting API changes to an API project and frontend changes to a frontend project, I don't want the API changes to pass without the frontend…
Michael Davidson
  • 515
  • 9
  • 15
6
votes
1 answer

Git: how to set remote in existing repo

One question please I have a project on git with differents branches: Master Pre Dev .... I've installed my project files in another server by FTP (not by git pull or git clone) ir order to create a dev enviroment. The folder of the project in dev…
Karmo
  • 383
  • 1
  • 3
  • 13
6
votes
2 answers

GitLab-CI job fail when having a dependency on a previous manual job

Situation Consider the following .gitlab-ci.yml example: build: stage: build script: echo "Building..." build-doc: stage: build when: manual script: - echo "Building doc..." - echo "build result" > output.txt …
cid
  • 696
  • 1
  • 8
  • 19
6
votes
2 answers

GitLab not showing difference in branches after reverting merge commit

I have two branches, master and dev, I merged dev into master without a merge request on GitLab. Problem: Now if I try to raise merge request on GitLab from dev to master, it shows no difference. Solution tried: I created one more branch from master…
Harpreet
  • 1,527
  • 13
  • 25
6
votes
2 answers

GitLab Incremental BackUp

Now everyday i'm taking the full back-up of gitlab-CE 8.12.4 server whose size is more than 4 GB. Is there any way or work-around to take the incremental backup of gitlab-CE server.
Saurabh Agrawal
  • 421
  • 2
  • 7
  • 16
6
votes
1 answer

Merge Request, Review process and using comments in GitLab

We're currently evaluating the use of GitLab for our project and one thing we find slightly off is the comments when reviewing a merge request. The problems starts when some comments were entered as part of the code review and a new commit was…
Ethnar
  • 657
  • 4
  • 10
6
votes
2 answers

Continuous Deployment of a electron app using GitLab

I am developing a desktop app on a Linux machine. The code is hosted on GitLab.com. I'd like a sample gitlab-ci.yml on building the app for Windows. I'm out of ideas on how to go about this, any assistance will be appreciated.
Jimmy Obonyo Abor
  • 7,335
  • 10
  • 43
  • 71
6
votes
2 answers

Gitlab CI, ssh runner

When I try to create ssh runner in deploy console I have this error: Running with gitlab-ci-multi-runner 1.7.1 (f896af7) Using SSH executor... ERROR: Preparation failed: open ~/.ssh/id_rsa.pub: no such file or directory Will be retried in 3s…
srzeppa
  • 71
  • 1
  • 3
6
votes
1 answer

I push my project to gitlab to test git ci,but it built fail

These are my information of error Running with gitlab-ci-multi-runner 1.5.3 (fb49c47) Using Shell executor... Running on luckyxmobiledeMac-mini-2.local... Fetching changes... HEAD is now at e56d7ac Update README.md Checking out e56d7ace as…
RichardSleet
  • 373
  • 4
  • 17
6
votes
2 answers

Gitkraken with SSH to Gitlab

I've been having a hard time getting the auth to work with ssh keys (don't want to be prompted for user and pass every time). Configuration options / tutorials for this issue are scarce/nonexistant. Here is the setup: I believe the repo from…
Diogo Mendonça
  • 357
  • 1
  • 6
  • 19
6
votes
1 answer

Gitlab docker not working if external_url is set

I've been struggling for a while with a problem that I'm still unable to solve. Help would be much appreciated! What I did: 1) Install Gitlab-CE using the docker image (8.9.6-ce.0) on an Ubuntu 16.04.1 LTS virtual machine in my server following…
neneItaly
  • 263
  • 2
  • 9
6
votes
0 answers

Gitlabs CI Runner Does Not Resolve Hostnames

I created a specific runner following this guide: Install using official GitLab repositories(Linux). I was able to successfully register the runner in our company GitLab. I also provided a .gitlab-ci.yml for our gradle project. Basically it's as…
Patrick T
  • 294
  • 3
  • 11
6
votes
2 answers

Gitlab CI Symfony : SQLSTATE[HY000] [2002] Connection refused

I use gitlab to run unit tests each time someone push the code. I get this error during composer installation. > Incenteev\ParameterHandler\ScriptHandler::buildParameters Creating the "app/config/parameters.yml" file >…
barden
  • 349
  • 6
  • 18
6
votes
2 answers

Close GitLab CE Merge Requests From Commit Message

A useful feature of GitHub is that users are able to close their "pull requests" (PRs) via commit message. For instance, if Closes #1 is written in a commit message and that commit subsequently lands on the master branch, GitHub will automatically…
Kenny Worden
  • 4,335
  • 11
  • 35
  • 62
1 2 3
99
100