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
89
votes
3 answers

Move repository from one group to another in GitLab

Is it possible to move a GitLab repository from one group to another in GitLab? For example, I have https://gitlab.com/my-user/my-repo. I'd like to move it to https://gitlab.com/my-group/another-group/my-repo. Ideally, I'd like to keep all the…
opensas
  • 60,462
  • 79
  • 252
  • 386
44
votes
1 answer

How do you center text in Gitlab markdown?

After Gitlab switched its markdown engine to CommonMark it's no longer as easy to add things like custom styling to your markdown files. I've used Gitlab for some time and for the longest time I've liked how nicely I could make my README.md file…
Simon Hyll
  • 3,265
  • 3
  • 24
  • 44
25
votes
2 answers

GitLab CI: Two independent scheduled jobs

Consider the following gilab-ci.yml script: stages: - build_for_ui_automation - independent_job variables: LC_ALL: "en_US.UTF-8" LANG: "en_US.UTF-8" before_script: - gem install bundler - bundle install build_for_ui_automation: …
Richard Topchii
  • 7,075
  • 8
  • 48
  • 115
22
votes
6 answers

gitlab: how to update to latest minor version

I tried to update my gitlab-CE from 10.3.2 to the latest one (currently the 11.4). And it gives me this honestly safe error. [...] gitlab preinstall: It seems you are upgrading from 10.x version series gitlab preinstall: to 11.x series. It is…
salvob
  • 1,300
  • 3
  • 21
  • 41
21
votes
5 answers

How to get total time spend in Gitlab?

Is there a way to get the total time spend on all issues that a user have spend with the time tracking /spend slash command? Time tracking stats with the API gets just a small amount of data:…
Ventolinmono
  • 361
  • 2
  • 12
18
votes
5 answers

The Runner of type Shell don't work: Job failed (system failure): preparing environment:

1- Environment: Gitlab-CE GitLab 13.2.1 (b55baf593e6) GitLab Shell 13.3.0 GitLab Workhorse v8.37.0 GitLab API v4 Ruby 2.6.6p146 Rails 6.0.3.1 PostgreSQL 11.7 Debian GNU / Linux 10 server (buster) 2- .gitlab-ci.yml file: before_script: - echo…
Arthu Santiago
  • 851
  • 1
  • 7
  • 10
17
votes
1 answer

How to change the source branch for existing merge request in gitlab?

I have a merge request and a source branch is already bound to it. Now I pushed another branch and want to change the merge request to be point to the new branch. Is that possible with gitlab-ce? If yes, how? In essence, I want to use "Fast-forward…
helt
  • 4,925
  • 3
  • 35
  • 54
15
votes
1 answer

docker-compose error invalid type, it should be a string

I have the set-up for docker-compose like this version: "3.2" services: gitlab: image: gitlab/gitlab-ce:latest container_name: gitlab-container restart: always environment: - GITLAB_OMNIBUS_CONFIG: | …
vinh tran
  • 175
  • 1
  • 2
  • 7
14
votes
2 answers

How to restrict runners to a specific branch and lock the .gitlab-ci.yml from changes?

Right now, anyone that creates a branch in my project and adds a .gitlab-ci.yml file to it, can execute commands on my server using the runner. How can I make it so that only masters or owners can upload CI config files and make changes to them? I'm…
12
votes
4 answers

Gitlab Cannot start runsv is not running

I just upgraded my gitlab-ce version to the latest version using this command sudo yum install gitlab-ce-12.1.3-ce.0.el7.x86_64 the upgrade works well, but after restart the gitlab service won't start, when I run this command sudo gitlab-ctl…
esthrim
  • 1,790
  • 8
  • 28
  • 42
12
votes
3 answers

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 repository, the data will therefore be stored in…
iclman
  • 1,218
  • 9
  • 21
10
votes
1 answer

How to search for code in all projects simultaneously?

I'm dealing with a GitLab Community Edition 13.10.1. At the moment there are about a hundred small projects on this. By selecting a project it is possible to search for specific code within all its files, but if instead I go to the GitLab search and…
Stefano Sansone
  • 2,377
  • 7
  • 20
  • 39
10
votes
2 answers

gitlab-reconfigure blocked on redis after reinstalling gitlab on ubuntu 18.04.4LTS

This is the third time I install gitlab on server and never had issues before. I decide to reinstall gitlab-ce ( 12.10.0 ) after dealing with issues on 12.9.0. Before installing the new version, I had ensured that all gitlab files where removed…
madago
  • 129
  • 1
  • 13
9
votes
1 answer

How to trigger a GitLab CI/CD Pipeline when cutting a new Release?

I'm in the process of migrating my projects from GitHub.com to a self-hosted GitLab CE instance. I had previously set up a GitHub Actions pipeline to publish the application when a new release was cut from a tag. That is, when I went to…
ilyakam
  • 547
  • 4
  • 11
9
votes
1 answer

Is it possible to configure N postgresql service instance in a GitLab CI?

Is there a way to configure 5 postgresql instance in a Gitlab CI? This is my configuration: image: something:latest variables: SPRING_PROFILES_ACTIVE: gitlab-ci POSTGRES_USER: gitlab-ci POSTGRES_PASSWORD: gitlab-ci POSTGRES_DB: DATA_V1 …
Dimitri Kopriwa
  • 13,139
  • 27
  • 98
  • 204
1
2 3
22 23