Questions tagged [gitlab-ce]

Use this tag to explicitly mark a question related to GitLab Community Edition only. Should never come in conjunction with GitLab-ee (use only GitLab instead)

GitLab Community Edition is the Open Source version of GitLab stripped of any proprietary code. It is marketed as an unlicensed Enterprise Edition in terms of functionalities.

336 questions
4
votes
3 answers

Gitlab auto-assign reviewer for merge request

I've been using GitHub for my previous project, and I had what is called auto-assign reviewer for pull requests that automatically assigns a reviewer from my team to do the code review. now I'm working on a project hosted in Gitlab, I'm asking if…
M.FD
  • 83
  • 1
  • 7
4
votes
2 answers

Make sure, pipelines run sequential in gitlab

of course I am aware, that single jobs run in sequence FIFO if these jobs are pointing to a single runner, so they have to wait. That is fine. For a test environment, where we can only deploy & test one version at a time, we need not only single…
Chris Pillen
  • 810
  • 8
  • 27
4
votes
1 answer

how to trigger gitlab pipeline by tags

How to trigger a GitLab CICD pipeline whenever a tag like below gets created? How can I make it in regular expression for all future tags based on the same format? Tag to trigger the pipeline: 2021.08.31.DEVRELEASE.0001 Where DEVRELEASE is the…
Sushil.R
  • 97
  • 2
  • 11
4
votes
0 answers

Gitlab New File Template

On a self hosted gitlab instance, in the web view of a repository it's possible to create a new file. There is also a drop down "Select a template type". It has entries like .gitignore and LICENSE. Is it possible to define a custom file template? I…
laktak
  • 57,064
  • 17
  • 134
  • 164
4
votes
1 answer

Get contributions.json on Gitlab

How can I get contributions.json of myself in a Gitlab CI pipeline with private contributions if "show private contributions" is off in the settings? https://gitlab.com/users/GITLAB_USERNAME/calendar.json shows both public and private contributions…
gtpzkldqc
  • 73
  • 7
4
votes
3 answers

How can I get a notification email when a new release of GitLab is out?

As an admin of a private GitLab instance, it would be great to know when new versions are available, especially for security updates. I couldn't find a way to subscribe to a "newsletter" of new releases and how important it is. How can I do it?
Helios
  • 457
  • 6
  • 17
4
votes
1 answer

ERROR: Job failed: command terminated with exit code 1

I followed Connecting GitLab with a Kubernetes cluster | GitLab and GitLab Runner and now trying to follow GitLab CI/CD Pipeline Configuration Reference, yet running into following error: Cannot connect to the Docker daemon at…
alexus
  • 7,256
  • 12
  • 44
  • 66
4
votes
1 answer

Get the container id where the gitlab job is executed

When I use gitlab with docker in the log of the job I can get this information: Running with gitlab-ci-multi-runner 9.5.0 (413da38) on platform-docker-orc (2c06225e) Using Docker executor with image registry:5000/local_image: ... Using docker…
JuanPablo
  • 23,792
  • 39
  • 118
  • 164
3
votes
1 answer

gitlab installation duplicated schema problem occurs on ubuntu

while installing gitlab on ubuntu machine using apt install gitlab-ce i receive this message PG::DuplicateSchema: ERROR: schema "gitlab_partitions_dynamic" already…
ezop
  • 37
  • 4
3
votes
1 answer

how to list names of all docker images from self hosted Gitlab server

how to get the list that contains names with tags of all docker images from self hosted gitlab-ce server, so that i can run a script to download them all at once? Though I would prefer to get this list from an gitlab API call, any other solution…
user18017479
3
votes
2 answers

Use cache docker image for gitlab-ci

I was wondering is it possible to use cached docker images in gitlab registry for gitlab-ci? for example, I want to use node:16.3.0-alpine docker image, can I cache it in my gitlab registry and pull it from that and speed up my gitlab ci instead of…
Jessica
  • 127
  • 2
  • 10
3
votes
2 answers

Gitlab CI/CD will not run my deploy stage

New to Gitlab CI/CD. My build job works wonderfully, but deploy job is never executed. I removed all rules and still it does not run. Here is the contents of my .gitlab-ci.yml file: build-job: stage: build script: - echo "STAGE - BUILD" …
birwin
  • 2,524
  • 2
  • 21
  • 41
3
votes
1 answer

GitLab CE: How to restore or repair repos with issues / merge requests that are suddenly missing?

I started running GitLab CE inside of an x86 Debian VM locally about two years ago, and last year I decided to migrate the GitLab CE instance to a dedicated Intel NUC server. Everything appeared to go well with no issues, and my GitLab CE instance…
tjgrant
  • 438
  • 4
  • 18
3
votes
0 answers

How to set a Gitlab server only available on your local network?

I'm currently setting up a Gitlab instance on my Raspberry Pi, I want it to only be available through the network is currently connected to (So lan only basically). But if I leave the EXTERNAL_URL at the default https://example.gitlab.com, during…
Jhon Piper
  • 513
  • 2
  • 8
  • 21
3
votes
1 answer

How to exclude the master branch from the GitLab 13 ci build process?

I want the build process to run for all branches when I add a tag. Except for the master branch. deploy_qas: stage: deploy script: - echo "Implatado em QAS" environment: name: qas url: https://env.br only: - tags except: -…
Miltex
  • 302
  • 1
  • 13
1 2
3
22 23