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

Gitlab Merge request events not triggering Jenkins Multi-branch pipeline

I'm trying to trigger Jenkins Multi-branch pipeline job with GitLab Webhook on Merge request events. When I'm testing the Webhook, I'm getting this message: Hook executed successfully but returned HTTP 409 When I'm setting different GitLab…
Elad Eizner
  • 63
  • 1
  • 6
6
votes
3 answers

iOS : gitlab-runner stuck on CI

I am working on Gitlab CI, but getting some issue relate to test run, as below command is working on terminal and given perfectly test result but somehow its now run on gitlab CI. below is my .gitlab-ci.yml stages: - build build_project: stage:…
Bhavesh Dhaduk
  • 1,888
  • 15
  • 30
6
votes
1 answer

GitLab Runner not running privileged

I have an issue with a GitLab Runner that has a service attached. Whenever the job is run, as soon as waiting for the service is completed, it gives me a warning: ContainerStart: Error response from daemon: Cannot link to a non running container:…
PrimuS
  • 2,505
  • 6
  • 33
  • 66
6
votes
1 answer

How to build, push and pull multiple docker containers with Gitlab CI?

I have a docker-compose file which builds two containers, a node app and a ngnix server. Now I would like to automate the build and run process on the server with the help of Gitlab runners. I am pretty new to CI-related stuff so please excuse my…
Ipsider
  • 553
  • 1
  • 7
  • 20
6
votes
3 answers

Is it possible to do a git push within a Gitlab-CI without SSH?

We want to know if it's technically possible like in GitHub, to do a git push using https protocol and not ssh and without using directly an username and password in the curl request. I have seen people that seem to think it is possible, we weren't…
Dimitri Kopriwa
  • 13,139
  • 27
  • 98
  • 204
6
votes
3 answers

Git - How to change credential [remote: HTTP Basic: Access denied fatal: Authentication failed for]

When installing my Git repository (GitKraken with GitLab), I entered the wrong password. So Git returns this error: "remote: HTTP Basic: Access denied fatal: Authentication failed for'https://gitlab.com/mygitproject/'" It's not offering the option…
DataCube
  • 107
  • 1
  • 1
  • 10
6
votes
2 answers

How to include CI_JOB_TOKEN in Dockerfile on gitlab?

I'm having an issue where I seem to be struggling to pass the CI_JOB_TOKEN around my CI/CD flow so that I can download private gitlab npm modules from my Dockerfile. my files look like this: gitlab-ci.yml image: tmaier/docker-compose:latest …
Jarede
  • 3,310
  • 4
  • 44
  • 68
6
votes
3 answers

How to checkout on an old commit and push it on current branch?

I have some incorrect commit/push on my branch, then I want to revert to an old correct commit and push it on the current branch. I have a problem with: git log new: xxxxxxx ... old: ac758a3 git checkout ac758a3 git commit -m 'revert to…
Benyamin Jafari
  • 27,880
  • 26
  • 135
  • 150
6
votes
0 answers

Gitlab CI Runner slow to complete job

I've been using the GitLab CI runner on Windows for a couple of years now, and am wondering why it takes a long time between when the compile has actually completed before GitLab deems that the job has completed. Here's a few screen grabs to show…
AlfieJ
  • 339
  • 1
  • 5
  • 15
6
votes
2 answers

how to CICD using AWS CodePipeline if source repository is Gitlab

AWS document said we can make use of S3, lambda, etc. but still do not know how. this link mentioned some way but the link insides is invalid..... https://aws.amazon.com/blogs/devops/integrating-git-with-aws-codepipeline/
user389955
  • 9,605
  • 14
  • 56
  • 98
6
votes
2 answers

How can i use ecr with normal docker login from other registry

I want to use normal docker login for normal stuff but for ecr i want to credHelpers as mentioned in tutorial https://docs.docker.com/engine/reference/commandline/login/#credential-helpers But it look like it tell me to replace the whole…
Mirage
  • 139
  • 3
  • 9
6
votes
2 answers

git bundle verify crash

I try to restore a gitlab backup manually (not back to a gitlab instance). My problem is as follow. I extract the .bundle file of the project and try git bundle verfiy myproject.bundle but it always crash. I tried it on mac os x (git 2.16) and on…
Michael Aigner
  • 4,820
  • 4
  • 21
  • 33
6
votes
3 answers

Gitlab CI variables returns empty string?

It's been 2 days since one of my project' build starts failing on Gitlab CI. The main error was E_MISSING_APP_KEY and when I check another variable just by echoing $HOST and $PORT from my .gitlab-ci.yml config, like this tests: script: - echo…
Fery W
  • 1,402
  • 1
  • 15
  • 28
6
votes
3 answers

gitlab connection refused ssh port 22 and 443

For the last couple of days I have been unable to push to the remote (gitlab), it has worked before this. I know this question has 10s of similar SO questions and perhaps an answer is somewhere in those. However I have been trying many of the…
user3375672
  • 3,728
  • 9
  • 41
  • 70
6
votes
3 answers

Rails Master Key in Gitlab.com CI

I am trying to set up gitlab.com continuous integration(CI) for one of my private projects. But rails db:migrate is failing with the following error: ActiveSupport::EncryptedFile::MissingKeyError: Missing encryption key to decrypt file with. Ask…
Vivek Tiwary
  • 180
  • 1
  • 9