Category "gitlab"

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

Continue running scripts even after exit code 1

I'm trying to run Cypress test in Gitlab. Below is the sample script. After executing 'npm run Cypress', if there is any test case fail, it exits with 'exit cod

download artifacts between pipelines in the same project Gitlab ci

I am currently running 2 jobs. One running some test unit which generate a coverage.xml file from php based project and another which launch a sonarqube analysi

Unable to pass variable to downstream pipeline on GitLab CI

For over a week I've been fighting with passing a variables between jobs in multi-project pipeline in GitLab CI and got lots of weird errors. The mechanism look

How do I have permission to use git push in gitlab ci?

CI_JOB_TOKEN has only read-only access to repository, and I am able to have write access to the repository using the gitlab personal access token, but I need to

Gitlab continuous integration across multiple repos

I have a project, based on buildroot, which is composed of two repos: Buildroot root, let's say project A Our packages, project B We host a Gitlab server, and I