Questions tagged [gitlab]

Gitlab is self hosted Git management software.

Filter by
Sorted by
Tagged with
0
votes
0answers
38 views

CreateContainerError: context deadline exceeded

For a project, I must use big containers (500Mb to 60Gb). I don't have a precise measurement but when I run containers larger than 3-5Gb with gitlab-runner, I get an error in rancher: ...
0
votes
0answers
32 views

Is it possible to run gitlab as https/ssh through OS-Login IAP tunnels?

We have a gitlab server running on a GCP instance. Currently this instance has a mapped internet IP and a proper DNS name. Recently we have desired to remove this internet IP and force all access ...
-1
votes
1answer
34 views

Why is login with key authentication into gitlab behind a nat not working

I want to use gitlab behind a router doing key authentication. For some reason it does not. It exits already with the command git clone > git clone https://git.example.org/me/project.git c:\Users\...
-2
votes
0answers
25 views

GitLab Azure portal deployment

Before the update on Microsoft Azure deployment Center I can connect my GitLab repository and the portal successfully fetched the commits. But after the update I cannot deploy my GitLab repository to ...
0
votes
1answer
26 views

Gitlab as Terraform state management with HTTP backend not using project credentials?

I've been working to get a monorepo for Terraform up and running. Terraform is executed inside a container. However, when I try to init the backend for http pointing towards my self-hosted Gitlab, it ...
0
votes
0answers
18 views

System call failure when executing CI script in Docker

I'm currently setting up GitLab CI/CD. The Runner is installed on a Windows Server 2019 VM which has Docker Engine running. My gitlab-ci.yml looks something like this: variables: GIT_STRATEGY: clone ...
0
votes
1answer
24 views

Can't ssh to GitLab ee in a docker container

I've installed GitLab ee on Docker. I'd like to use authentication via ssh instead password but each time I try to authenticate, connection is closed. SSH Port is 1122->22 so I'm connecting with ...
0
votes
0answers
18 views

Generate certs for Integrating GitLab CI with Kubernetes

I want to integrate GitLab CI with Kubernetes and I need to fill up the config.toml file. Do you have any idea how can I generate these certificates? cert_file: Optional Kubernetes apiserver user auth ...
0
votes
1answer
51 views

Gitlab Container Registry timeout when connecting

Building an on-prem / self-hosted deployment of Gitlab for the first time. I've got the self-installation completed, single box and three dedicated hosts for runners (that I'm working to get them ...
0
votes
0answers
28 views

ADFS can't communicate with TLS1.2

I try to configure ADFS with gitlab to use SAML. My gitlab server have certificate signed by Active Directory. From Internet Explorer, I can open this url "https://gitlab-adfs../users/auth/saml/...
0
votes
1answer
71 views

Catch logs of containers created by a Docker executor of a GitLab Runner

Given a Docker Engine client (GitLab Runner) which creates and destroys containers dynamically through the Docker Engine API. Constraints The HostConfig.LogConfig.Type is always set to json-file and ...
0
votes
0answers
16 views

Gitlab reformat wiki page titles and links

Not sure where to ask this. But inside a small organization we're using a gitlab wiki It works great for our internal documentation. However many people have contributed to it, (it contains lots of ...
0
votes
0answers
37 views

How do I configure the hostname for the GitLab NixOS service?

I am trying to deploy a new GitLab instance on NixOS 20.09.1632.a6a3a368dda (Nightingale). I have this rather minimal configuration.nix: { modulesPath, ... }: let host = "example.org"; ...
0
votes
1answer
164 views

Kaniko (GitLab CI, K8s) can not push to Nexus Repository Manager: UNAUTHORIZED: access to the requested resource is not authorized

my GitLab CI job build a example container image with Kaniko with the GitLab runner on K8s. All services are in my LAN behind a static IP. The build process pulls an ArchLinux image from my first ...
0
votes
1answer
347 views

Docker login to AWS ECR from GitLab CI fails with “dial tcp: lookup docker on x.x.x.x:53: no such host” when pulling docker:dind from ECR

I'm working on porting a collection of Docker images used for GitLab CI/CD building and deployment from Dockerhub to AWS public ECR. Everything works as it should except for the standard Docker image ...
0
votes
2answers
93 views

Gitlab with Apache 2.4 gives 502: AH01102: error reading status line from remote server 127.0.0.1:8080

