Questions tagged [gitlab]

Gitlab is self hosted Git management software.

The main site for Gitlab.

464 questions
0
votes
1 answer

How to resume a manual step in pipeline with gitlab api?

I have a pipeline as below. pipeline First two are automatic and the last two jobs are manual. When I ran the curl command to run the pipeline, as below. curl -X POST \ --fail \ -F token=TOKEN \ -F "ref=REF_NAME" \ -F…
Kalel
  • 134
  • 1
  • 4
  • 16
0
votes
1 answer

Gerrit replication plugin reload with error "lacks ${name} placeholder in FileBasedConfig"

The server which I deploied Gerrit's OS is Ubuntu 18.04.05, and my Gitlab server's IP address is 192.168.0.167. I tried using replication plugin to push gerrit project to local Gitlab server. My gerrit_site/etc/replication.config file likes…
fajin yu
  • 195
  • 3
  • 10
0
votes
0 answers

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 Directory: …
0
votes
0 answers

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 aws-cli It installed aws-cli Then, configured aws…
uday
  • 352
  • 10
  • 30
0
votes
1 answer

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 forwarding in the environment variables on the…
elyograg
  • 239
  • 1
  • 11
0
votes
1 answer

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 configuration has been done for a while, but I have been…
0
votes
0 answers

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. docker-compose.yml: version: "3.6" image:…
Max K
  • 3
  • 1
  • 3
0
votes
1 answer

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/ { rewrite ^/gitlab(/.*)$ $1 break; …
0
votes
0 answers

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 "Pipelines must succeed" is not enabled for this repo and also this…
Geo
  • 575
  • 3
  • 9
  • 23
0
votes
1 answer

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 we switch traffic from cluster A to B then cluster…
Sam
  • 101
  • 1
0
votes
0 answers

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 name has been tested to be accessible at least via…
cr001
  • 195
  • 2
  • 8
0
votes
2 answers

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... ERROR: Job failed: prepare environment: exit status 1.…
0
votes
1 answer

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?
Przemyslaw Wojda
  • 115
  • 1
  • 1
  • 6
0
votes
2 answers

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 or directory I am using root user and when I check…
Golide
  • 123
  • 1
  • 2
  • 10
0
votes
1 answer

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: false global: redis: host: ??? password:…
user3142695
  • 105
  • 12