Questions tagged [gitlab]

Gitlab is self hosted Git management software.

The main site for Gitlab.

464 questions
1
vote
0 answers

How to disable global 2FA policy with CLI

I would like to ask if it's possible to disable the global 2FA policy (everyone need to activate 2FA before accessing gitlab) but I can't disable on the web interface because I can't activate it, it gives me everytime PIN code invalid. I tried to…
1
vote
2 answers

Permission denied (publickey) in gitlab self hosted server

I want to setup a ssh connection to my gitlab server. gitlab spec Install via docker-compose : # ---------------------- # # gitlab # # ---------------------- # gitlab: image: gitlab/gitlab-ce:latest restart: always hostname:…
Hadock
  • 123
  • 6
1
vote
1 answer

Gitlab 404 when connection to Jira?

I have the latest install of gitlab-ce and Jira Server. I've created an application in gitlab and when I try to connect Jira to gitlab the URL it generates for login/oauth/authorize returns a gitlab 404 page. Following the guide here:…
James MV
  • 111
  • 2
1
vote
1 answer

How does GitLab ensure that a generated backup archive embodies a clean state of the application?

When you ask a running GitLab instance to generate a full backup archive with the gitlab-rake gitlab:backup:create command : Does GitLab perform anything to freeze the application state ? Is there any risk to get a technically working backup…
1
vote
1 answer

GitLab CI fails to connect to remote server

I have the following .gitlab-ci.yml file, which aims to deploy my master GitLab repository by cloning it to the test directory on a specific server. image: ubuntu:latest before_script: - apt-get install -y - apt-get update -y - 'which…
Newskooler
  • 211
  • 1
  • 3
  • 14
1
vote
0 answers

GitLab Server's SSH service seems to not be pulling in GitLab account key for authentication for a user

Git access fails with "Permission denied, please try again." after a client changed their system processor. Is there a way to check to see if SSHD is getting the proper auth / key info from GitLab's server? This seems to be the crux of the…
ylluminate
  • 1,155
  • 2
  • 17
  • 35
1
vote
0 answers

MariaDB connection refuse docker compose

I'm gonna try to explain what my recently found headache is. First of all I'm using Gitlab CI so docker and docker in docker is involved. The structure of the CI is basically this and all running dind: Stand UP 3 services for 3 different databases…
1
vote
1 answer

gitlab-runner process in container can't find gitlab container when using docker-compose

Update: I did not resolve my problem but I know why it does not work. If you are using docker executor, when you launch a job, gitlab-runner binary will start a special container. This container is gitlab-runner-helper and will manage git, caches,…
Antoine
  • 133
  • 1
  • 5
1
vote
1 answer

Fail2Ban, how should the datepattern for this entry look like

I've got following entry in my logfile for gitlab (application.log): June 10, 2019 19:04: Failed Login: username=Zzzz ip=XXX.XXX.XXX.XXX How should the datepattern for my Fail2Ban-filter look like? The official documentation is not very…
1
vote
1 answer

Jenkins slave unable to clone from Gitlab

I have an autoscaling Jenkins cluster on AWS, which spawns & runs agents via JNLP. Both Master & Slaves run on Ubuntu. I don't quite understand where Jenkins actually stores the SSH keys for Gitlab, or if/how the slaves are expected to use…
Mcar49
  • 113
  • 1
  • 3
1
vote
0 answers

GitLab AutoDevOps Error timeout deployment rollout to finish kubernetes

I applied the AutoDevOps gitlab-ci configuration. Connect Kubernetes cluster to DigitalOcean. Pipeline timeout error. What could be the problem? $ deploy secret/myprod-xjxj5s-secret replaced Deploying new release... Release "myprod-xjxj5s" does not…
1
vote
1 answer

Gitlab CE Omnibus Started to Get 503 Error

I've installed GitLab on a CentOS 7 using the Omnibus installer a few months ago. It has ran fine but, today it started to throw a 503 error page when I visit the main page to login. I ran the gitlab-ctl status command and I don't see anything…
SciGuyMcQ
  • 121
  • 4
1
vote
1 answer

Gitlab + Azure AD + LDAP

I have gitlab (ee) setup with terraform to run in a k8s cluster on azure. This all works fine and dandy, but what I would love to do is use LDAPS to sync user and group permissions with Azure AD, so I can use it as shown here:…
SeeDoubleYou
  • 271
  • 1
  • 2
  • 4
1
vote
1 answer

How to make custom docker image for Gitlab CI

I have CI on Gitlab for creating of my android application. This is example of my .gitlab-ci.yml: image: openjdk:8-jdk variables: ANDROID_COMPILE_SDK: "28" ANDROID_BUILD_TOOLS: "28.0.2" ANDROID_SDK_TOOLS: "4333796" before_script: -…
Piduna
  • 541
  • 4
  • 12
  • 25
1
vote
0 answers

Packer Works Locallly but fails in Gitlab CI/CD w/ executable file not found in $PATH

Here is a snippet of my JSON file for packer. Pretty much running packer build example.json via adhoc - it works smoothly and builds the AMI out in AWS. When i execute this in my GitLabCI Pipeline, it fails with the following error: Errors…
user509226
  • 11
  • 2