Category "gitlab"

My docker run crash during the test phase of my gitlab CI

So i am quite new to the whole CI topic and im trying to run tests after my merge request in my pipeline. Except that when my command try to run the container i

Gitlab failed pipeline when merging yaml file

I'm trying to merge a yaml file containing 7000 lines of swagger documentation into gitlab but the pipeline keeps failing. The failure is happening because ther

Continuous deployment gitlab

Line of my .gitlab-ci.yml IID=$(curl --verbose --request GET --header "Content-Type: application/json" --header "PRIVATE-TOKEN: ${CI_PUSH_TOKEN}" ${APP_REPO_URL

What is a GitLab "environment" versus a software running environment?

GitLab Environments consist of a name and optionally a URL, according to its docs. In my software career an "environment" HAS a name, like "production", but CO

Installing python package from private gitlab repo in Dockerfile

I'm currently trying to install python packages from a private gitlab repo. Unfortunately, I get problems with the credentials. Is there any way to install this

Gitlab Runner to open GUI on windows (Shell runner)

I would need a GitLab Runner to open a program, in my case Unity3D and to start running a scene. For this I selected a shell runner to run a batch script. The f

python remoteconfig unable to parse file from Gitlab

I am trying to get remoteconfig working, following this guide: https://pypi.org/project/remoteconfig/ As a control, I have this code that works: config.read('./

How to remove Github PAT from Gitlab?

I recently imported a project from Github to Gitlab (Uni Owned) and I had to put my Github PAT in when importing. Now every-time I select New Project -> Impo

Run a gitlab CI pipeline in Docker container

Absolute beginner in DevOps here. I have a Gitlab repo that I would like to build and run its tests in the Gitlab pipeline CI. So far, I'm only testing locally

Gitlab-workhorse stopped working: “open config.toml: no such file or directory”

We have a gitlab server that has been running for a long time without issues. Today suddenly gitlab-workhorse (8.20.0) stopped working (all other services are f

GITLAB - Fatal: Could not read from remote repository

First of all, thank you so much for your attention on this important issue that I'm dealing right now... See the image below then keep reading the text: So, I b

How to Deploy from Gitlab-ci to multiple kubernetes namespaces?

I have two variable containing my namespaces names: $KUBE_NAMESPACE_DEV ="stellacenter-dev" $KUBE_NAMESPACE_STAGE "stellacenter-stage-uat" Now I want to modif

Download a specific folder from on-prem GitLab

I have an on-prem GitLab with a huge repository with many folders. I'm trying to create a freestyle Jenkins job that would only retrieve the folder from the rep

How can we change two values dynamically by using one variable? in yaml script?

we are using gitlab for ci/cd we have two branches for frontend dev branch- workflow: rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_B

Gitlab pipeline failing on "Cleaning up project directory and file based variables"

I have a Gitlab pipeline that is failing when it attempts docker build (using Kaniko) I am yet to do a successful docker build BUT this particular error has sta

How do I get notified when someone creates a new Repository in Gitlab?

I need to be notified when someone creates a new Repository in a group (or in the instance) of my gitlab. I want only to be notified on new repositories, not al

Modifiy variable values in gitlab-ci.yml

Let's say CI_COMMIT_BRANCH=abc/xyz And .gitlab-ci.yml variables: VAR: ${CI_COMMIT_BRANCH} Is there a way to remove 'abc/' from the value of CI_COMMIT_BRANCH

how to delete resources with terraform?

set up - a lambda project ( see file structure below) in terraform . in my gitlab-ci, in a build step , lambda code is zipped up at the root of the directory. e

GitLab Pages CI cache appears to cache and restore nothing. How do I inspect the cache?

I have a .gitlab-ci.yml that looks like this: image: mcr.microsoft.com/playwright:latest before_script: - apt-get remove nodejs -y - apt-get update - apt-get i

Found errors in your .gitlab-ci.yml: unknown keys in `extends`

My code for the pipeline is: include: - template: Terraform/Base.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab/blob/master/lib/gitlab/ci/templates/Terr