Questions tagged [gitlab]

For questions about GitLab, an open source Git repository manager with issue tracking, wiki and continuous integration facilities.

34 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
233 views

How to implement GitLab Flow branching model for microservices?

Recently I’ve been looking into alternatives to the git flow branching model and since I’m already using GitLab, I stumbled upon their own branching model called GitLab flow. I’m currently trying to ...
3
votes
0answers
47 views

After deployment, one Rancher load balanced RESTful app instance returns 404 while other returns results

I have setup a CI/CD pipeline which triggers builds, packages, and deploys tasks that execute on Gitlab online whenever a Spring boot RESTful service app is checked in. The three stages and tasks run ...
3
votes
1answer
450 views

Globally configuring Gitlab with Jenkins in docker container environment

I have Jenkins users authenticated by OpenLDAP and also gitlab CE instance authenticated by the same OpenLDAP. And all the three are running in three different docker containers in the same network. ...
2
votes
0answers
27 views

How to add status flags or manual steps to CI/CD process with GitLab Pipelines

I'm trying to set up a CI/CD GitLab Pipeline with feature branches with various stages of testing, both automated and manual, culminating with an automatic merge to master at the end. I'm struggling ...
2
votes
0answers
180 views

How to ensure testing execution order with GitLab CI?

I have about half a dozen of integration tests (handled with Robot Framework) to run in a GitLab CI pipeline. Once upon a time, we did not care about the execution order of these tests. The ...
1
vote
1answer
24 views

CI pipelines, concurrency and build results possibly overwriting each-other

I'm currently using gitlab-ci to generate docker images for some repositories, however i dont feel as though this solution is as reliable as it should be. I can forsee a issue with multiple builds ...
1
vote
1answer
35 views

Trigger cicd pipeline after merge request accept on master, Gitlab

Trying to run some task after merge request get accept (only on master branch). I am aware of only: - master -merge_requests config options, but want to specifically run pipeline only when code get ...
1
vote
0answers
22 views

Set global repository access to GitLab via GitLab connections and Gitlab OAuth

I am trying to configure a secured Jenkins server in a company network where GitLab CE is already running. I have set the access control and the authorization system in Jenkins via the GitLab ...
1
vote
0answers
143 views

How to use shared runner (dind) for build stage and runner with shell executor on my server for deploy stage?

I want to do the build of my image on a shared runner and build it on gitlab registry. then I want to pull that image, on my server using the runner on my server using shell executor. but I face a ...
1
vote
0answers
688 views

Access denied when pulling private registry image using helm with gitlab runner helm chart and ci job

I have a kubernetes cluster with 1 master and 2 workers. All nodes have their IP address. Let's call them like this: master-0 worker-0 worker-1 The network pod policy and all my nodes communication ...
1
vote
0answers
15 views

How to handle Webhook Endpoint that is behind an OAuth Redirect?

ers! I am trying to connect a webhook from GitLab (external standalone) to Jenkins (a pod on Openshift) However, when anyone tries to log onto Jenkins, they are redirected to Openshift first, asked ...
1
vote
0answers
99 views

Read webhook payload in Gitlab CI

I have a project (PROJECT_A) that is triggered through a webhook, and expects the variable $PRODUCT to be set. Its value is used to trigger a certain path in the build. The job in the .gitlab-ci.yml ...
1
vote
0answers
308 views

Kubernetes Continuous deployment stage in Gitlab Online fails

I am working on setting up a cloud DevOps deployment pipeline using Gitlab CI online, Kubernetes, and docker. I am following an example post at Continous delivery of a spring boot application with ...
0
votes
0answers
12 views

GitLab test reports are failing on xml parsing

