Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [gitlab]

Gitlab is self hosted Git management software.

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

How to execute remote commands on linux and update return value?

As part of automation in gitlab ci. I am running a terraform template and creating a linux machine. After that, I need to run few commands on the remote machine. I am running those using the ssh ...
user avatar
0 votes
0 answers
12 views

How to dynamically change cgroup of systemd service subprocesses (gitlab runner)?

I am running a gitlab runner and I want each job to put itself into its own cgroup. I can set the gitlab bash subprocess to the right cgroup, but its children don't inherit the cgroup. This is how I'm ...
user avatar
  • 523
0 votes
0 answers
29 views

How to fix script config should be a string or a nested array of strings up to 10 levels deep?

With below pipeline job, I am getting syntax error. gitlab error Found errors in your .gitlab-ci.yml: jobs:test-artifact:script config should be a string or a nested array of strings up to 10 levels ...
user avatar
0 votes
0 answers
27 views

Gitlab Registry error [closed]

Looking way to debug my problem with Gitlab Registry. In my setup of Gitlab Registry was disabled. After I have enabled it, I have menu option but get error 500 Docker Connection Error. There is link ...
user avatar
0 votes
0 answers
129 views

How can to resolve a coreDNS pods with status ContainerCreating - kubernetes

I hope somebody can help me. Well, I'm building a server (CentOS) with Gitlab, Gitlab-Runner, docker, and Kubernetes to CI/CD. GitLab information Version: 14.10.2 Revision: 07d12f3fd11 ...
user avatar
1 vote
0 answers
30 views

GitLab Helm Chart Minio use existing PVC

Previously in my helm chart, I had the snippet below... minio: replicas: 1 persistence: enabled: true existingClaim: minio #size: 10Gi serviceType: LoadBalancer Because I do have an ...
user avatar
  • 611
0 votes
0 answers
16 views

Gitlab pipeline is giving connection error

We have created a wrapper executable for our product with python setup tools. with aws machine, it is running and even in docker container. But when I run the same command in gitlab runner with same ...
user avatar
0 votes
0 answers
66 views

How to run aws cli on amazon linux container?

I want to run amazon linux commands as part of gitlab pipeline. So, trying to use docker image as runner, amazonlinux:latest So, connected to docker container and ran below command. yum -yq install ...
user avatar
  • 237
0 votes
0 answers
26 views

How to deploy terraform in another account of aws using gitlab?

I have a gitlab runner configured in the aws ec2 instance. For any aws deployments, we simply added the role to the ec2 instance. But, our gitlab runner is configured in one aws account. And we need ...
user avatar
0 votes
1 answer
23 views

Key forwarding with putty isn't working, but plink DOES work

I'm having a problem where putty's key forwarding (via pageant) to my gitlab server isn't working. I'm doing a putty session to my server, with ssh auth forwarding enabled. I see the effects of that ...
user avatar
  • 149
1 vote
1 answer
14 views

Using git lfs to manage data in storage server

I am part of a small physics research team (10-15 people) which recently has acquired a storage server and I will be responsible for setting it up. As such, I needed to think the best way to organize ...
user avatar
  • 111
1 vote
0 answers
53 views

Unable to login to docker via Ubuntu 18.04.5 LTS

I am having an issue on login to docker from my Ubuntu 18.04.5 LTS This is the command I run to login docker sudo docker login -u myname -p mypass This is the error I've got Error response from ...
user avatar
0 votes
0 answers
13 views

How to re-use vault files in different Ansible Tower projects?

I have an Ansible Tower installation and a lot of playbooks in Gitlab projects. Several projects make use of vault files, i.e. they contain credentials for a VMware VCenter. Whenever I start a new ...
user avatar
0 votes
1 answer
21 views

How do I write a maintainable Terraform template

for my company I have been tasked with creating a standard configuration and template for an (EKS) Kubernetes cluster in Terraform that can be deployed using GitLab CI/CD. The deployment and ...
user avatar
0 votes
0 answers
303 views

Mount volume to build image used by gitlab runner

I have custom image where I want to run some tests which require installed app which in turn need openGL context. I can run it in container composed this way and manually build project and run tests. ...
user avatar
  • 3
0 votes
1 answer
65 views

NGINX location rewrite for Gitlab

I'm trying to make Gitlab work behind Nginx. my configs: Nginx: upstream gitlab-workhorse { server unix:/var/opt/gitlab/gitlab-workhorse/sockets/socket fail_timeout=0; } location /gitlab/ { ...
user avatar
0 votes
1 answer
243 views

Terraform source Gitlab module

I need help with sourcing terraform modules from a gitlab repository with multiple modules in it like ec2, vpc etc. I have two branches in module repo - develop and main. I tried all the ways below ...
user avatar
  • 15
0 votes
0 answers
25 views

