Category "gitlab"

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

Docker build command using Buildkit secrets fails in Gitlab

My Dockerfile (somewhat redacted here) looks like this: FROM python:3.9.9-slim-bullseye WORKDIR /tmp RUN --mount=type=secret,id=token echo "$(cat /run/secret

Running Omnibus Gitlab in Docker with Container Registry

I'm running gitlab on docker with a relative url my.domain.com/gitlab/. I have a nginx reverse proxy which passes the requests. Everything seems to be working f

Git Convert All Remotes in a Repo from HTTPS to SSH

Is there a command to programmatically convert all existing remotes on a repo from HTTPS to SSH? For example, if I had a repo with a remote for GitHub, and anot

How to send a mail from gitlab after any activity?

We are using gitlab for CI/CD. my colleagues need pipeline, merge request, commit related status. How should I receive the mails from them and how did they rece