Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [gitlab]

The tag has no usage guidance.

0
votes
0answers
8 views

I'm trying to intergrate gitlab with active directory and I'm getting this error

This happens when I try to run gitlab rake. Also, the server is showing a 502 error. I'm fairly sure they are connected, but I can't make sense of this error. rake aborted! Errno::ENOENT: No such ...
0
votes
0answers
7 views

How to connect to to remote git repository behind a corporate authentication service?

I'm trying to clone a git repository from my work's self-hosted gitlab installation outside of the corporate network. I am able to access gitlab through my web browser but I have to go through the ...
0
votes
0answers
8 views

Gitlab pages shows 404 error (react-router-dom) [closed]

Im hosting a create-react-app on Gitlab pages, working with react-router-dom for routing between the single pages. The routing works perfecly local and after deployment to gitlab pages, but when i try ...
0
votes
0answers
6 views

lxd init address already used

I try to set up my CI/CD gitlab flow with lxd and kubernetes folowing these steps : https://docs.conjure-up.io/stable/en/user-manual#users-of-lxd But when I try to init Lxd (sudo lxd init), I can't ...
0
votes
0answers
11 views

Relative URL in Gtilab not working

I have installed gitlab in the RHEL 7 server using omnibus installation steps. I have modified the external url and set the relative url external_url 'http://test.gitlab.com:8085/gitlab' executed ...
0
votes
0answers
18 views

Can `Makefile` use script in gitlab-ci.yml

I have .gitlab-ci.yml I want to execute job in gitlab-ci.yaml by Makefile such as gitlab-runner. Is it possible?
0
votes
0answers
31 views

Unable to Register Gitlab Runner (Certificate Failed)

I have a gitlab instance running on my home network. The hostname git.example.com is an IPv6 only dns record, and the nginx server is only listening on [::]. When I try to register the runner with ...
1
vote
1answer
58 views

Docker: how to ship and share data between containers

I currently have a new server setup where I have Docker running. I use Gitlab CI to create and push new images. I just fail to determine how to deploy/setup my project files and docker images. To ...
1
vote
1answer
30 views

Merging two divergent repositories on different remotes

Me and my colleague set up a new repository on both GitHub and GitLab. All was nice, but due to a misunderstanding, he was pushing to GitHub and I was pushing to GitLab. We set up rep mirroring on ...
0
votes
1answer
22 views

Jenkins build with parameters only calls master branch

I am building a gitlab/jenkins stack, and have connected my gitlab to jenkins. Now when I want to build my test item with a parameter rather than "master", Jenkins only uses "master" branch to build ...
0
votes
1answer
97 views

how can I connect to gitlab installed in ubuntu VM image?

I installed a gitlab in ubuntu VM image and external_url set as 192.168.71.12, when I input url http://127.0.0.1 in VM browser, it shows gitlab home page that can login. But how can i connect to ...
0
votes
1answer
43 views

SSH connection to Gitlab is getting timeout

I've followed the official Gitlab docs (https://docs.gitlab.com/ee/ssh/) to make my keys using the comand: ssh-keygen -t ed25519 -C "email@example.com" But I'm getting timeout error as you can see ...
0
votes
0answers
7 views

Push to non bare remote repository

i'm trying to push a Node.js project to a repository into a raspberry with linux through SSH. The only way i got it working was creating a bare repository into the raspberry and pushing to it, it ...
1
vote
1answer
88 views

ssh authentication failure with public/private keys

I'm setting up a Continuous Deployment pipeline on gitlab. Unfortunately, when trying to ssh from the pipeline to the target server, the authentication fails. I am asking the question here because I ...
0
votes
0answers
26 views

GitLab - add project wide link names

In GitLab, is it possible to add links project-wide, so I can reference them in any .md document in the source tree by their names? # LINKS.md [trello-dev](https://trello.com/my-team/dev-board) [g-...
1
vote
3answers
94 views

Does the .git folder actually contain your files?

In theory, if you backed up just the .git folder in a flash drive and some rouge user deleted all your project files in your PC, can you still restore your files from that .git folder in your flash ...
0
votes
2answers
23 views

How do you upload a change to an existing file on Gitlab via the web interface?