Gitlab: Possible to specify roles in Azure AD manifest?

I already use Azure AD for login to Gitlab and now I want to manage roles (Regular user, Admin user) in Azure AD as well and pass them to Gitlab. Roles can be stored in the Azure Manifest, which are ...
user avatar
  • 101
0 votes
0 answers
116 views

Sidekiq crash loop, no jobs run

After upgrading GitLab to 14.7, sidekiq fails to stay running, and no jobs are running. All CI jobs are stuck saying This job depends on upstream jobs that need to succeed in order for this job to be ...
user avatar
  • 611
0 votes
0 answers
413 views

In Gitab repo Merge Requests shows "Checking pipeline status" as stuck

We recently updated gitlab server and we can see for some repos while creating Merge Requests we can see "Checking pipeline status" as stuck. We verified and confirmed settings for "...
user avatar
  • 535
0 votes
0 answers
19 views

Starting Gitlab 14.6.3 Docker (custom ports) without errors but webserver not reachable

I am trying to run gitlab docker image 14.6.3 with custom ports for HTTP (60000) HTTPS (60001) and SSH (60002). For this, I created the folder /srv/gitlabNB/ and started the instance like so: sudo ...
user avatar
0 votes
0 answers
45 views

Gitlab-runner using Virtualbox VM stuck in 'poweroff' state

The Problem After a specific project runs on my CI, virtualbox hangs while trying to 'poweroff' the VM. vboxmanage list runningvms shows nothing, but ps ax | grep VBoxHeadless shows the process is ...
user avatar
  • 101
0 votes
1 answer
67 views

How to detect traffic change and trigger GitLab pipeline?

We have two etcd clusters running in Kubernetes one act as primary(A) and the second one act as backup(B). We also have etcdctl make-mirror in place between these two clusters, now the problem is if ...
user avatar
  • 101
0 votes
0 answers
601 views

Openssl s_client shows CONNECT_CR_SRVR_HELLO only when -servername option provided

I have an HTTPS-enabled centOS7 server setup with GitLab/nginx, with an A record registered on a payed DNS and certificate verified by Let's Encrypt. (I will use gitlab.example.com here). The domain ...
user avatar
  • 185
1 vote
0 answers
26 views

How to automatically link commit-history to a ticketing system?

Our organization uses Gitlab to host all our git-repositories. Most commits refer to one (sometimes more) Jira-tickets and/or other issue-trackers. Something like: Add a widget to the trinket Jira: ...
user avatar
  • 2,242
0 votes
0 answers
26 views

Suggestions for backup plans on Godaddy VPS

I have subscribed for GoDaddy VPS, where I am hosting GitLab servers. I would like to understand the backup methodologies used in the industry, to keep the data secure. I know GoDaddy provides a ...
user avatar
  • 101
0 votes
2 answers
112 views

How to pass enveronment variable in gitlab to setup cicd gitlab-ci.yml

Running with gitlab-runner 14.5.2 (e91107dd) on ibrahimrunner a8c7nx2r Preparing the "shell" executor 00:00 Using Shell executor... Preparing environment 00:00 Running on ip-172-31-5-177... ...
user avatar
0 votes
0 answers
39 views

Moving raw GitLab repositories to a new GitLab instance with access to old disk image but no backups

