Questions tagged [gitlab]

Gitlab is self hosted Git management software.

The main site for Gitlab.

464 questions
2
votes
0 answers

docker build apk add fails on fetch with kubernetes gitlab runner

i've got a kubernetes cluster on my root server and there vm's. There is a gitlab running with usage of kubernetes pipelines. Now the problem, in my Dockerfile I have the following lines: # Install packages we want to keep RUN apk --no-cache add git…
2
votes
2 answers

How do I deploy a single code base to multiple customers each with unique environment variables?

I'm writing a platform to automate the day to day runnings of a business, this is to be a SaaS offering with each customer having its own database's. I'm currently using the following; Gitlab (Git Repo with many DevOps based tools), Sentry (Error…
2
votes
1 answer

Can Traefik maintain a path prefix if a backend redirects a request, when routing to that backend with PathPrefixStrip?

I am attempting to use Traefik as a proxy to send traffic to gitlab review environments. Gitlab CI can start docker containers to run a review version of a project. I can get Traefik to detect these containers, and route trafic to them with this…
Ivan
  • 56
  • 1
  • 7
2
votes
1 answer

Configure GitLab Docker container with Plesk and LetsEncrypt

Hi I have an issue with my GitLab setup. What I'm trying to achieve: running GitLab inside a Docker container access GitLab through a subdomain (gitlab.mydomain.com) at ports 80 and 443 for https manage SSL through a wildcard certificate for…
Thomas D.
  • 123
  • 3
2
votes
1 answer

Can't Establish SSH Connection to Gitlab CE Setup

I've a Gitlab CE setup running on my server(CentOS 7 + Apache 2.4). Currently, the site works fine and I can fully interact with Gitlab on the browser, however, I can't properly setup my environment on my shell via SSH in order to push my repos to…
Can Sürmeli
  • 173
  • 1
  • 14
2
votes
2 answers

How to properly automate git push to server

I am in the process of migrating our ansible files to our internal gitlab server and have some confusion about the various ways to keep the ansible roles directory in sync with the gitlab project. The end goal is to have my team add/edit files via…
2
votes
1 answer

Hosting gitlab server will conflict with port of sshd

I want to host gitlab on one of my servers, and it seems that gitlab needs to listen to port 22 for ssh (git ssh protocol). But the problem is my host machine already uses port 22 for sshd and I need it to be that way so I can remote into the…
Boyu Fang
  • 121
  • 3
2
votes
0 answers

Gitlab Omniauth to Azure ID (SSO) questions

I’ve integrated my gitlab instance with Azure AD for SSO reasons and it seems to be working fine. However, it was my understanding that Azure would then be the only source of truth… so if a user has to register on gitlab first and then link his…
Nishant
  • 21
  • 2
2
votes
1 answer

LDAP gitlab not working

I have been at least two days trying to make this work with Active directory. when I run this command see the result: sudo gitlab-rake gitlab:ldap:check RAILS_ENV=production Checking LDAP ... Server:…
2
votes
2 answers

Self hosted gitlab sign up with Google account

I am setting up a GitLab EE instance and I'd like to enable Sign up process only with Google account. I followed the documentation here: https://docs.gitlab.com/ce/integration/google.html and here:…
Jan Richter
  • 183
  • 1
  • 11
2
votes
0 answers

Using Git submodules in Gitlab CI jobs

Summary Git submodules dont work in CI jobs Steps to reproduce Create a file .gitmodules [submodule "database_schema"] path = database_schema url = ../../nss/database_schema.git My .gitlab-ci.yml ``` variables: GIT_SUBMODULE_STRATEGY:…
Pacolotero
  • 131
  • 4
2
votes
1 answer

GitLab and Prometheus failure

Setup: GitLab installed with Omnibus package on CentOS 6.4 After I've made a change in the GitLab configuration file /etc/gitlab/gitlab.rb to configure Bitbucket as OAuth2 provider, I've run the reconfiguration: sudo gitlab-ctl reconfigure After…
Giox
  • 133
  • 1
  • 6
2
votes
1 answer

Gitlab Runner on AWS becomes really slow after some time

I'm using Gitlab shared runner with Docker (current runner version: 10.0.2, docker storage driver: overlay2), running on AWS t2.small instance. I started experiencing issues with builds slowing down after some time (it's hard to say when exactly…
pgrzesik
  • 131
  • 3
2
votes
2 answers

gitlab-ctl reconfigure error when creating user/group on initial install

I'm trying to run Gitlab CE on RHEL 7.2 (Maipo). I've completed the Gitlab install. However I'm unable to run sudo gitlab-ctl reconfigure. The error, environment details and what I've tried is outlined below. Does anyone know what I'm missing or…
AR3Y35
  • 121
  • 2
2
votes
1 answer

Enabling SSL For GitLab Results in ERR_CONNECTION_REFUSED

I have had an existing GitLab installation for a few months, and I decided it was time to add a real SSL certificate (not self-signed). Following the documentation, I change the following line: external_url 'http://.com' to: external_url…
David
  • 187
  • 2
  • 15