Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [gitlab-ci]

GitLab CI is a continuous integration server from GitLab.

gitlab-ci
-1 votes
0 answers
16 views

How to access the server through SSH without asking for password? [duplicate]

I have the following command: ssh -o StrictHostKeyChecking=no [email protected]... "cd /var/www/api && git pull origin master" I want to access it (named "destination server&...
stack's user avatar
  • 10.5k
0 votes
0 answers
16 views

yq utility fails with error: unknown shorthand flag: 'c' in -c

I am trying to use yq utility to parse for validation values.yaml files, the resources block in particular. Below is a simple gitlab ci pipeline that I created to test yq utility stages: - test ...
iMAN's user avatar
  • 107
0 votes
1 answer
21 views

How do you browse a GitLab CI build after it fails?

Situtaion I push code to my repo on my self-hosted GitLab server. It triggers my runner to run my CI job. The CI job fails. Now I want to go investigate the scene of the crime. Question How can I ...
nullromo's user avatar
  • 2,419
0 votes
0 answers
9 views

Is it possible to define multiple "to be continuous" build templates using CI/CD component?

I know that it is possible to use parallel matrix jobs to handle multiple projects using the same template with the include:project syntax. An example is given here : https://stackoverflow.com/a/...
llebocq's user avatar
  • 41
0 votes
0 answers
26 views

Why gitlab ci fails with no error and how can I fix it?

Here is the content of .gitlab-ci.yml file: stages: - deploy deploy_job: stage: deploy before_script: - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )...
stack's user avatar
  • 10.5k
0 votes
0 answers
13 views

gitlab runner kubernetes spin up pod with multiple containers

Just like in k8s, we can spin up a pod with multiple containers (docker images) and we can share the volume, similar to this, can we achieve the similar in gitlab runner when spinning up a pod with ...
Hare Krshn's user avatar
0 votes
2 answers
31 views

Gitlab pipeline does not have pip installed

I have a gitlab pipeline split in two jobs but unfortunately the second job complains /bin/sh: eval: pip: not found. Below is the .gitlab-ci.yml file. stages: - build - test default: image: ...
Rishik Mani's user avatar
1 vote
1 answer
45 views

How to run a bash script using bash using Docker-in-Docker

I have a bash script that I use to build my Docker images and I'm trying to set up my GitLab CI so that it automatically builds the image whenever I push a tag. This is my .gitlab-ci.yml file: stages: ...
dokgu's user avatar
  • 5,718
1 vote
0 answers
29 views

Windows 10 PowerShell: allow service interact with desktop (non system user)

The problem is: I have remote desktop, I have set up gitlab runner on it. I am running GUI application (with OpenGL) within my gitlab runner service. When I am using System User for gitlab runner my ...
IzaeDA's user avatar
  • 71
0 votes
0 answers
27 views

need to add the job of one stage from another stage, with artifact files

I want to run the unit-test script code into sonar-app stage and artifact files too , so I want to call the unit-test job into my sonar-app, how to call any one please suggest me solution, Now I am ...
web_in's user avatar
  • 93
0 votes
0 answers
41 views

Deploying code from Gitlab repository into remote server

I'm trying to deploy code from a Gitlab repository into remote servers. Running the pipeline, a Permission denied error shows up $ ssh $SSH_USER@$SSH_HOST "cd $WORK_DIR && git checkout $...
Roberto Jobet's user avatar
0 votes
1 answer
25 views

Factor out common command line options in gitlab?

I have a simple c++ application that I'd like to build on both Linux and Windows. It seems to be working nicely using cmake. Now I'd like to cleanup my gitlab-ci.yml file and factor out the common ...
malat's user avatar
  • 12.2k
-1 votes
0 answers
25 views

Gitlab CI, OpenGL process

I have a process within my test which uses OpenGL. This test fails. I have found out (printing out wglinfo) that the test triggered by gitlab runner Windows service uses default OpenGL 1.1.0 which is ...
IzaeDA's user avatar
  • 71
1 vote
2 answers
30 views

how to get branch name in Gitlab ci/cd

i have a gitlab ci config like this simple build : stage: build script: # i want to echo branch name here rules : - if: $CI_COMMIT_TAG i want to echo branch name as a variable i tried ...
eby64's user avatar
  • 11
0 votes
0 answers
16 views

How to Integrate End-to-End Tests into GitLab CI/CD Pipeline? [closed]

I'm looking for advice on the best way to integrate end-to-end (E2E) tests into our existing GitLab CI/CD pipeline. I am lost at this point. I'm doing this for the first time and I'm unsure how to ...
yoyo's user avatar
  • 89

15 30 50 per page
1
2 3 4 5
583