Referring back to the answer of How do you upload a file on gitlab via the web interface?, how do you upload a new version of a pre-existing file on Gitlab, via the web interface? When I select Upload ...
0
votes
0answers
6 views

In gitlab is there a way to automatically be added as a participant for all merge requests in a specific project(s)?

In gitlab, when someone does a merge request they assign it to one person. So the usual process becomes: Person A does the work and creates a merge request and assigns it to person B Person B does ...
0
votes
1answer
90 views

How to compute GitLab deploy key fingerprint from ssh key-pair

When viewing Deploy Keys in a GitLab repository's setting, the keys have a "name" and also some kind of fingerprint. The fingerprint looks like this: 2b:be:a7:7f:44:64:89:8d:e3:f7:ea:3c:12:c9:e5:e7 ...
0
votes
0answers
35 views

How to generate SSH keys for gitlab.com hosted project?

I have a project hosted as private repository on gitlab.com. I want to use gitlab ci/cd to automatically deploy my project to remote server QA_SERVER when code is pushed to master branch. Below is the ...
2
votes
1answer
115 views

Differentiate between Department and Project group in Gitlab

As a Gitlab Admin, I have to create different Groups for different departments and add members to it. Some Departments conatins Sub-Departments so I create Sub-Group in Gitlab for it. As of now ...
3
votes
0answers
144 views

How to configure Brackets and GitLab?

I am trying to configure Brackets with GitLab using the following resources: Brackets Extension for GitLab Now for that we need Brackets Integration with Git. Git Integration I have followed the ...
0
votes
0answers
41 views

gitlab runner errors occasionally

I have gitlab setup with runners on dedicated VM machine (24GB 12 vCPUs and very low runner concurrency=6). Everything worked fine until I've added more Browser tests - 11 at the moment. These tests ...
0
votes
0answers
40 views

How do I disable source code in GitLab notification emails?

On my current self hosted installation of GitLab, it will include snippets of code in emails when they are sent out to notify people of things like new merge requests, comments, etc. Is there any way ...
2
votes
1answer
139 views

Why I cannot pull gitlab repo even though I created an SSH key?

I did everything required here and here to create and issue my SSH key to GitLab. I both have a win64 PC and I use the Ubuntu 16.04.4 cluster at my research lab. With the PC this works and I am able ...
1
vote
1answer
48 views

How can I import tasks from Wunderlist to GitLab?

I need to transfer tasks from Wunderlist to GitLab - what's the best way to do this?
0
votes
0answers
98 views

Deploying pelican through gitlab CI

I have setup a Gitlab CI docker job to deploy a pelican blog using rsync+ssh. The problem is authentication. For this I have created a ssh key pair. Added them as secret variables to the Gitlab ...
1
vote
1answer
4k views

How do I download my whole repository from GitLab?

I can't work out how to download my entire repository for a given project. Most of the things I do seem to just download the latest snapshot, e.g. git pull https://gitlab.com/blahblah/MyProject.git ...
2
votes
2answers
4k views

How to update authentication token for a git remote?

I revoked my token for GitLab, how can I set the new token for cmd use? When trying to push, this is the error I get: remote: HTTP Basic: Access denied fatal: Authentication failed for 'https://...
0
votes
0answers
29 views

How to send a gitlab backup message [duplicate]

Is there a possibility to send a email notification when gitlab backup is done? I run the backups automatically with a cronjob
2
votes
0answers
212 views

Docker Linux - Limit global resources

I am using docker with gitlab-runner on linux (Ubuntu 16.04). gitlab-runner starts up to 4 concurrent docker containers. I have an 8-core CPU, and I would like to limit the global usage to 4 cores. ...
0
votes
0answers
33 views

How can I add the pg-upgrade tool to gitlab-ctl? “gitlab-ctl status” works but “gitlab-ctl pg-upgrade” doesn't

I have to upgrade postgresql to upgrade git. To do so, people say "run gitlab-ctl pg-upgrade" but when I do so it tells me "I don't know that command." plus the list of options available for the ...
0
votes
0answers
69 views

How to specify specific runner when running local gitlab-runner job?

Hows does one specify a specific runner when wanting to do a local gitlab-runner job?
1
vote
0answers
401 views

gitlab-runner not using local image

