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 install a package in GitLab runner container?

I am trying to implement some cicd using GitLab runner, I am very new to containers and trying to install the zip package in the container, I was able to install awscli using pip but, I am not able to install the zip package, which is required for…
Dev1ce
  • 5,390
  • 17
  • 90
  • 150
6
votes
2 answers

What is the best way to use Hashicorp Vault with GitLab pipelines?

Let's say I want to make a variable with the value from Vault. variables: $SSH_PRIVATE_KEY: `vault kv get -field=private_key project/production` before_script: - echo "$SSH_PRIVATE_KEY" Is it possible? Is there another way to use Vault secrets…
Gregory
  • 473
  • 8
  • 14
6
votes
1 answer

gitlab error connect to host gitlab.com port 22: Connection timed out

I have changed my default ssh port from 22 to 2233 but when I want to clone the project from gitlab by ssh it don't work. ssh: connect to host gitlab.com port 22: Connection timed out fatal: Could not read from remote repository. Please make sure…
ali Falahati
  • 599
  • 7
  • 18
6
votes
3 answers

How do I start a gitlab-ce container via docker-compose with admin credentials already set up?

I have a docker-compose.yml file with a Gitlab CE container: services: // other services.. gitlab: image: 'gitlab/gitlab-ce' restart: always ports: - '80:80' - '443:443' - '22:22' - "127.0.0.1:8081:80" …
cbll
  • 6,499
  • 26
  • 74
  • 117
6
votes
1 answer

Running Firebase Emulator on GitLab CI

I'm trying to test Firestore's security rules on my GitLab CI pipeline. I need to run Firebase's emulator to accomplish that. However, the Firebase emulator basically starts serving a "fake backend". So, how can I run that job in parallel to other…
6
votes
1 answer

How to generate a signed release APK with Gitlab CI/CD?

I am experimenting with GitLab's CI/CD and is figuring out how to generate a signed release APK. I've read this article here. and it suggested the following: - ./gradlew assembleRelease -Pandroid.injected.signing.store.file=$(pwd)/my.keystore …
Archie G. Quiñones
  • 11,638
  • 18
  • 65
  • 107
6
votes
2 answers

How to use GitLab Releases API?

GitLab now has nice feature called "Releases". You can define "release" as combination of "tag + some description + some URLs" and it will be shown on "Releases" and "Tags" pages of your project. GitLab doc says: we recommend doing this as one of…
Ezh
  • 579
  • 1
  • 7
  • 26
6
votes
1 answer

minimize git diff by undoing trivial changes

When working with code (mostly c++ in my case) and specifically with git and gitlab, I often find myself working on a specific merge request and feature addition for several weeks. At the end, I arrive with a very long merge request that is very…
carsten
  • 1,315
  • 2
  • 13
  • 27
6
votes
3 answers

Could not authenticate you from Ldapmain because "Invalid credentials for user.name"

I use debian 9 gitlab-ce 11.10.4-ce.0 omnibus install via apt openldap 2.4.44 ldap configuration Configured /etc/ldap/ldap.conf : BASE dc=serverX,dc=lan URI ldap://serverX.lan TLS_CACERT /etc/ssl/certs/ca-certificates.crt Configured…
Gilles Quénot
  • 173,512
  • 41
  • 224
  • 223
6
votes
1 answer

how can I avoid npm install eachtime I change branch?

I have a git repository setup in git lab. Right now each time I change branch i should do: npm install && composer install && cp .env.example .env && artisan generate key Cause I lose .env , node_modules and composer modules. and it takes long time…
Mishel Parkour
  • 599
  • 5
  • 16
6
votes
1 answer

How can I upload a file larger than 10MB on GitLab?

I am working on a university project using GitLab and DocBook, and I just finished the final version of the PDF. The problem is that there is a file limit (max. 10MB) and I have no idea how to access the limit settings using the browser version of…
whoisZORZ
  • 81
  • 1
  • 1
  • 4
6
votes
1 answer

How to specify values for parent Helm chart

I am trying to configure Prometheus, which is included in the Gitlab Helm chart according to https://gitlab.com/charts/gitlab/blob/master/requirements.yaml My main issue is how to configure Prometheus, as the following values.yaml seems to be…
djuarezg
  • 2,307
  • 2
  • 20
  • 34
6
votes
3 answers

Project ERROR: Cannot run compiler 'g++'. Maybe you forgot to setup the environment whithin gitlab env

I've a strange phenomenom happening that I don't know how to investigate. I hope someone already encountered this an can provide tips I'm using gitlab CI to build some Qt based projects. gitlab runner calls a script named build.sh that works just…
traiangueul
  • 71
  • 1
  • 1
  • 5
6
votes
2 answers

Self-hosted Gitlab Server Not Accessible

I'm having some major issues with a gitlab instance running on an osx (10.11) server. This is is self-hosted gitlab-ce built from source. It was working fine up until last week when I tried to upgrade from version 8.5 to 8.6. I ended up rolling back…
pbuchheit
  • 1,371
  • 1
  • 20
  • 47
6
votes
1 answer

Git - Merging master back into develop?

I am on a new team, and the way of working is completely different to what I was previously used to where we would work on a feature branch, the testers would test on that feature branch and then we would run a jenkins job to merge that feature into…
berimbolo
  • 3,319
  • 8
  • 43
  • 78