Questions tagged [gitlab]

Gitlab is self hosted Git management software.

The main site for Gitlab.

464 questions
3
votes
1 answer

How to setup a subdomain on nginx?

I have setup GitLab on my unbuntu ubuntu 12.04 lts server in following path /home/git/gitlab/. I am using nginx server. This is my gitlab status root@c27-76:/etc# sudo service gitlab status The GitLab Unicorn web server with pid 3187 is…
Krishna Karki
  • 131
  • 1
  • 1
  • 3
3
votes
3 answers

Move repo from plain git to GitLab server

I have two servers, an older server running plain git with three repositories under /opt/. These projects are now to be moved over to a new server where I choose to run gitlab for the sake of the GUI and to be able to invite friends to learn…
Torxed
  • 225
  • 1
  • 5
  • 18
3
votes
1 answer

bundler: command not found: unicorn_rails

While restarting gitlab I get this: Starting both the GitLab Unicorn and Sidekiqbundler: command not found: unicorn_rails Install missing gem executables with `bundle install I installed gitlab 6.3.0 with ruby 1.9.3 on my centos 6.3 vm. I tried…
mirage
  • 221
  • 1
  • 3
  • 11
3
votes
1 answer

Automatic LDAP login to Gitlab

I've Apache 2.2 and Gitlab 6 running. After installing OpenLDAP on Debian Wheezy and setting up Gitlab I can login to Gitlab with LDAP credentials. But I wonder if there is a way to provide LDAP login credentials from Apache 2.2 Basic Auth to…
rabudde
  • 304
  • 5
  • 22
3
votes
1 answer

gitlab authentication using HTTP_REMOTE_USER environment variable

we have discovered gitlab, and I would like to integrate it in our global authentication process, which relies on apache HTTP_REMOTE_USER environment variable. I have seen very little documentation on it, so I am looking desperately for any help on…
philippe
  • 2,303
  • 4
  • 32
  • 53
3
votes
2 answers

GitLab alias for nginx

I have install GitLab 6.1 on a fresh Ubuntu 13.04 server, I would like have GitLab served up from a location like http://192.168.1.5/gitlab My /etc/nginx/sites-available/default file: upstream gitlab { server…
lee
  • 31
  • 1
  • 3
3
votes
3 answers

Gitlab with apache proxy

I have an apache2 server running on a Mac OS X machine with the same machine running Gitlab virtually in Ubuntu. Mac IP: 192.168.0.7 Ubuntu (virtual) IP: 192.168.0.12 I would like apache to make gitlab.mydomain.com to go to the Ubuntu virtual…
Isak T.
  • 151
  • 1
  • 2
3
votes
1 answer

nginx, gitlab, subdomain

I have installed gitlab on an ubuntu ( 12.04 ) virtual machine in virtual box, on my NAS (on Windows 7) The hostname of this machine is vubuntu. My router ( tomato v1.28 ) is configured to use the .lan domain. On my workstation, I can ping the…
Emidee
  • 131
  • 7
3
votes
1 answer

Docker/Podman in Docker fails as a GitLab CI job

Context I am running my own GitLab instance with an extra server for CI. In case it matters my host for the gitlab runner has CentOS 8 and the gitlab runner is version 14.4.0 and the gitlab instance is running 14.4.1. I am currently using a shell…
Lucas
  • 193
  • 1
  • 10
3
votes
0 answers

How to show docker logs until container becomes healthy

I'm trying to create CI infrastructure for a project. We deploy application with docker. It usually takes some time, to start up application. I would like to see in my gitlab job logs my docker logs.... but I would like stop displaying them as soon…
noisy
  • 91
  • 6
3
votes
0 answers

SSH fails: "PTY allocation request failed", shell "not found"

I have GitLab CE running in Docker. After upgrading GitLab CE to version 13.5.3, its SSH stopped working. Everything else seems to be working fine. Executing ssh git@ results in PTY allocation request failed sh: 1:…
kappa_t
  • 31
  • 1
3
votes
1 answer

Git cloning large repositories hogs memory

Serving a fairly large repository (9.5Gb for the bare .git) everytime someones needs to clone it it will spend a large amount of memory (and time) during the "Compressing objects" phase. Is there a way to optimize repositories files so it will store…
Vargas
  • 153
  • 1
  • 8
2
votes
2 answers

Will a root domain with an A record pointing to a private IP address be publicly visible? (Gitlab)

I have private Gitlab instance running on a private IP. I want to host a website with Gitlab pages that is only visible inside my network and not accessible from the outside. Also I need my private Gitlab instance to not be accessible from the…
Micromegas
  • 231
  • 3
  • 12
2
votes
1 answer

Configure gitlab-ci.yml to run pytest in docker container on Gitlab CI

I have a Cookiecutter django project which uses Docker. I write my tests using pytest and I run my tests using docker-compose -f local.yml run django pytest. My local.yml file is in my root dir (where manage.py is) I want to run these tests…
2
votes
1 answer

Checking out submodules recursively with gitlab ci

I have created a example Gitlab project. In this project I have added a .gitmodules that references another project on my Gitlab's group. I am using the GIT_SUBMODULE_STRATEGY: recursive in the .gitlab-ci.yml as suggested in the gitlab CI…
Steven Smethurst
  • 339
  • 1
  • 4
  • 11