Category "gitlab"

How can I set a minimum unit test coverage with GitLab CI?

I have a project hosted on GitLab that already has working CI configuration. I would like to add the notion of "minimal code coverage". What I would love is to

Is there a way, in VS Code, to warn me before pushing git changes to a distant branch?

I often do the same mistake, I do some corrections (or modifications) on my code, forgot to create a new branch for it and push it directly on the develop branc

Repo still uses 8 GB of quota after force push to initial commit (empty repo)

My gitlab repo was ~8GO To rewrite it completely with size optimisation the idea was to reset the remote to the first commit and force push (git checkout <in

Repo still uses 8 GB of quota after force push to initial commit (empty repo)

My gitlab repo was ~8GO To rewrite it completely with size optimisation the idea was to reset the remote to the first commit and force push (git checkout <in

How to run Gitlab-CI pipelines only branch and tag?

I just want to run pipelines when tagged from main branch. I tried using workflow but it doesn't work. This is my .gitlab-ci.yml file. workflow: rules: -

Gitlab Issue on git push -A

When I git push a Folder with the following Commands git add -A <directory> and git commit and git push it pushes some sub-directories as directories and

PHP email script is not working in gitlab

I developed one HTML site and for that, I but one PHP email script, and I submitted the form using ajax I uploaded the file into normal Cpanel and I test it's w

Git GPG: gpg failed to sign the data

I have an error with signing my commits by git commit -S -m 'test' and getting these errors: error: gpg failed to sign the data fatal: failed to write commit ob

Docker compose dind deploy to GitLab Registry

I am working on MS Blazor server two projects solution (Core 6) and GitLab. docker-compose.yml file: version: '3.4' services: admin: image: ${DOCKER_RE

Error in gitlab-ci when trying to use hashicorp/dir/template module

I'm getting the error that base_dir is an invalid argument. But according to the documentation on the hashicorp repo, it's a required string. Here's my main.tf:

Migration SVN to Gitlab

How can we migrate a project SVN to Gitlab ? if we commit to SVN , will be automatically change in gitlab referenciel ?

Get method names and lines from git commit - python

I am wondering if there is a way to get the list of method names that are modified along with modified lines and file path from git commit or if there are any b

What change to my gitlab-ci.yml is required to get past the errors (only default export is available...)

I'm not able to find many postings on this error on GitLab running my gitlab-ci.yml file. These are the 2 dominant error loggings I see in the 3k lines of debug

How to Skip a stage in a jenkins pipeline Build based on a Jenkins trigger

Is there any way to skip certain stages after a GitLab webhook is triggered? Here is my JenkinsFile: and here are the triggers I set for this pipeline: Now wh

GitLab - LDAP Authentication Issue

I am sorry if this issue has already been resolved, but I could not find any related answers. I am trying to set up a self-hosted gitlab instance through docker

Gitlab Cloud run deploy successfully but Job failed

Im having an issue with my CI/CD pipeline , its successfully deployed to GCP cloud run but on Gitlab dashboard the status is failed. I tried to replace images t

How do you check if GitLab `incoming_email` is configured on my self-hosted instance?

Is there a way for a non-administrator to see if incoming_email (or any other feature) is configured on a self-hosted GitLab instance? I see no mention of it i

npm ci passing locally but failed on gitlab

Getting this error during npm ci command, but it is working fine locally (tried removing node_modules and running npm ci to reinstall it, no errors) $ npm ci np

GitLab - Lines that have not been changed are marked in green

What does that mean? And how do I get rid of the highlighting? Lines 1-12 have not changed but are highlighted in green. <- Weird Lines 13-15 have not change

Generate env specific properties file in gitlab-ci.yml for gitlab runner

I need to automate the CI/CD pipeline for an SpringBoot application. This application has application.properties file which contains few obvious env specific pr