I am not a server admin, so I do not configure Apache Servers on a daily basis. But I want to use Gitlab on our server with SSL and Apache 2.4.6. (httpd on CentOS 7). So far I have added the ...
0
votes
1answer
193 views

Gitlab push very slow - Gitlab-CE

Gitlab push is very slow, Is there any settings I can modify on the internal gitlab-ce server that can make the git push much faster? Right now the push speed is 13.00 KiB/s. I have some large repo ...
1
vote
0answers
25 views

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......
0
votes
0answers
561 views

Gitlab CE Gives 502 Bad Gateway behind Dockerised Nginx Reverse Proxy Setup

I've followed the popular Dockerised Nginx reverse proxy setup for my VPS to host multiple sites or apps in a containerised fashion. Currently, it works fine and I can serve my static content. ...
0
votes
1answer
282 views

GitLab Pages running in Docker inaccessible from outside the container

I have a GitLab instance running in docker. GitLab works fine however I can't access GitLab Pages. The setup Overview +------------+ Request+-->+ Cloudflare | +-----+------+ ...
0
votes
2answers
518 views

Do I need to have my private ssh key stored on my server in order to git clone repos while ssh'd into the server?

I generated my ssh key on my local machine. I then used the following command to copy my public key onto my server: ssh-copy-id username@remote_host. That went smoothly. I have confirmed that my ...
1
vote
0answers
26 views

Why this job is exiting with error code 1

So ... I'm having a problem running a job inside gitlab. I'm using it as a docker container, which both he and the runner are running on a server with CentOS 8 as the main OS. Below I will put ...
0
votes
1answer
105 views

Jenkins - Git fetch not fetching any branches

Newly setup jenkins isn't scanning any branches. I tried the global creds and multipipeline creds as well. The creds are regular http username and passwords. Here is the log: Started [Tue Dec 08 16:...
0
votes
0answers
28 views

Gitlab CI security with docker image-builds

I'm currently trying to optimize security in my GitLab CI runner. In order to be able to build docker-images I used to have dind and therefore all GitLab builds run with privileged=true. Recently I ...
0
votes
0answers
127 views

Why these Gitlab jobs are exiting with 127 error code

So .. I am trying to run some jobs for the execution of a project, and the first time I tried to run it through the .gitlab-ci file it took a long time to execute it and presented error 127 during ...
0
votes
1answer
77 views

Gitlab on a minimal requirement Server

I am trying to install gitlab for private use. I want to pay as less as possible so I took the cheapest server on ovh and after installing GitLab on Ubuntu I get following error page "502 Error ...
2
votes
0answers
49 views

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@<myhost> results in PTY ...
0
votes
0answers
18 views

Broken gitlab branches on re-created EC2 instance

Background: System is GitLab Community Edition 12.9.2, Omnibus install running on an EC2 instance in AWS with separate Postgres AWS RDS instance as well as its own Redis AWS Elasticache instance. I ...
0
votes
0answers
48 views

Why I can't define a DNS to docker

I will try to summarize my problem as accurately as possible. I have to install Gitlab on a machine that has CentOS 8 and install it as a docker container. So far everything was going well, I was able ...
0
votes
0answers
26 views

Is there any way to undelete the project that failed the actual deletion due to error?

I'm using omnibus Gitlab CE 12.10.14 (yeah, I know, trust me). Recently I've found that some of the projects are showing the caption "This project was scheduled for deletion, but failed with the ...
0
votes
0answers
27 views

User keeps getting blocked with SSHGuard when opening VSCode on launch

One of our users in our domain keeps having their machine blocked when starting their machine and opening VSCode. Here's the log from the server I'm really at a loss here, any shouts?
1
vote
2answers
3k views

Docker in Docker for gitlab: Client sent an http request to https server / failed to remove network

I am trying ta I am trying to get a docker in docker configuration for my gitlab instance running but I just can’t get it working. Here is what I want to do: Start a „docker in docker“ image Start a ...
0
votes
2answers
49 views

SSH does not take server specific port config on Mac

I'm trying to connect to a GitLab instance with non-standard port from Mac. I've studied .ssh/config documentation and tried different options and I think my configuration is ok, but ssh still uses ...
3
votes
1answer
67 views

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 ...
0
votes
1answer
413 views

