Questions tagged [gitlab]

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

26 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
53 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 ...
2
votes
0answers
34 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
284 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 ...
2
votes
0answers
231 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
0answers
38 views

Trying to migrate CI/CD process from Jenkins to Gitlab Runner + Docker on Windows

I need to improve the CI process of my projects, which is basically composed of the following things: a Linux server, that contains a Jenkins master a VM with Windows 10, with a Jenkins slave, ...
1
vote
1answer
40 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
191 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
26 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
819 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
114 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
332 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
11 views

How to deploy docker swarm to external VDS using local Gitlab?

We have a local, not visible in the Web Gitlab instance and trying to deploy Docker Swarm app. Almost every manual regarding Gitlab CI and Docker specify images like this: registry.gitlab.com/some/...
0
votes
0answers
14 views

Set session max duration on gitlab.com - 2FA

I am using gitlab on gitlab.com website (not self-hosted). Since we are using laptops, I wanted to force the use of a 2FA token (Smartphone application or a Yubikey) to prevent our code-source to be ...
0
votes
1answer
24 views

GitLab CI/CD: How do I generate a change log between pipeline runs?

I'm currently using Gitlab CI/CD combined with Fastlane on our build machine to perform nightly builds of an iOS app, and push those builds to TestFlight on completion. So far, so good. However, I've ...
0
votes
0answers
18 views

Gitlab CI: Curl to localhost slows down over time?

I've been trying to make a GitLab CI job work, but I am not allowed to change the basics (e.g. stages, starting image). The code is using Python/Flask API which accepts a POST request with CSV data, ...
0
votes
0answers
12 views

Docker machine would give up to generate new CloudStack machines in GitLab autoscaling context?

How comes that GitLab gives up on generating new runners? We use an autoscaler setup with: Docker machine 0.16.1 Apache CloudStack driver One autoscaler works fine. But in the other region the ...
0
votes
0answers
5 views

Manage build dependencies in GitLab but not through triggers

What I have found out so far in GitLab, there is a "push notification" method through a trigger. If A is done, it triggers B. But if B* is a class of jobs dependent on A, how to tell every B to "...
0
votes
1answer
289 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
25 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
87 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
11 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
29 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
177 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
381 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
1answer
969 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 ...