Questions tagged [gitlab]

Gitlab is self hosted Git management software.

Filter by
Sorted by
Tagged with
0 votes
1 answer
42 views

Gitlab.com - how to access a project's package registry from another project's CI pipeline?

Given 2 gitlab.com projects on a Free Tier: A Source project contains some packages in its "Package Registry" (example id: 12345678), A Consumer project have a CI pipeline, which job ...
Bob's user avatar
  • 101
0 votes
1 answer
66 views

Allow AWS Identity provider to access a private VPC where the OIDC Idp resides

We want to implement Gitlab-AWS short-lived credentials but our Gitlab instance is located inside a private, non internet accessible VPC Subnet. I have looked into VPC Endpoints but I cannot find the ...
Michael Angel P.'s user avatar
0 votes
1 answer
115 views

Gitlab - What does "roles@[hash]" in a project means?

What does roles @ hash in a gitlab project means? When clicking on roles it forwards to a role folder. When clicking on the hash it forwards to a branch which name is just the hash. The branch doesn'...
s3eblue's user avatar
0 votes
0 answers
18 views

Gitlab pull mirror and diverging branches

I have a repository I am setting up bidirectional mirroring for. The interesting part here is the pull half. I would like the default branch "develop" not to lose changes if the other side ...
chx's user avatar
  • 1,705
0 votes
1 answer
75 views

Bitbucket to Gitlab Webhook to trigger pipeline

We've got following on-prem scenario: Devs working in Bitbucket on Apps, Ops working in Gitlab for "Gitops" things. We'd like to automate builds and deployment via our Gitlab pipeline and ...
mschau's user avatar
  • 1
0 votes
0 answers
134 views

gitlab-pages with custom domain

gitlab I have my hugo page project on https://sysc4ll.pages.freec0ding.dev/www/ I would like to have "https://sysc4ll.pages.freec0ding.dev/www/" available on "https://www.sysc4ll.sh&...
ajulien's user avatar
0 votes
1 answer
61 views

Flutter build pipeline takes a long. How can I make it quicker?

I have a self-hosted GitLab that stores my codes. My flutter project uses this pipeline to build an app bundle: stages: - build cache: paths: - $CI_PROJECT_DIR/.pub-cache/ image: ghcr.io/...
Mohammad Mahdi's user avatar
0 votes
1 answer
133 views

Why the host of the gitlab url appears encoded

why does my local gitlab generate project clone urls the following way: http://84fdf6ccc7dc/test/testproject.git And how can i either clone the repo using this url and authenticate it with username ...
sunnyboy's user avatar
0 votes
1 answer
244 views

Is it possible to connect directly CloudRun with Gitlab?

I am trying to configure a continuously deployed revision from a source repository with CloudRun on Google Cloud. It is unclear to me how to set, as a source repository, GitLab instead of GitHub or ...
attgua's user avatar
  • 13
0 votes
0 answers
56 views

How do I get the name of the backup file when using gitlab-backup?

Our Setup: Ubuntu 22.04 (hosted public vm) GitLab Community Edition v16.4.0 I'm attempting to create a script to backup our GitLab server. I was testing the gitlab-backup command and it created ...
ErocM's user avatar
  • 226
1 vote
0 answers
136 views

MicroK8s does not authenticate with gitlab private registry

I have an instance of MicroK8s, I am currently migrating my applications. But I can't authenticate to Gitlab's private registry. About my environment: MicroK8s Gitlab (with registry working securely) ...
Hiago Souza's user avatar
0 votes
1 answer
334 views

GitLab pages for group get a weird URL

I have an instance of GitLab running on-premise (gitlab-ee/jammy,now 16.4.1-ee.0 amd64), and I've configured GitLab pages. Base domains are: https://gitlab.mydomain.com for the GitLab instance; https:...
Aleksandar Pesic's user avatar
1 vote
0 answers
782 views

Getting "Not authorized" error when running SonarQube analysis in Docker container with GitLab Runner

I am trying to run a SonarQube analysis in a Docker container using GitLab Runner, but I'm encountering the following error: Caused by: org.springframework.beans.factory.BeanCreationException: Error ...
Sri's user avatar
  • 23
0 votes
0 answers
82 views

Gitlab Access Tokens, protected by authenticating Apache Reverse Proxy?

We hide a Gitlab instance (among several other applications) behind a single Apache Reverse Proxy, that is doing user authentication (OpenID) before granting further access to the lower services. This ...
Michael Schaefers's user avatar
0 votes
1 answer
789 views

how to share "build repository dir" between jobs in multiple gitlab runner configuration?

I'm using a gitlab runner to deploy application -shared gitlab runner and concurrent count is 4 /etc/gitlab-runner/config.toml concurrent = 4 check_interval = 0 executor = ...
lee's user avatar
  • 1