Gitlab - ERROR: Uploading artifacts as “junit” to coordinator

I have an gitlab-runner (as shell) which fails to upload to "coordinator" as I suspect is the gitlab server. It's a java project. Any seen this error before, or have suggestions on how to ...
0
votes
0answers
562 views

Docker : Gitlab fails to run behind Traefik : 502 Bad gateway

I'm posting here, because I'm searching to self-host my personnal website (a wordpress) and sources codes of my others projects (a gitlab instance), with the help of Traefik reverse-proxy's. Currently,...
0
votes
1answer
41 views

dependency loop : to deploy gitlab using awx ansible i need a repository

I want to deploy gitlab using awx and ansible ( or with puppet and rundeck ) and to do it i need a repository ( SCM : gitlab ) , the thing is i want to deploy gitlab but i need a gitlab , i can't find ...
0
votes
0answers
41 views

ssl Gitlab server configuration if using port

My local gitlab home server used by default the next value: external_url 'https://servername:6789' I am trying to add ssl. So, I created self signed certs and added/changed: external_url 'https://...
1
vote
1answer
407 views

Self host gitlab using caddy

I'm trying to install and host gitlab, but it requires and pulls in Nginx. Which would be fine, except I use Caddy and Caddy doesn't play well with Nginx and has to be disabled for Nginx to even start....
0
votes
1answer
742 views

How pass dotenv file to my deployment using Gitlab's Auto DevOps

Recently I was deployed a EKS cluster and connect it with our Gitlab.com group, I already deployed some examples and templates from Gitlab and all works fine. Now I’ll want to deploy my Node.js based ...
0
votes
0answers
35 views

Gitlab Runner registration failing on CentOS

After searching a lot on the Internet about the problem that I'm having when I try to register the gitlab runner, I was able to verify that the problem was related to SSL certificates. I've looked for ...
0
votes
1answer
95 views

Is it bad practice to use a CI server for cron/scheduled tasks

Is it considered bad practice to use something like Jenkins or Gitlab CI Pipelines to replace cron jobs? There are two downsides I can think of, giving the CI server access to all servers and having a ...
0
votes
1answer
133 views

Gitlab - Postfix can't send mail to external domain

On an Ubuntu 18.04 Server (VM), I have a gitlab omnibus installation (12.10.6) configured with an LDAP login. Besides LDAP, I didn't change the configuration defaults. At the moment, gitlab hasn't ...
0
votes
1answer
472 views

gitlab pg_dump version mismatch

I just recently transfered a gitlab instance to a new server. I thought everything was fine until I went to apt upgrade and the backup failed. Dumping PostgreSQL database gitlab ... pg_dump: server ...
0
votes
0answers
143 views

“Peer closed connection” on attempted sftp connection via lftp in gitlab ci using alpine image

I have a gitlab-ci.yml running a node:alpine image. I am trying to connect to a host via smtp using lftp. # part of gitlab-ci.yml before_script: - apk update - apk add lftp openssh -...
0
votes
2answers
248 views

Local GitLab Not Accepting SSH Key

I checked out this post, but it seems like it was written for OSX and/or Windows, and I'm not really sure how to apply it to my situation: GitLab Not Working With SSH-Keys I set up my GitLab instance ...
1
vote
2answers
1k views

Gitlab docker error on database migration after update (restart loop)

I just updated my gitlab docker instance, running using docker-compose on a host machine. I am experiencing the following error: Recipe: gitlab::database_migrations * bash[migrate gitlab-rails ...
0
votes
1answer
103 views

Empty user list in Gitlab LDAP connection

I am trying to connect Gitlab to our Active Directory. I have a connection to LDAP, where the authorization succeeds but the list of users with access to Gitlab is empty. The gitlab config looks like ...
0
votes
1answer
950 views

Using Gitlab docker behind nginx proxy manager docker

I try to setup Nginx Proxy Monitor(NGPM) as a reverse proxy for Gitlab and other websites/services. Gitlab itself is running inside a docker container that has it's own IP address. NGPM is also inside ...
0
votes
0answers
36 views

sharing assets between domain and subdomain without sharing with public

I want to put my images in img.mysite.tld hosted in gitlab And use them in my static site mysite.tld & www. mysite.tld, hosted in netlify. But ensure that no other domain can use them like using ...

1
2 3 4 5
8