I need to move all the data from a NON-BOOTING (so I can't create a GitLab backup normally) GitLab instance on EC2 to a fresh instance. I do NOT have GitLab backups, but have access to full disk of ...
user avatar
0 votes
0 answers
141 views

Get https://registry.gitlab.com/v2/: x509: certificate signed by unknown authority

Using a runner on a fresh Debian machine, when a job tries to connect to officiel Gitlab registry, I catch this error : Get https://registry.gitlab.com/v2/: x509: certificate signed by unknown ...
user avatar
0 votes
1 answer
26 views

Problems with deploy

I've got problem when deploying to server getting the below error (screen 1). After machine restart I can't install gitlab-runner. Any idea where the problem is?
user avatar
1 vote
1 answer
2k views

curl says a valid certificate is expired

I have a gitlab community edition hosted on a server, and when using curl on this server to fetch this local gitlab website, I get an expired certificate error even if the dates are valid: curl --...
user avatar
  • 13
0 votes
1 answer
151 views

GitLab with local IP install hangs at logrotate

I am trying and failing to install GitLab (EE) onto an on-premises bare-metal server PC running Ubuntu Server 20.04. The server is intended to later have internet-facing access, but for now it needs ...
user avatar
0 votes
0 answers
596 views

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 ...
user avatar
  • 163
-1 votes
1 answer
65 views

Is Gitlab the only vendor support subgroups level git repos?

Try to evaluate a few SaaS Git providers (e.g., Github, Bitbucket) other than Gitlab, but I don't think any of them support a subgroup level repo mycompany/backend/core.git mycompany/devtools.git ...
user avatar
  • 101
0 votes
1 answer
3k views

No such file or directory when trying to create .ssh keys

When I attempt to create ssh keys on my Debian instance : ssh-keygen -f /home/serverkeys/.ssh/id_rsa I am getting the error : Saving key "/home/serverkeys/.ssh/id_rsa" failed: No such file ...
user avatar
  • 113
0 votes
1 answer
35 views

Which host of redis in config, if running in the same k8 cluster?

I am running a redis cluster helm install -n redis staging bitnami/redis-cluster in my k8s cluster and want to use this with a self hosted gitlab. In the docs I see I have to set redis: install: ...
user avatar
0 votes
0 answers
527 views

Postgres and redis pods are failing from time to time

I've setup a kubernetes cluster (1.19) using RKE on a bare betal ubuntu (20.04) machine. I'm running a self hosted gitlab instance (installed by helm chart) on that cluster. From time to time (every 1-...
user avatar
0 votes
0 answers
37 views

Cannot activate Gitlab Service Desk

I'm using Gitlab EE 14.3.2. I'd like to active Service Desk on a project. I activated Incoming Emails as specified in the doc, and gitlab-rake gitlab:incoming_email:checkcommand says it's working. But ...
user avatar
0 votes
0 answers
106 views

Whitelist external IP for an external service for on premise Gitlab in AWS private network (VPC)

I have a technical question, I have an on premise Gitlab on a private network and I would like to have an integration (Localize), there documentation says that I have to whitelist a range of IP ...
user avatar
0 votes
0 answers
24 views

how to limit git bash to use https url alone and to use only one git platform to push the code to private repo?

We want to setup security to gitbash cli on our shared windows10 virtual desktop. Non-admin Users should use only https url (example: https://gitlab///). Using personal access tokens & ssh keys ...
user avatar
0 votes
0 answers
25 views

Increase Disk for Gitlab with Kubernetes

I have setup gitlab with helm and set gitaly.persistence.size=150Gi. When I check the generated aws ebs size it matches the claimed 150Gi. Checking the Statefulset of gitaly I also see the 150Gi ...
user avatar
  • 101
0 votes
1 answer
157 views

GitLab serves certificate list of 1 certificates

I'm trying to run GitLab's omnibus installer and use my organization's SSL certificate, but SSL clients complain that the certificate issuer is unknown. How am I supposed to configure intermediate ...
user avatar
  • 1,114
0 votes
1 answer
2k views

GitLab Runner for GitLab server with CA signed certificate failing with: self signed certificate in certificate chain

My company changed the Certification Authority (it was a single CA and now we have a root CA and an intermediate CA). I changed the configuration in the GitLab instance with success and moved to the ...
user avatar
  • 192
0 votes
0 answers
38 views

gitlab ci: How to share cache between fork and parent repository?

first please read the context of my inquiry. A project named teamspace/foo I maintain at work makes each teammate fork it. I have a scheduled pipeline that remakes cache each night. Now onto the ...
user avatar
0 votes
1 answer
163 views

Forward local ssh key to remote host

I'm using ansible and i'm wondering. Is it possible to rewrite a local ssh key to a remote machine? I need to clone a repository using my private key on a remote machine. I cannot add the key from the ...
user avatar
  • 1
0 votes
1 answer
122 views

Certificate for Gitlab-Server is invalid für Subject Alternative Name

My company has a certificate for https://data.ddl.at, which has, among others, a SAN (Subject Alternative Name) for gitlab.ddl.at. This Gitlab-Server is internal, and the domain name is only resolved ...
user avatar
1 vote
2 answers
982 views

GitLab Runner failing to register after migration to new cluster

I have GitLab installed in Kubernetes with their Helm chart. I migrated my old Gitlab deployment from one cluster to another with the following steps: Scale down all pods in old cluster Apply values....
user avatar
  • 611
0 votes
0 answers
52 views

Pass SSH connection to different server on connect

Good evening, I'm currently trying to get my hands a bit more deeper into linux then im familiar with. Lets get straight to my problem: First, lets talk about my setup. I have 3 servers, with each ...
user avatar
0 votes
1 answer
600 views

How do I have to configure certmanaager when using a gitlab managed cluster?

I use a scaleway kubernetes cluster v1.21.1 managed by gitlab. To do this, I created a Cluster Management Project with the default template. https://docs.gitlab.com/ee/user/clusters/...
user avatar
  • 1
1 vote
1 answer
211 views

apache2.4 reverse proxy to nginx gitlab server [closed]

I'm currently running an owncloud server based on a apache 2.4 webserver on my raspberry pi 4 8GB (working on dietpi 7.3) which works great i have a public domain setup and use letsencrypt to create ...
user avatar

1
2 3 4 5
9