1 vote
0 answers
420 views

AuthorizedKeysCommand setup prompts for password

The issue: Even though I've set up AuthorizedKeysCommand and password authentication is stopped when I attempt to log in from my Mac, I am still being asked to enter the password: OS: Rocky Linux 9.2 ...
zamunda68's user avatar
0 votes
0 answers
145 views

In a GitLab runner SSH to local network that has IP as default Docker Bridge IP

I have a GitLab Pipeline based on the python:3.10.11 image. The runner needs access to a local network that is on 172.17.0.0 via SSH/Paramiko. But it is unable to connect to the newtwork, when the ...
Ambassador Kosh's user avatar
0 votes
0 answers
76 views

Varying, exclusive limits on concurrency in GitLab runner

I have a Linux server used as a GitLab runner. I'd like the server to be usable for two different purposes simultaneously: For build jobs, unit tests, etc. (things that aren't timing sensitive) many ...
rsethc's user avatar
  • 101
0 votes
0 answers
66 views

Cannot log into new GitLab installation

I have recently installed an instance of GitLab CE using Docker. The application sits behind an Nginx proxy and I can access the login page without problems. Unfortunately, I also cannot log into ...
Factor Three's user avatar
0 votes
1 answer
2k views

Terraform init error: Failed to download module (local changes would be overwritten)

I have a brand-new local Terraform project that I have just cloned from gitlab. I have not made any changes to the code, but when I run terraform init I get the following error, repeated for every ...
AstoriaBoy's user avatar
0 votes
0 answers
69 views

How can I debug a 'KidNotFound' error when implimenting GitLab SSO with Azure AD as IdP?

I am trying to integrate our self-managed GitLab 15.9.3-ee instance with our Azure AD. Using Azure AD as the IdP for SSO in to GitLab, I have been using the documentation here: https://docs.gitlab.com/...
MrRed's user avatar
  • 11
0 votes
1 answer
164 views

Cannot execute nested command on remote host over ssh tunnel

Im running the following command in my GitLab CI job: ssh ${REMOTE_HOST} "docker restart $(docker ps --format '{{.Names}}' | grep '^backend')" The problem is that it returns me the ...
Milkncookiez's user avatar
1 vote
0 answers
754 views

SSH connection to gitlab server not working

I have recently installed a gitlab server on a Fedora Server VM hosted locally on my computer. To install the gilab server I used this command : sudo yum install -y gitlab-ce. I had no errors during ...
Sinlog's user avatar
  • 11
0 votes
0 answers
149 views

How can I configure gitlab and nginx as a reverse proxy with SSL authenticating to Azure AD?

