Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
57 views

Let's say you have the following setup in gitlab: Gitlab Group Developments, of which there is a Subgroup Subgroup, which in turn contains Template project X which provides a general structure for ...
DevelJoe's user avatar
  • 1,552
Best practices
0 votes
0 replies
31 views

We aare developing new features for our code which we use merge requests in Gitlab to a release branch where all features are collected. When doing the actual release we do a MR from release branch to ...
Sverker Abrahamsson's user avatar
1 vote
1 answer
112 views

I want to frequently test a Python application I'm developing with uv, which I publish to a private repository on a GitLab instance. I've generated an access token with read access to the repo and I ...
FLKR's user avatar
  • 77
0 votes
0 answers
33 views

I'm editing a file in a merge request in GitLab's Web IDE. While I'm working, someone else commits changes to the same file, which creates a merge conflict. When I'm ready to commit my changes, GitLab ...
Jonathan Sachs's user avatar
0 votes
0 answers
45 views

We have the following Jenkins pipeline script. pipeline { agent any stages { stage('Run in Sandbox'){ steps { dir('Pot') { checkout ...
Timothy A Calderwood's user avatar
Advice
0 votes
2 replies
43 views

Let's say you have a repository in gitlab. For facilitated distribution of the application and according development throughout a team, you convert the app into a Docker Container, which can be ...
DevelJoe's user avatar
  • 1,552
Advice
1 vote
3 replies
90 views

There are several questions on stack overflow asking how to get the current branch name on GitLab. The interwebz are full of countless variations of that same question. The answer that is always ...
Mike Nakis's user avatar
Best practices
1 vote
3 replies
81 views

I have a project named sample which have 2 submodules sampleA and sampleB. I also have another git repo named Example which also refers to same submodule sampleA and sampleB. When I change something ...
mariya cherian's user avatar
Best practices
1 vote
1 replies
47 views

i've a question. We were using Gitlab's Instance runners but for security reasons, we wanna move it to private runner. I tried using ec2 as runner but it can't scale and is so slow for concurrent runs....
berkayln's user avatar
  • 1,003
0 votes
0 answers
66 views

I just successfully moved a project from GitLab to GitHub. Our entire team have accounts on both platforms and everyone has read/write access to the new GitHub project. For some contributors, GitHub ...
tospo's user avatar
  • 738
0 votes
0 answers
26 views

I have the following jobs: .build-image: extends: .build-docker-image stage: build variables: COMPOSER_HOME_DIR: /kaniko/.composer BUILD_ARGS: > COMPOSER_HOME=${...
Tarta's user avatar
  • 2,117
0 votes
0 answers
99 views

I am trying to git clone a GitLab repository using HTTPS on my Windows Laptop. HTTPS is the only protocol supported. It failed with the following error: remote: Enumerating objects: 202266, done. ...
Hui's user avatar
  • 127
1 vote
2 answers
100 views

I forked a GitHub repository from my friend’s account, but when I try to push my commits, I get this error: remote: Permission to Fatima-Ennouari/test.git denied to Ridafadli. fatal: unable to access ...
ADIL RADIDI's user avatar
0 votes
1 answer
42 views

I'm trying to build a GitLab pipeline that calls a Docker component and does the Docker build, scan, and push automatically. My pipeline structure is as below. default: tags: - eks-lnx-prd ...
dude0786's user avatar
0 votes
0 answers
36 views

I have a Gitlab pipeline that has a number of (expensive) steps, which I normally want to be manual and allowed-to-fail, but I want them to run and to succeed when the branch is actually being merged. ...
David Vonka's user avatar
0 votes
1 answer
142 views

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]....
parax's user avatar
  • 163
0 votes
0 answers
32 views

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 (...
drn_svq's user avatar
  • 11
0 votes
0 answers
33 views

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 ...
Moritz 's user avatar
2 votes
1 answer
98 views

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 ...
jerome2710's user avatar
0 votes
0 answers
32 views

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....
user24809983's user avatar
0 votes
1 answer
80 views

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 ...
jonashackt's user avatar
  • 14.8k
1 vote
1 answer
137 views

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 [[...
Shiran Joseph's user avatar
1 vote
1 answer
22 views

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-...
Udi's user avatar
  • 30.8k
1 vote
1 answer
34 views

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 ...
xing's user avatar
  • 504
1 vote
1 answer
73 views

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: ...
James Foster's user avatar
  • 2,250
0 votes
1 answer
242 views

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 ...
Aaron's user avatar
  • 847
0 votes
0 answers
17 views

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 ...
gatinueta's user avatar
  • 457
0 votes
0 answers
106 views

I have a GitLab CI/CD pipeline that builds and deploys a package into the GitLab Package Registry. For a specific (and temporary) use case, I need the pipeline to delete the package from the registry ...
Ryley38's user avatar
  • 403
0 votes
0 answers
90 views

Log: client.go:14:2: reading gitlab.ts.gitlab.aws.de/ds/l2/clients/go.mod at revision clients/v1.0.1: git ls-remote -q origin in /go/pkg/mod/cache/vcs/...
der papa's user avatar
1 vote
0 answers
65 views

I want to use Langchain to automatically update a helm chart via Gitlab-Python API. I realise it might work without langchain/llm with a more deterministic approach. However, i use it for testing ...
Tonio Liebrand's user avatar
0 votes
0 answers
49 views

Problem to solve How to prevent Developer/ Maintainer to manually re-run any GitLab jobs of the successful pipeline. Steps to reproduce Create a new pipeline which will executed on merge_request only....
Yogesh's user avatar
  • 313
0 votes
0 answers
144 views

The .NET application is deployed as a docker container in azure app service. This is a staging environment app. After the app is deployed to azure it runs fine. I see following logs in azure ...
Mahmud Mridul's user avatar
-1 votes
2 answers
138 views

I have a branch in GitLab with 18 commits, with a lot of back and forth trying the right way to escape something. Ideally, the branch should have three commits, changing three different parts of the ...
JF Meier's user avatar
  • 36.7k
0 votes
3 answers
120 views

I have a CI script on my gitlab repositories to publish plugins for my application. My plugins can either be published in debug or release. The steps for doing them are slightly different, so i have 3 ...
cboittin's user avatar
  • 419
-2 votes
1 answer
61 views

Obviously I don't want binary files like jar or exe in my git repo so GitLab is configured to block commits that contain jars, exe files, msi files etc. However, I do need gradle-wrapper.jar in there. ...
opticyclic's user avatar
  • 8,232
1 vote
0 answers
200 views

I have a .gitlab-ci.yml template that looks something like so # .base.yml spec: inputs: RUNNER_TAG: default: "one" options: ["one", "two"] type: ...
A Simple Programmer's user avatar
0 votes
1 answer
269 views

We have an existing GitLab CI Template using parallel matrix to run a job in parallel with different variables. include: - project: 'ci-templates' ref: main file: - Container/Container....
Erik's user avatar
  • 197
0 votes
0 answers
46 views

I'm looking at SQL Mesh bot in Github and seems to be following the Atlantis approach used in Terraform but brought into data modelling: https://sqlmesh.readthedocs.io/en/stable/integrations/github/ ...
Vzzarr's user avatar
  • 5,892
0 votes
0 answers
82 views

There are answers such as Run pipeline on gitlab when branch is deleted and even documentation on GitLab's site like https://docs.gitlab.com/ci/environments/#stopping-an-environment that make some ...
Wayne Werner's user avatar
  • 52.3k
1 vote
0 answers
71 views

I have code on GitLab and having CI/CD setup to run pipeline for different branches. I have to run my main .gitlab.yml pipeline only on protected branches, not for non-protected branches. Currently I ...
Keyur Chavda-kc1994's user avatar
-3 votes
2 answers
100 views

Is it's possible to use source repo as dependency instead of jar? I got few legacy projects in my selfhosted gitlab: core(child) api(parent) web(parent) The "core" project is dependency ...
SubGunDH's user avatar
0 votes
1 answer
106 views

I wanted to upgrade my Gitlab to the latest one following the Gitlab process : I have in my configuration git_data_dirs({ "default" => { "path" => "/data/gitlab/...
Halindel's user avatar
0 votes
0 answers
79 views

I tried using a Docker image called "CodiumAI PR-Agent," which can perform code reviews using AI. To set this up, I installed GitLab Runner on a new server and created a .yml file according ...
EvaHHHH's user avatar
  • 355
5 votes
1 answer
245 views

I have a requirement to set tags for the selection of GitLab runners where tags differ per environment. Therefore, I need the tag to be set according to the value of $CI_COMMIT_BRANCH or $...
Alex Harvey's user avatar
  • 15.6k
0 votes
1 answer
156 views

When I try to create new token with GitLab API like this: curl --request POST --header "PRIVATE-TOKEN: glpat-" --data "name=test-token-short-ttl" --data "scopes[]=...
Overlord's user avatar
0 votes
0 answers
143 views

I’m trying to download artifacts and a model that has been saved using MLflow on GitLab model registry. That's the working part of my code, where I set up the client, create model and version and ...
Alessandro Togni's user avatar
-1 votes
2 answers
460 views

rules: - if: $CI_PIPELINE_SOURCE == "merge_request_event" - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS when: never - if: $CI_COMMIT_BRANCH I've seen this ...
skyking's user avatar
  • 14.6k
0 votes
0 answers
31 views

I'm working with gitlab and gitlab-runner on openshift and my ci-cd file looks like this: image: docker:18-git stages: - ci - build - upload variables: DOCKER_HOST: tcp://docker:2375 ...
LIOR AVIV's user avatar
  • 103
2 votes
2 answers
146 views

I'm using semantic-release in a GitLab CI pipeline. The release fails at the @semantic-release/git plugin step due to this error: remote: ERROR: New commit has non-whitelisted author email: [semantic-...
user22730912's user avatar
1 vote
1 answer
238 views

I've setup the Gitlab Runner with the following settings - [session_server] listen_address = "0.0.0.0:8093" advertise_address = "winged-poring.projecthorizon.onl:8093" ...
SagunKho's user avatar
  • 1,087

1
2 3 4 5
368