We have configured generating test reports in our scala application, JUnit tests reports are generated on a pipeline in gitlab where we run our tests. However in some applications (some work, some don'...
0
votes
1answer
35 views

Gitlab CI\CD Error: Failed to create container volume for /builds/root Unable to load image

I've installed the Gitlab local server and also install the Gitlab-runner and everything needs to use the CI/CD tools. After that When I run the CI/CD tools to build and deploy the project, it makes ...
0
votes
0answers
15 views

Persistent storageClass for GitLab on Kubernetes

Using the official helm chart and documentation, I want to deploy GitLab to Kubernetes. The storage guide shows how to store persistent data and also offers example Helm values. Sadly this doesn't ...
0
votes
0answers
32 views

Gitlab + Kubernetes on GCE + DIND - how to get access to docker subsystem in the cluster?

Preliminaries I am using Gitlab Community Edition 12.0.3, in which I have standard project admin permissions but no more. The installation only has few and slow CI runners, so I went and created a ...
0
votes
0answers
10 views

How to get GitLab on the cloud to run command with alias specified in the Dockerfile?

I'm trying to build an image with PMD to use in a runner with a project. I was planning to have PMD run a code analysis before the build and test steps. For that, I tried to set an alias for PMD ...
0
votes
0answers
27 views

Distributed git directory shared between directories, but with different branch on each directory

Is it possible to have a .git directory shared between multiple jobs in Jenkins, where each job is using a different branch? Reason for the question: The repository has 30 GB (all components in one) ...
0
votes
0answers
38 views

Hook execution failed Net::ReadTimeout when trying to clone a repository

I've been using git hooks on GitLab and got error Hook execution failed Net::ReadTimeout when trying to clone a repository is git hook has limit ? I have 866 websites listed on Integration some ...
0
votes
0answers
85 views

ASP.NET Core appsettings.json secrets values transformation per environment using Gitlab

We are using Gitlab in the new company I started and is something new for me, I am not a devops guy but before collaborating with devops and using Octopus Deploy I was able to setup secrets per ...
0
votes
1answer
18 views

What package manager does the gitlab docker CI image use?

I'm trying to install additional software but apt-get is not available. So in my .gitlab-ci.yml file I have: image: docker:stable What is the image based off from?
0
votes
1answer
15 views

Gitlab - Is there any reason not to default enable 'Allow Users to Request Access' for Projects?

Is there any reason not to default enable 'Allow Users to Request Access' for Projects? I can conceive that there may be a reason this is not enabled by default. But I am considering enabling it if ...
0
votes
1answer
33 views

How do I automate the process of pulling the latest code and restarting a service on git push?

I have an application (Logstash) running on a Linux VM and the settings for it are on a GitLab repo. What I want is for the VM to pull the latest version of the settings file and restart the service ...
0
votes
0answers
29 views

Retaining temporary job side containers with GitLab runner

If you run a specific GitLab runner (i.e. a CI build agent) as a Docker container, it would spawn temporary side containers and remove them after job exits. Is there a way to tell the runner to ...
0
votes
0answers
283 views

curl: (6) Could not resolve host error from Gitlab Runner

I'm trying to trigger jenkins job after deploying a pipeline; I've added this part in .gitlab-ci.yml but I got below error when running the job in the after_script section "curl: (6) Could not ...
0
votes
1answer
327 views

Jenkins poll scm issue- Multiple jobs configured in single repo

We configured multiple jobs in single repo and enabled poll scm. The build is not triggerring whenever checkins happened. Let me know is it possible that poll scm will work for multiple jobs in ...
0
votes
0answers
22 views

How to filter GitLab jobs by runner?

One of the GitLab runners has got itself into a bit of a state, and to find out how I would like to show only jobs (or just the logs of jobs, if possible) on that runner. I do have shell access on the ...
0
votes
0answers
76 views

Configuring Gitlab SMTP for QQ exmail

Following is my gitlab.rb file with SMTP configuration for QQ exmail gitlab_rails['gitlab_email_from'] = "gitlab@example.com" gitlab_rails['gitlab_support_email'] = "gitlab@example.com" gitlab_rails['...
0
votes
0answers
107 views

Universal CICD Pipeline?

I have multiple Node.js projects in Gitlab. They all use the same exact CI/CD pipeline. Therefore, I have X number of the same exact .gitlab-ci files. That being said, is there a way to get rid of ...
0
votes
1answer
664 views

Trigger a cross project GitLab trigger

I am trying to call a trigger on one GitLab project using a job on another. Let’s call one A, and the other B. I want a job in A to trigger a job in B. In A, this is what my .gitlab-ci.yml looks ...
0
votes
0answers
27 views

How to FTP Directly from 3rdPartyHostingServer to ClountStack like GitLab, GitHub, AWS,etc?

I am working on a Web App. I am facing an issue with DevOps environment and looking for a solution for the same. My local machine is Win10 machine. I have my code on a 3rdParty Hosting Server(e.g ...
0
votes
0answers
44 views

How add Dependencies without DEP?

I did create go project. I did test on local developer PC: all did work. Did upload src to GitLab. After I did want to create CI_CD (gitlab/Jenkins/Artifactory) with putting on target server. Go App ...
0
votes
0answers
522 views

How to implement Auto Review Apps on GitLab with Docker Compose and Swarm

I would like to have an Auto Review App available for every branch of my repo. My project is composed of multiple containers, and uses docker-compose.yml, but GitLab's Auto DevOps doesn't support it ...