Category "gitlab"

Why did my job get stuck while trying local Gitlab-runner?

I got this Runner has never contacted this instance,what does it mean? I can confirm that I have one. Available specific runners My .gitlab-ci.yml stages:

List all the projects and all the groups

What is the easiest method to list all the projects and groups in GitLab using my private token?

Exporting environment variables from one stage to the next in GitLab CI

Is there a way to export environment variables from one stage to the next in GitLab CI? I'm looking for something similar to the job artifacts feature, only for

How to change the Tagger name and email of a Git Tag

Long story short I'm writing a script to migrate a very large project from (gasp) Microsoft SourceSafe to Git and I'm trying to retain the authors of the Source

SSH-Key not recognized "receive packet: type 51" in Gitlab-CE

In my installation of Gitlab Community Edition 14.8.2, clone/push/etc.-actions do not work via SSH. The same actions via HTTPS work as usual. Also SSH actions o

How to limit a job in gitlab ci to a tag matching a pattern?

I want to be able to trigger a deployment to a special server every time a tag matching a pattern is pushed. I use the following job definition: # ... deploy

Gitlab-CI with Docker executor /usr/bin/bash: line 90: git: command not found

I have a local GitLab server and gitlab-ci runner with Docker executor. I want to use gitlab-ci to build (for the first stage) my Maven project. Since I use bui

How to step into NuGet packages outside of debug session

Following situation: We have a framework that sits in an hosted GitLab repository. We have a pipeline that creates a NuGet package nuget pack framework.sln whic

How do i setup Slack Notifications for Gitlab scheduled pipelines only?

I want to be notified via slack whether my scheduled pipeline runs are failing or passing. I also do not want a trigger every time the pipeline fails or passes,

How do i setup Slack Notifications for Gitlab scheduled pipelines only?

I want to be notified via slack whether my scheduled pipeline runs are failing or passing. I also do not want a trigger every time the pipeline fails or passes,

Script command using ":" causing error in .gitlab-ci.yml execution

Below my .gitlab-ci.yml file: image: docker:latest services: - docker:dind stages: - deploy_dev_env Deploy DEV Environment: stage: deploy_dev_e

How to git clone with username and password in gitlab?

I am using gitlab . I want to write a .bat file which contains all the steps so that I can automate all the process , which are as follows: open cmd.exe /k git

Retrieving a CI variable from Gitlab project and use it within Dockerfile

I have a CI variable that I would like to use within my docker file. I have tried to include it such as ENV TESTING_UNIT=$TESTING_ID

Server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

I can push by clone project using ssh, but it doesn't work when I clone project with https. The error message that it shows me is: server certificate verificati

git ignore .env files not working

I have a laravel project. In the root directory are these 4 files: .env .env.example .env.local .env.staging I have a .gitignore file, and I'm listing the

Lighthouse GitLab CI for a Jekyll website times out

I haven't found any complete examples for Jekyll + Lighthouse GitLab jobs. The Jekyll build job is based on the ruby:2.6 image. I added a report stage into my .

gitlab-ce 12.X : how do I find the hashed storage path of a repository on the server?

With gitlab-ce-12.x, Geo requires the storage path to be hashed (https://docs.gitlab.com/ee/administration/repository_storage_types.html) For a given reposito

clone an existing project in gitLab

First, I was working on a spring project in STS, I created a project in GitLab and commit it to GitLab. Now, I messed up, I deleted the project that existed loc

How to backup/export Gitlab CI environment variables?

We have a continuously growing collection of Gitlab CI variables (around 40-50) in our current project. All these variables are used during our CI/CD pipeline a