I've been pushing on this for days, I'm really hoping some kind soul can help. Nginx is sitting on an Ubuntu machine in Azure. On that same machine, Docker engine is running a Gitlab container (which ...
Maurice Marquis's user avatar
0 votes
0 answers
57 views

Deploy to AWS EKS using a service account

I need to deploy multiple (> 2 dozen) applications into distinct namespaces from GitLab. Unfortunately, Gitlab's old instance-wide Kubernetes integration has long been deprecated, and the new agent ...
user1933738's user avatar
0 votes
1 answer
385 views

gitlab runner error with environment

I have installed a new gitlab runner and am getting an error. ERROR: Job failed: prepare environment: Process exited with status 1. Check https://docs.gitlab.com/runner/shells/index.html#shell-profile-...
sflyer's user avatar
  • 1
0 votes
1 answer
994 views

How to properly set up private key for gitlab runner

I would like to make this scenario possible (some problem unrelated aspects were simplified for better understanding) Imagine we have a simple gitlab repository with only two files. index.html - ...
Johnczek's user avatar
  • 111
0 votes
0 answers
181 views

Continous delivery using Gitlab, Foreman and Puppet

We are using different tools to orchestrate our environment. On one side, we have Puppet and Foreman to deploy our different server applications, on the other side, we are using Gitlab in order to ...
Alexis Dufrenoy's user avatar
0 votes
0 answers
317 views

How to ssh through the gitlab subdomain URL

From this question I'd like to ask more of it https://stackoverflow.com/questions/75527943/unable-to-git-clone-from-self-hosted-gitlab-instance-with-custom-port-6022 Solved the problem that I need to ...
Sam's user avatar
  • 101
1 vote
0 answers
122 views

GitLab CI Runners faild InvalidParameterCombination: Cannot find upgrade path from 5.7.38 to 5.6 , Terraform

GitLab CI Runners faild the jbo with the following error message │ Error: Error modifying DB Instance legacy-dms: InvalidParameterCombination: Cannot find upgrade path from 5.7.38 to 5.6. │ status ...
sam23's user avatar
  • 59
1 vote
0 answers
222 views

Cloudflare zero trust application return SSL_ERROR_NO_CYPHER_OVERLAP

I am trying to secure a self-hosted GitLab solution using Cloudflare zero trust. I followed their tutorial but when adding the DNS record I get 'This hostname is not covered by a certificate'. but I ...
hmmmwhatgoingonhere's user avatar
0 votes
1 answer
1k views

AWS EKS Cluster : InvalidParameterException: Unsupported Kubernetes minor version update ,Terraform Gitlab CI

The following errors occur every time I run the pipeline │ Error: error updating EKS Cluster (business-staging) version: InvalidParameterException: Unsupported Kubernetes minor version update from 1....
sam23's user avatar
  • 59
-2 votes
1 answer
2k views

How to write Ansible playbook to commit and push my new updates on gitlab repository

How to write Ansible playbook to commit and push a gitlab repository? I have Ansible tower template to launch my playbook, then playbook must do commit and push on different git repo. This git repo on ...
Aniket's user avatar
  • 1
1 vote
0 answers
1k views

Docker-in-docker/GitLab CI: adding and using credential helper

For my organization I am building a GitLab CI/CD pipeline for one of our projects. One job in this pipeline will be executed on a Docker executor GitLab runner running on one of our own servers. The ...
Joshua Schroijen's user avatar
1 vote
0 answers
316 views

Making changes to DNS (bind) through git, how make it?

What is the correct way to change the entries in the Bind zone file and apply it through Gitlab CI/runner?
Red Hat's user avatar
  • 15
0 votes
1 answer
57 views

Keep GitLab environment running in Docker container

I'm aiming to deploy an environment for testing. It's a PHP application, and I could simply serve the PHP files using the embedded server. My .gitlab-ci.yml is plain simple: docker_test: stage: ...
Eduar's user avatar
  • 101
1 vote
1 answer
3k views

HTTPS support for GitLab behind proxy [duplicate]

I have one public static IP address and several applications running on port 80 and 443 on their own virtual machines. One of them is GitLab. As I can't forward ports 80/443 to just one of them, I ...
Omid Shojaee's user avatar
0 votes
1 answer
828 views

GitLab Managed Terraform tf.state backend fails

I am trying to run Terraform with AWS provider using GitLab CI/CD. I was using the backend as S3 to store the tf.state file and everything was working fine. As part of a research, I wanted to ...
arjunbnair's user avatar
1 vote
0 answers
151 views

Can Gitlab container registry store containers at the group level or only at the repository level?

Using a self-hosted GitLab instance I can configure the GitLab container registry under a repository successfully. The repository is part of a GitLab group. It would be more logical, organizationally, ...
davidparks21's user avatar
0 votes
2 answers
19k views

How to force install an rpm?

I have a gitlab pipeline where I will be installing latest rpm everytime. Some times, even if the target machine is changed manually, the rpm should be installed successfully. But some how I am ...
Kalel's user avatar
  • 244
0 votes
1 answer
37 views

How to have a single pipeline run and single commit in github?

In jenkins, we can schedule poll scm to check for every 1 hr, 2hr,etc. In the meanwhile, even if we add n number of commits, let’s say poll scm is 1 hr After 1 hr, it will check for latest commits and ...
user2331760's user avatar
1 vote
0 answers
954 views

Nexus Docker Registry as external Gitlab registry

I'm using Gitlab CE as the all-in-one docker container and Nexus as a artifact store. Because there is already an integrated Docker registry within Nexus, I'd like to use it. Within the CI/CD process ...
TRW's user avatar
  • 518
2 votes
0 answers
1k views

How to set a job to manual based on previous stage failure in gitlab pipeline?

I have a pipeline as below. If I keep the allow_failure value true for the teardown job, the next job is running directly. allow_failure=true If I keep the allow_failure value false for the teardown ...
Kalel's user avatar
  • 244
0 votes
1 answer
482 views

How to configure aws cli on ubuntu gitlab?

While trying to install and configure aws cli on ubuntu runner in pipeline, stuck at below screen. pipeline stuck How to do that?
Kalel's user avatar
  • 244
0 votes
1 answer
204 views

Gitlab backups have recently ballooned

I've installed and am running Gitlab via Omnibus installation. For years my Gitlab backups have hovered around 1 gigabyte, total. Over the last year or so though, they have ballooned in size and now a ...
Thomas's user avatar
  • 135
0 votes
1 answer
723 views

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=...
Kalel's user avatar
  • 244
0 votes
1 answer
168 views

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 ...
fajin yu's user avatar
  • 205
-1 votes
1 answer
531 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 ...
Kalel's user avatar
  • 244
1 vote
2 answers
7k 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 ...
Kalel's user avatar
  • 244
0 votes
0 answers
2k 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 ...
Jeysson Paiva's user avatar

1
2 3 4 5
10