Skip to main content

Questions tagged [gitlab-ci]

GitLab CI is a continuous integration server from GitLab.

gitlab-ci
0 votes
0 answers
10 views

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

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
0 votes
0 answers
7 views

Renovate for GitLab CI/CD Components with partial Semantic Version

I want to use renovate to update the components referenced in my .gitlab-ci.yml file. The components are published in a strictly semantic way but I only want to refer to the components by a prefix of ...
mptr's user avatar
  • 124
-1 votes
0 answers
27 views

Problem with connecting to hosts in gitlab-ci + ansible + bastion

I am running ansible-playbook in gitlab-ci with executor docker. To add a private key to the container, I use ssh-agent: before_script: - eval $(ssh-agent -s) - chmod 400 "$...
Vasai's user avatar
  • 87
0 votes
0 answers
22 views

i want to deploy a djago project, using gitlab cicd. but i see "module not found error".but the path seems to be set correclty

I am currently working on a django project and need to deploy this to the server. I use gitlab for ci/cd purpose. for requests, i use the gunicorn and the nginx. i dockerized the nginx and the '...
Mohammad's user avatar
0 votes
0 answers
24 views

Upgraded to node:22-alpine from 16-alpine and `.bin` stopped appearing in `node_modules`

This is in a gitlab runner. Wiped cache. It works fine locally. Any ideas for debugging this?
colemars's user avatar
  • 1,057
0 votes
0 answers
12 views

Facing npm not found issue with sonarscanner latest

Recently we have updated sonarscanner image During sonar app stage, facing this npm not found issue npm: command not found My sonar-app stage is like sonar-app: <<: *tpl_build_gcp stage: ...
web_in's user avatar
  • 85
1 vote
1 answer
21 views

Running a gitlab-ci job when a file exists

I'm trying to configure gitlab-ci to run two jobs depending on the presence of a Dockerfile using the exists directive. I want job01 to be executed by tag, but only if there is no Dockerfile, and ...
Vasai's user avatar
  • 87
0 votes
0 answers
32 views

dotnet build "Could not resolve this reference. Could not locate the assembly" error but only occurs on CI?

I have a simple CI that builds my solution on GitLab. The project consist of a .NET Core project and a WCF project. I am encountering an error after installing the latest version of Newtonsoft JSON ...
jdistro07's user avatar
  • 165
0 votes
0 answers
17 views

Gitlab : Uploading artifacts as "dotenv" to coordinator failed with TLS handshake

I have created a pipeline with 3 stages. I am storing the each pipeline stage status in "build.env" file. While executing the pipeline, the build stage script successfully executed but when ...
Yogesh's user avatar
  • 175
0 votes
0 answers
16 views

gitlab dynamic repo content

We're using gitlab repos, ci/cd, jobs, variables, etc. to build/deploy containers into our local K8s environment. I'd like to produce repo pages that scan certain areas of the repo and report data in ...
thepip3r's user avatar
  • 2,903
2 votes
0 answers
31 views

Correct Syntax for Using sed Command in GitLab CI

I'm currently working on a GitLab CI/CD pipeline and I'm trying to use the sed command to dynamically update the contents of a file while the pipeline is running. My goal is to replace a placeholder ...
Hexca's user avatar
  • 21
0 votes
0 answers
25 views

How to authenticate gitlab instance level runner for gitlab pipeline

My instance level runner will not successfully run finish jobs because it fails to authenticate with the repo. I created a gitlab instance level runner that seems to be working and is ready to pick up ...
Jörg S's user avatar
0 votes
1 answer
41 views

How to use variables within !reference tag in gitlab-ci?

as far as I know, you can use the !reference tag for relating to some construct used in a parent template. The Gitlab documentation gives following example: file "config.yml" .setup: ...
Sandman's user avatar
  • 382
0 votes
0 answers
21 views

Configuration of gitlab.yml for smoke and full tests using the pipeline schedules

I would like to set up tests that will fire on the gitlab pipline. I would like to split the tests in cypress so that smoke fires once a day and all tests once a week. I have configured pipeline ...
Barsta's user avatar
  • 1
0 votes
0 answers
24 views

How to pass argument from gitlab_ci.yml to docker_compose.yml?

I'm new to Gitlab CI and I have a problem in existing project. There's a file VERSION in the root folder which contains version number. I need to: in the build section of gitlab_ci.yml get version ...
user606600's user avatar

15 30 50 per page
1
2 3 4 5
583