Questions tagged [gitlab]

GitLab is an open source repository management system with issue tracking, wiki and deployment features. Mainly written in Ruby, it has a community version enterprise version. It's developed by GitLab Inc.,

Filter by
Sorted by
Tagged with
0 votes
1 answer
57 views

Install gitlab in one VM with docker-compose having a proxy adding https in another vm

I have a server with several virtual machines and one of those is my Proxy that direct the right domains to the right VM on the right port. I used the standard docker-compose file to create gitlab-ce ...
user avatar
  • 24.7k
0 votes
0 answers
41 views

How to set a github/gitlab specific user using git config

I'd like to use a GitLab/GitHub specific user, author name and author email. How can I achieve that?
user avatar
0 votes
0 answers
105 views

what does fork/exec : permission denied mean?

I am building a container inside of a container(Gitlab runner kubernetes pod) but it keeps failing. The Dockerfile of the container to build is: FROM ubuntu USER root RUN ["touch", "...
user avatar
  • 201
0 votes
0 answers
78 views

Wget without seeing any progress, trouble shooting?

I used wget -b blah blah blah. The file is stopped about 29K (it should be ~300 MB). The wget-log is recorded at the time when the command was inputted. $ wget -b --show-progress blah blah blah [ <=...
user avatar
  • 113
0 votes
0 answers
28 views

How to compare versions with GitLab Release API in Bash with error handling?

so I'm working on my Arch installer script and I just discovered Gitlab's Releases API and I'm wondering how can I use this API to check if the script is using the latest stable release; and if the ...
user avatar
1 vote
2 answers
290 views

Self update bash script if there are any updates first then continue on, with Git

I'm trying to add the ability for my ArchLinux installer script to check if it's update-to-date based on rather it matches (or doesn't match) the version number that's on gitlab. The primary script ...
user avatar
1 vote
0 answers
50 views

How to perform git pull from gitlab repo with 2FA access token using linux terminal?

I had already cloned a few repos from gitlab and then LATER we added two factor authentication on the gitlab repos. Now I am trying to update my local branch by doing git pull like this: sudo git pull ...
user avatar
  • 111
0 votes
1 answer
32 views

Does yum have an equivalent to /var/log/apt/term.log?

I just updated a package on a Centos host and was wondering if there is something like /var/log/apt/term.log on RHEL derivates I don't know about? I know about yum history, but in this case having ...
user avatar
0 votes
1 answer
286 views

Unable to clone repo from gitlab into Oracle VirtualBox VM (CentOS) - host key verification failed

I am trying to clone a repo from gitlab into Oracle VirtualBox VM (CentOS) hosted on Win 10 machine. Following are the steps: generate key via ssh-keygen -t rsa and copy the key from generated id_rsa....
user avatar
0 votes
0 answers
203 views

GitLab CI CD authenticating issue with ssh-add

i was working with gitlab ci cd but unfortunately the error occurred when I access my deployment server and after prompting ssh-agent and add my private key with ssh-add it just shows Error connecting ...
user avatar
0 votes
0 answers
249 views

Self hosted gitlab + registry displays white blank page only, is that correct?

I'm running a self hosted Gitlab for my company inside a docker environment and we want to host our own docker images, so I read the documentation but I cannot do docker login registry.mycompany-...
user avatar
  • 193
0 votes
0 answers
106 views

Advice needed about deploying website backend files to webserver from git repo

We are trying to improve the management of our website backend files, and are planning to deploy (using git pull) the files from the git repo (hosted on a local (within our organisation) GitLab server)...
user avatar
  • 339
1 vote
1 answer
980 views

CD using GitLab, Bash script is not working

I am working with CI, CD but unfortunately I messed up with shell scripting. On my gitlab-ci.yml file I called a bashscript at the time on deploy. But unfortunately whenever I want to pull using the ...
user avatar
0 votes
1 answer
146 views

Push etckeeper created repository to remote Gitlab server, advices welcomed

I'm playing with etckeeper and it seems to be a good product. I use it only to track /etc filesystem locally, but these days the idea came to my mind - to create central Gitlab repository and to store ...
user avatar
0 votes
0 answers
59 views

Lightweight GitLab alternative for small company

I'm looking for GitLab replacement, which does not require 4GB RAM and is easier to move/upgrade/migrate, does not have dependency hell and creates less than 50 processes on server. There are 3, ...
user avatar
  • 586
-1 votes
1 answer
24 views

Running gitlab-ee on ubunutu 20.04 server

I installed gitlab-ee successfully according to https://about.gitlab.com/install/#ubuntu . after configuring /etc/gitlab/gitlab.rb , I tried to access website using http://gitlab.mydomain.com . But it ...
user avatar
1 vote
0 answers
66 views

GitLab Coexisting with SSHD on Bridge Interface

Background I am attempting to convert a server from using Docker to Podman. So far I have been able to convert all of my services (~15 in total) to systemd jobs and run them without issue. In doing ...
user avatar
-2 votes
1 answer
26 views

why pipeline run only first gitlab-runner?

I register 6 gitlab-runner then when push to gitlab server, pipline only run first gitlab-runner? why is this happening? I expect the pipeline to run on 6 servers. thanx.
user avatar
  • 569
0 votes
1 answer
2k views

git with ssh keeps asking for passphrase everytime

I'm using a git bare repository for managing dotfiles, and some other repositories for custom DWM build and all. I use SSH for pushing and pulling from git, but it keeps asking me my SSH passphrase ...
user avatar
1 vote
1 answer
840 views

Using cURL, jq, and declaration and for loop condition, I tried to download multiple files from a GitLab private repo, but it downloaded only one

I learned from the following sources: curl -O: Download a file with curl on Linux / Unix command line jq: How to urlencode data for curl command? Multiple files and curl -J: download pdf files from ...
user avatar
-1 votes
1 answer
41 views

Does the GitLab runner configuration file support comments?

Does the GitLab Runner configuration file support comments? I also don't see comments mentioned in the Advanced Configuration doc. I need comments to use Ansible's blockinfile.
user avatar
  • 22.4k
0 votes
1 answer
838 views

How can I make bash script exit silently?

I have created CI (Continuous Integration) between GitLab, Docker and AWS with the following configuration: Dockerfile. # install node.js FROM node:latest # create necessary directories and # ...
user avatar
2 votes
1 answer
32 views

Allow short "sessions" for a user with systemd

I'm testing a new gitlab runner I've setup. If a project just has a very short CI job (or one that fails very quickly, which is probably more realistic outside of testing the setup) systemd starts ...
user avatar
0 votes
0 answers
95 views

GitLab Container Not Accepting WAN Connection

Been dealing with this issue for a couple hours now and hit a bit of a standstill as far as my experience and google abilities. Got the most recent version of gitlab installed, after having a similar ...
user avatar
4 votes
0 answers
1k views

What happens when you disable NFS server delegation?

We are facing issues with NFS 4.1 on RHEL 7.6. We have a lot of applications on this server and GitLab is one of them and it is impacted the most. Excessive NFS network traffic (due to a bug with NFS ...
user avatar
  • 1,149
1 vote
2 answers
497 views

How do I get the git branch name with sed

The branch string is 24000ACB, how do I get that out with sed? I tried echo 'origin/releases/2400ACB 294125569b2dc926158b64115f1467f916c9 WIP' | sed 's/[origin/releases/]//g'.
user avatar
2 votes
1 answer
613 views

Selinux causing sshd to fail when using AuthorizedKeysCommand

I have been following Gitlab's guide to enable Fast lookup of authorized SSH keys. Guide instructs to use AuthorizedKeysCommand. Authorized command is calling local https server. This command chain ...
user avatar
1 vote
1 answer
2k views

GitLab with relative URL on Apache (CentOS web server)

I have a CentOS 7 server with an existing website (say mywebsite.com) hosted with Apache. I would like GitLab to be managed by Apache and not nginx, and with a realtive url with respect to the one of ...
user avatar
4 votes
1 answer
3k views

GitLab Runner: no basic auth credentials even though DOCKER_AUTH_CONFIG is set

I am trying to set up a gitlab runner service using a private Docker registry. According to the documentation it is sufficient to set the DOCKER_AUTH_CONFIG environment variable and populate it with ...
user avatar
3 votes
1 answer
77 views

Stripping a git repo of all committed files that should have been ignored

I recently initiated a git repo and forgot to add a .gitignore file. After my initial commit, my repo has many subdirectories and many files that should have been ignored. Is there an efficient way to ...
user avatar
11 votes
2 answers
2k views

yum update shows three exclamation marks

yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile gitlab_gitlab-ce/x86_64/signature | 836 B 00:00:00 gitlab_gitlab-ce/x86_64/signature | ...
user avatar
  • 211
1 vote
1 answer
41 views

Is there a command line tool for managing packages written by me?

Lately I've found myself writing small programs that I use across multiple machines. I use gitlab to manage these programs. Is there a command line tool that will help me keep my programs up-to-date? ...
user avatar
1 vote
1 answer
943 views

Configuring relative URL in Gitlab is not working

I have configured GitLab CE to use relative URL following this documentation and after configuration while running reconfigure it gives me an error. Step1 # cat /opt/gitlab/embedded/service/gitlab-...
user avatar
1 vote
1 answer
7k views

Can't use LFTP with SFTP but SFTP clients allow connections

I'm trying to use LFTP (v 4.8.3) to connect to my KVM. This server already allows me to remote execute SSH through terminal and SFTP through FTP client (Transmit app). I want to do this in order to ...
user avatar
0 votes
1 answer
70 views

Change only permissions and ownership of a directory

I tried to change default installation directory of gitlab, which resulted in changing permissions and ownership of all files. It is not starting up. I want to copy only permissions and ownership from ...
user avatar
  • 39
5 votes
1 answer
3k views

SSH prompt a passphrase for no passphrase keys on Docker GitLab CI

With the following Dockerfile: FROM nexylan/php-dev:7.1-alpine COPY entrypoint.sh / RUN chmod u+x /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] WORKDIR /code CMD ["tail", "-f", "/dev/null"] (The ...
user avatar
4 votes
1 answer
2k views

SSH fails to use the given private key on docker and GitLab CI

With the following Dockerfile: FROM nexylan/php-dev:7.1-alpine COPY entrypoint.sh / RUN chmod u+x /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] WORKDIR /code CMD ["tail", "-f", "/dev/null"] (The ...
user avatar
0 votes
0 answers
184 views

Enable Nginx GitLab to display error

I have installed an omnibus GitLab package, and i try to configure it. Everytime i have a page "ERROR 500, Whoops, something went wrong on our end.". I don't have root access and looking at the log ...
user avatar
  • 101
2 votes
0 answers
446 views

Problems installing gitlab with apache

I am running a Linux mint (18.2) box. I have installed a LAMP stack that I use for some local development. I wanted to install GitLab to help manage my development cycle. I was trying to install the ...
user avatar
  • 305
0 votes
1 answer
60 views

Can the community package of Gitlab run enterprise edition?

I'm wondering if community/gitlab can be installed and used for Enterprise Edition (EE) or if it is only capable of running Community Edition (CE). https://www.archlinux.org/packages/community/x86_64/...
user avatar
  • 470
2 votes
2 answers
1k views

How do I move things from my Overleaf git repository to my Gitlab git repository?

I've been using mobaXterm on a Windows 10 computer (based in Cygwin) as a terminal to access ROOT and Python scripts/macros. Additionally, my peers and I have been using Gitlab to share these scripts/...
user avatar
  • 21
0 votes
1 answer
3k views

How to rsync folder using gitlab-ci

I try to sync my local files inside the folder named dist with the root folder of my ftp-account using .gitlab-ci.yml. While the job runs successfully, my ftp root folder remains empty. I have ...
user avatar
0 votes
1 answer
303 views

Gitlab-runner : Docker access to `/var/lib/docker/devicemapper`

I'm trying to setup gitlab-runner on an old x86 machine running Gentoo. I've patched gitlab-runner since the sources didn't cater for i686 architectures and I've enabled the kernel features necessary ...
user avatar
  • 121
1 vote
0 answers
319 views

Cronjob upgrading gitlab-ce fails

I'm trying to "auto-update" gitlab. I created a shell-script that checks for updates, installs when an update is available and e-mails the results. This all works perfectly fine from a terminal when I ...
user avatar
  • 217
0 votes
0 answers
72 views

Correlation between GitLab and system crashes?

Continuing from Server crashing for not so obvious reasons. Short overview of what happened My server (running Debian) has crashed very often. Everything would work fine until noticable lag sets in. ...
user avatar
  • 225
10 votes
3 answers
5k views

How to avoid using 'ssh-add ~/.ssh/id_rsa' for every push to a github repo?

I have to repeatedly enter the following terminal commands in order to be able to push to a remote github repository. If I push to github, and then code some more for the next few hours before pushing ...
user avatar
1 vote
1 answer
439 views

gitlab is 403 with Nginx on fedora 25

I follow the document to install gitlab from source in Fedora 25. All of them seems correctly. But if I run sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production, it will return this. ...
user avatar
  • 248
1 vote
1 answer
820 views

Postfix not sending email to correct IP address

I have Postfix running on an Ubuntu 16.04 server for Gitlab and I am able to send email out to most domains except my corporate domain. From what I can tell, Postfix never tries the mail server IP ...
user avatar
  • 31
0 votes
1 answer
1k views

Permission error when creating backup on gitlab omnibus installation

I am using gitlab version 7.10.4 and I am trying to upgrade the installation. But I am getting this when I tried to create back up gitlab-rake gitlab:backup:create Errno::EPERM: Operation not ...
user avatar
  • 641
3 votes
1 answer
3k views

Reverse SSH Tunnel

I have a gitlab server on my local network and a server that I can ssh to from outside my network. Is there a way I can configure the server, that I can SSH into, so that when I use: ssh git@git....
user avatar
  • 133