How do I force gitlab-runner exec docker to use a local image? Using Docker executor with image docker_compose:0.0.1 ... Using docker image sha256:...
0
votes
1answer
224 views

How to configure gitlab-runner

How does one configure a gitlab-runner. I'm drowning in the documentation on GitLab. I can't seem to find the correct documentation to state this. I'd like to for example set the executer for the ...
1
vote
3answers
3k views

Can't use SSH anymore on Gitlab runner, “Host key verification failed.”

The server in question is a runner and builds projects with a system user gitlab-runner. That user is used to SSH into other servers to deploy code, etc.. Always worked fine until we added a new ...
1
vote
1answer
2k views

How can I set environment variables in a GitLab CI docker runner?

We need to set a company proxy to reach the internet from within our network. This is needed for the build-process (to fetch dependencies). I have added the appropriate lines into /etc/bash.bashrc in ...
3
votes
1answer
4k views

gitlab-runner has not yet connected error

In my setup gitlab on Ubuntu 16.04 and after upgrading from gitlab-multi-runner to gitlab-runner it is not starting by default. According to gitlab runner documentation, it should start, just after ...
0
votes
1answer
377 views

Google Repo with Gitlab subgroup

I want to use Google Repo. I followed Harrow's blogpost to set it up. They use <remote name="origin" fetch=".." /> My Repo manifest is in git@gitlab.com:company/mysubgroup/manifest.git The ...
0
votes
0answers
186 views

gitlab with non-bundled web-server

The fox icon is showed after installation.Only reconfigure external-link been suggested. Followed GitLab Doc of using-a-non-bundled-web-server Followed this answer to change some part of /etc/gitlab/...
0
votes
0answers
464 views

Connection on local computer to Gitlab server (port 22 and 443)

So I've had this problem before at work, then it was solved by getting a new computer (it was old). The server is located here on the premises. Yesterday everything worked fine, this morning I try to ...
0
votes
1answer
2k views

Failed to connect to 127.0.0.1 port 80: Connection refused in Gitlab-ci

I'm using Gitlab enterprise trial edition and setup gitlab-runner on same server. Setup pipelines to build projects using gitlab-runner but getting below error when build my code : Running with ...
0
votes
1answer
2k views

Docker compose host volume data not in container folder

I am trying to add gitlab to my nextcloud vps. As usual, I have problems with the ssl certs. The container folder is empty, whereas the host folder isn't. The host content is not added to the ...
0
votes
1answer
423 views

GitLab ssh User Access Rights

I'm running a version of GitLab that I installed last fall. Unfortunately I am unable to ascertain a version number. It is hosted on Ubuntu 1404 in a VM on a Win10 host. UPDATE: Looks to be rev 9.4....
-1
votes
1answer
136 views

No Enough Space for Gitlab Backup [closed]

I have a Gitlab server which I want to back up. The problem I am facing is that I don't have enough disk space to do that. What options do I have ?
0
votes
0answers
1k views

High memory usage of gitlab

I mentioned gitlab has a very high memory usage. It take more than 2 GB for postgresql and ~1GB for all other processes. On my old server, it took only 2GB for all processes. Anyone got an idea how to ...
0
votes
1answer
366 views

How to redirect outbound requests to external resource to localhost with different ports?

I have GitLab CI multirunner which attempts clone git repo from external URL mydomain.com:40800 and it gets timeout error (I nothing cant to do with that). I need to redirect mydomain.com:40800 HTTP ...
0
votes
1answer
265 views

Gitlab - Login when enable Two-Factor Authentication on window

I have enable Two-Factor Authen in gitlab, everytime I do git push a box below show and I cannot login, no input for enter 2FA code. Now I turn 2FA off for continue work. How to login when enable ...
1
vote
1answer
261 views

Add time offset for mirroring via lftp

I am working on a CI runner in GitLab which is supposed to transfer changed files via FTP to a development environment. lftp seemed to be a good solution for doing so as it's easy to use and not ...
0
votes
1answer
552 views

Gitlab on CentOS 7 with Apache instead of Nginx giving a “503 Service Unavailable” message

I just tried to install GitLab to my root server. But hen I access the webpage using Apache for a proxy, I get a “503 Service Unavailable” message. Here is my Apache VirtualHost configuration file: ...