Skip to content
Advertisement

Tag: gitlab

If condition is failing in the GitLab CI

following is my Gitlab CI code:- I’m trying to validate the JIRA status by calling its API after retrieving Jira id from title of Merge Request. There is a problem in the If condition below if [[ “$JIRA_STATUS” == “^(Done|Completed|Closed)$” ]] as it is not validating it properly. Every time, the else condition is getting executed and printing the message

Can’t install bash in multiarch build on Alpine

I am trying to build image for linux/arm64/v8 on linux/amd64 Gitlab runner. I run it with this command: My Dockerfile is fairly simple: But it fails with: It’s Gitlab runner version 13.4.1 and Docker executor docker:stable. What can I do about this issue? Answer There were three problems with my approach: I needed to install buildx extension I had to

Unable to register git runner on local network server

i’m trying to register a git runner on my company local network server, gitlab is working fine with self singed certificate, but when trying to register a git runner like this then pasting the git URL then the token: and then the description and the tags, then i get this error: i’m not using docker, just normal setup, please any

Gitlab avoid user login via SSH

When I create a user on Gitlab, it creates a regular user on linux and it can login using a regular SSH protocol with same password an user. How can I disable the SSH login using SSH to desired users? All my server is exposed to that users. Thank you Answer Edit the sshd_config file adding this line Read more:

Password for GitLab

I’ve installed GitLab per https://github.com/gitlabhq/gitlab-recipes/tree/master/install/centos. The instructions state to add user “git” All seemed to work. I then added a project on the GitLab server, and it gave instructions to push to it: I then went to my client to push to the git server. Is there a password I should have set? Probably not, and instructions don’t address. Reading

Advertisement