18,411 questions
0
votes
0
answers
22
views
ArgoCD “ssh: handshake failed... connection reset by peer” when connecting to GitLab via SSH
I’m trying to connect ArgoCD to a private GitLab repository using SSH.
I created a key pair and added the public key to GitLab.
Then I configured the private key and repository URL ([email protected]....
0
votes
0
answers
70
views
Exception during gitlab-backup restore from 18.4.1-ee to 18.4.1-ee [closed]
I’m restoring a GitLab Enterprise Edition backup from one server to another. Both environments have the same GitLab and PostgreSQL versions. However, the restore process fails with these errors:
ERROR:...
0
votes
0
answers
21
views
GitLab CE self hosted is changing my group users
I have a self hosted GitLab CE for a project management team.
I have created a Group with 1 owner and 2 maintainers, and this group is linked to 3 different projects. So the group should be:
owner (...
0
votes
1
answer
48
views
ssh to a protected machine with a gitlab pipeline
I want to connect with ssh to a private machine using a gitlab CI/CD pipeline.
I found this tutorial https://docs.gitlab.com/ci/jobs/ssh_keys and followed it however the machine refuses the entry to ...
0
votes
0
answers
15
views
GitLab CI/CD pipeline Salesforce code coverage test
I'm currently building a CI/CD pipeline in GitLab, and I'm running into trouble with integrating a code coverage check.
What I’ve Got So Far:
A working GitLab Runner (on Windows).
An Apex class and a ...
2
votes
1
answer
35
views
GitLab input values based on branch, like variables
My GitLab 18 instance is suggesting me to use inputs instead of variables;
Using inputs to control pipeline behavior offers improved security and flexibility. Consider updating your pipelines to use ...
0
votes
0
answers
25
views
GitLab on Ubuntu: Browser always redirects http://git.brian.dev to https://git.brian.dev
I’m configuring a self-hosted GitLab server on my laptop (Ubuntu).
My Wi-Fi IP is 192.168.x.x.
I added this line in /etc/hosts:
192.168.x.x git.brian.dev
In GitLab configuration (/etc/gitlab/gitlab....
-1
votes
1
answer
52
views
GitLab asking for Creating a Merge Request with no commits in it [closed]
I have a GitLab forked repository (from upstream GitLab repo) in which there are two branches develop and main. On my fork repository it was showing me that my fork is 12 commits behind of the ...
0
votes
1
answer
51
views
Cloud Native Buildpacks unprivileged lifecycle with bellsoft-liberica buildpack BP_JVM_TYPE JDK builds JRE-configured run image instead of JDK
In our GitLab Pipeline we use Cloud Native Buildpacks (CNB) with the Kubernetes executor & unprivileged Runners (without pack CLI & docker) as discribed in this so answer.
Additionally to the ...
1
vote
1
answer
54
views
How to pull images from AWS ECR via pull through cache in .gitlab-ci
I'm using a gitlab pipeline, where its base image repo is in AWS ECR. I've configured AWS ECR pull through cache where my upstream registry is docker hub.
In my runners, I've added this
[[...
1
vote
1
answer
18
views
Hugo site on GitLab Pages – sitemap.xml shows gitlab.io domain instead of custom domain
The site works fine on my custom domain (e.g. https://www.example.com/), but in the generated sitemap.xml (and also in RSS feeds) the URLs still point to the GitLab Pages default URL (https://project-...
1
vote
1
answer
20
views
Weird things when executing multiple ssh command in gitlab CI script
I have a gitlab CI pipeline defined in .gitlab-ci.yml. One job is to deploy and start a spring boot application to 2 different machines. I do it by invoking a bash script twice with different machine ...
1
vote
1
answer
50
views
GitLab cache not found in second job
According to the documentation, "Subsequent jobs in the same pipeline can use the cache, if the dependencies are identical." I have the following in my gitlab-ci.yml file:
slowcompile:
...
0
votes
1
answer
86
views
Unable to create masked variable because: The value must have 8 characters
I want to set up a Git_CI_USER. I get the message “Unable to create masked variable because: The value must have 8 characters.” My GIT_CI_USER only has 7 characters. Perhaps the problem can be solved ...
0
votes
0
answers
12
views
switch external .gitlab-ci.yml for a single branch
In project P we use an external "CI/CD configuration file" set to ".gitlab-ci.yml@library".
for a feature branch of P ("my_feature_p") I would like to test some changes ...