Newest 'gitlab' Questions - Stack Overflow

Questions tagged [gitlab]

GitLab is an Open Source Git repository manager with issue tracking and wiki as well as continuous integration features. Use this tag for programming questions related to the GitLab API or similar; questions about general usage are considered off-topic.

0
votes
0answers
5 views

GitLab CI/CD - Pipeline gets stuck when using Runner on my own Host

I've setup CI/CD on GitLab for my toy project. After installing the Runner on my own host and activating it for my project, I double-checked everything by running gitlab-runner verify and got the ?/?/questions/tagged/gitlab/...
1
vote
0answers
24 views

git clone stalls on “Initializing NSS with certpath”

I am running a process in a docker container that periodically does a git clone via https from gitlab. Most of the time it works, but every so often it stalls indefinitely and requires me to manually ?/?/questions/tagged/gitlab/...
1
vote
1answer
13 views

Gitlab: How to use artifacts in subsequent jobs after build

I've been trying to make a GitLab CI/CD pipeline for deploying my MEAN application. I have three stages: 1. test 2. build 3. deploy The build stage has a build_angular job which generates an ?/?/questions/tagged/gitlab/...
1
vote
1answer
15 views

Keeping package.json version intact during merge

I need to find a way to keep 'version' intact in package.json of the 'dev' branch after merging 'feature' branch into 'dev'. I can't figure out the best way to do it. Can I do this just using .gitlab-?/?/questions/tagged/gitlab/...
0
votes
0answers
10 views

Does not work execution of exe file from jenkins job, but works locally from cmd

I have Jenkins-slave on Windows 10. Jenkins service is running, from domain user jenkins. I tested each shell command from cmd. It works. But it does not work in Jenkins-job, when i am trying to ?/?/questions/tagged/gitlab/...
1
vote
2answers
27 views

CSS “Background-image: url(?/?/questions/tagged/gitlab/…)” doesn't work on my website

I created my portfolio on Gitlab Pages. My style.CSS work partially. background-image: url(?/?/questions/tagged/gitlab/..) doesn't display in navigator. However, everything else seems to be working. My content is in public/img/?/?/questions/tagged/gitlab/..?/?/questions/tagged/gitlab/..
1
vote
1answer
29 views

Gitlab always exited automatically

I am running the gitlab with docker, but it always exits after a period of time ==> /var/log/gitlab/redis/current <== 2019-06-21_18:00:08.72435 459:signal-handler (1561140008) Received SIGTERM ?/?/questions/tagged/gitlab/...
1
vote
1answer
14 views

Error: Host Key verification failed, while deploying via SSH and Gitlab CI

So I'm trying to setup CI/CD using GitLab to deploy my web application to DigitalOcean Droplet using SSH. The problem I'm facing is that, GitLab script is unable to ssh to the server?/?/questions/tagged/gitlab/..whereas if I ?/?/questions/tagged/gitlab/...
1
vote
3answers
21 views

How to pass gitlab ci/cd variables to kubernetes(AKS) deployment.yaml

I have a node.js (express) project checked into gitlab and this is running in Kubernetes . I know we can set env variables in Kubernetes(on Azure, aks) in deployment.yaml file. How can i pass gitlab ?/?/questions/tagged/gitlab/...
1
vote
1answer
13 views

Jenkins Failing on 'git pull'

I set up a subdomain on my DO droplet which is running Jenkins. I want Jenkins to deploy my project when a new build is pushed to my GitLab master branch. The problem is that I am getting a git@?/?/questions/tagged/gitlab/...
0
votes
1answer
18 views

sanatize bash string for gitlab yaml

I am having trouble escaping a string that contains control char testRESULT=$(awk -F"Executed " '/Executed /{print $2}' results.out) this is the string 9 of 10 specs INCOMPLETE (1 PENDING) in 30 ?/?/questions/tagged/gitlab/...
0
votes
1answer
27 views

How to trigger a specific job in gitlab

I want to run a specific job in a pipeline , I thought assigning a tag for the job and then specifying this tag again in the post method will fulfill my needs .The problem is when I trigger using the ?/?/questions/tagged/gitlab/...
2
votes
1answer
27 views

git default parameter on push

I need to do git push origin -o ci.skip so I do not trigger a massive gitlab pipeline. (when they become large I move them to scheduled). Is there a way to set up projects ~/.git/config so this ?/?/questions/tagged/gitlab/...
0
votes
1answer
28 views

GitLab encountering issues with PostgreSQL after OS upgrade to RHEL 7.6

We recently upgraded the OS: $ cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.6 (Maipo) After upgrading, we are facing lot of issues with GitLab (predominantly with Postgres)?/?/questions/tagged/gitlab/.. ?/?/questions/tagged/gitlab/...
0
votes
0answers
16 views

Where to store GitLab/git credentials stored on Windows 10?

I am trying to figure out where to store my personal access token (PAT) generate in GitLab on a remote Windows 10 environment to authenticate on that GitLab instance. Assuming I already have a local ?/?/questions/tagged/gitlab/...
3
votes
1answer
42 views

Not able to access Gitlab env variables either in node.js or react

I have two different projects checked in Gitlab, frontend and backend. For both the projects i have a Dockerfile each. I have set the env variables in gitlab ci/cd . I am running docker container in ?/?/questions/tagged/gitlab/...
-1
votes
0answers
7 views

How can we access those archive files after we unzip it to run commands?

Download a single file from GitLab artifacts archive
0
votes
1answer
19 views

I need to upload 5 projects on git lab on the same project but different branches

So I'm new to this whole coding world, also new to stack overflow, so sorry If I'm not doing this the right way. I need to upload 5 projects on Git Lab, on one project but on different branches, so, ?/?/questions/tagged/gitlab/...
0
votes
0answers
13 views

Can't connect to localdb

Everything works on my local machine but when pushing to GitLab my runner/pipeline is having issues. Our build step definitely looks to be creating the database (I can connect from SQL Server ?/?/questions/tagged/gitlab/...
0
votes
0answers
12 views

How to access and configure actual storage file path in GitLab?

Background: GitLab CE is installed on a personal Ubuntu server. Problem: As per GitLab's documentation here, the default path for storing git files is var/opt/gitlab/git-data, however when I access ?/?/questions/tagged/gitlab/...
-1
votes
1answer
21 views

Continuous deployment with gitlab, what are the possible methods?

I just setup a basic .gitlab-ci.yml in order to have continuous deployment on my project, here is it's content : stages: - deploy before_script: - 'which ssh-agent || ( apt-get update -y &&?/?/questions/tagged/gitlab/...
2
votes
1answer
18 views

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 ?/?/questions/tagged/gitlab/...
0
votes
0answers
9 views

Milestone breakdown chart corrupted

Our milestone breakdown chart was working fine, but suddenly stopped working a few days ago! Our milestone is running from 7th June to 21st, has 19 Open issues and 42 closed. Anyone seen this happen ?/?/questions/tagged/gitlab/...
0
votes
0answers
6 views

GitLab API /issues_statistics returns 404

GitLab API /issues_statistics ( https://docs.gitlab.com/ee/api/issues_statistics.html ) for GitLab 11 on-prem returns 404. Is there any settings to enable it?
0
votes
0answers
4 views

Is it possible to release (duplicate) sketch project repo to multiple users in gitlab

As an instructor, I would like to distribute starter code to students via an internal hosted gitlab server. Instead of requiring them to manually fork my base repo, is there a convenient way to ?/?/questions/tagged/gitlab/...
0
votes
1answer
41 views

curl is downloading the html rather than the actual zip file from gitlab

ever time i try and download my artifact from GitLab i seen to get the html in a file rather than the xip files it's self. I have found loads of similar stuff on here but none of the solutions work. ?/?/questions/tagged/gitlab/...
0
votes
1answer
40 views

Docker is not recognized as an internal or external command

I have the following .gitlab-ci.yml file: image: docker:latest variables: DOCKER_DRIVER: overlay2 services: - docker:dind before_script: - docker info stages: - deploy step-deploy-dev: ?/?/questions/tagged/gitlab/...
1
vote
0answers
21 views

Can you import a bitbucket project using the GitLab API?

I am looking for a way to directly import a project from bitbucket using the Python GitLab API. I know that this can be done for Github projects (https://docs.gitlab.com/ee/api/import.html), however I ?/?/questions/tagged/gitlab/...
1
vote
0answers
19 views

Failure with using License Finder on Gitlab CI

I am trying to run add a stage in my Gitlab CI to generate a license report. As mentioned on the Gitlab CI guidelines the job can be easily done by including a stage like this in the .gitlab-ci.yml ?/?/questions/tagged/gitlab/...
0
votes
0answers
13 views

Slack integration with Gitlab

I have two Slack channels - A and B. I've already integrated my GitLab project with channel A (it successfully sends messages about new pushed tags). Now, I want to get messages about new Merge ?/?/questions/tagged/gitlab/...
0
votes
1answer
33 views

Reading a file from resources not working in gitlab CI

I am getting an error while running tests on gitlab CI using the command: ./gradlew clean test I am using test containers to run my tests: https://www.testcontainers.org/modules/docker_compose/ ?/?/questions/tagged/gitlab/...
0
votes
0answers
4 views

I'm getting a 404 when I add custom_gitlab_server_config location

I'm trying to redirect requests to a specific url to load files from a different folder from not necessarily the path This is the simplest thing that I tried to test with and it's not working. This ?/?/questions/tagged/gitlab/...
1
vote
0answers
28 views

How to enable HTTPS for Gitlab Chart via Kubernetes in AWS

Situation I have a kubernetes cluster running in AWS, with an nginx ingress controller. I've deployed Gitlab on the cluster via Charts, and I can reach it over port 80 once proxied: kubectl port-?/?/questions/tagged/gitlab/...
1
vote
0answers
16 views

Govendor and dep trying to fetch group, when it should fetch projects

I have Go project in gitlab inside a group, so it is like: https://gitlab.com/company/group/project1.git https://gitlab.com/company/group/project2.git etc. I have a vendor folder with vendor.json ?/?/questions/tagged/gitlab/...
0
votes
1answer
18 views

Kubectl on Rancher Server not working properly

It is probably a stupid question, but I could not find anything useful on that topic. I am following this tutorial to set up an automatic CI/CD pipeline: https://rancher.com/blog/2018/2018-08-07-cicd-?/?/questions/tagged/gitlab/...
1
vote
1answer
24 views

Where do I find the name of the windows version of this golang image?

Here is an excerpt from my gitlab-ci.yml: image: golang:1.9.2 variables: BIN_NAME: example ARTIFACTS_DIR: artifacts GO_PROJECT: example GOPATH: /go before_script: - mkdir -p ${GOPATH}/?/?/questions/tagged/gitlab/...
0
votes
1answer
34 views

Mounting kubernetes volume in multiple containers within a pod with gitlab

I am setting up a CI/CD environment for the first time consisting of a single node kubernetes (minikube). On this node I created a PV NAME CAPACITY ACCESS MODES RECLAIM POLICY ?/?/questions/tagged/gitlab/...
0
votes
0answers
8 views

GitLab hangs after querrying multiple repositories

I have a number of repositories on GitLab. Because I do multiple changes which I then commit and push, I have made a script that would go through each folder, check if it has git repository, check ?/?/questions/tagged/gitlab/...
0
votes
1answer
20 views

How do I build using my GitLab pipeline for windows

I have the following .gitlab-ci.yml?/?/questions/tagged/gitlab/... stages: - test - build - art image: golang:1.9.2 variables: BIN_NAME: example ARTIFACTS_DIR: artifacts GO_PROJECT: example GOPATH: /go ?/?/questions/tagged/gitlab/...
0
votes
0answers
17 views

Problem when push data to github “RPC failed; result=55, HTTP code = 200”

When I push project data to github, I have a problem : error: RPC failed; result=55, HTTP code = 200| 6.39 MiB/s My project size about 20GB, & have some big files about ~100M. I also buy 1 ?/?/questions/tagged/gitlab/...
0
votes
0answers
18 views

How to get CI_COMMIT_SHORT_SHA of a project from another gitlab project?

I need to get the value of CI_COMMIT_SHORT_SHA from a project from another project. What I'm looking for is a way to make a request from a .gitlab-ci, preferably curl, to the project and get the ?/?/questions/tagged/gitlab/...
0
votes
1answer
45 views

How to commit local changes from master to another branch

I am new to working with Git and a few things or commands are clear to me. My problem now is described here: Yesterday I got the latest version of master. I have made some local changes, which in the ?/?/questions/tagged/gitlab/...
3
votes
2answers
31 views

GitLab - Determine if branch is protected from terminal git command

Is there a method to determine if a branch is protected in GitLab using the git command? Preferably an approach to determine protected status without trying to do something illegal and receiving a ?/?/questions/tagged/gitlab/...
0
votes
1answer
24 views

Kubernetes Helm with Gitlab Charts in AWS - how to configure the serviceType

I"m new to Kubernetes and AWS, treat me like a noob. I've got Kubernetes running in AWS with the following names: > kube kubectl get pods --all-namespaces NAMESPACE NAME ?/?/questions/tagged/gitlab/...
0
votes
1answer
8 views

Create new directory in Gitlab WebIDE

I am using GITLabs WebIDE to add/edit and checkin new files to by project. When I select New Directory like so I can see my new folder created: But it does not allow me to commit the added folder as ?/?/questions/tagged/gitlab/...
1
vote
2answers
15 views

How do I create an artifact so it will be available for download in .gitlab-ci.yml

I have a GitLab ci pipeline and I am not sure how to get it to generate an artifact with the binary file that happened in the build stage. Here is my yml file?/?/questions/tagged/gitlab/... stages: - test - build - art ?/?/questions/tagged/gitlab/...
0
votes
1answer
34 views

How to fix : failed to push some refs to gitlab?

I tried to push the project to the repository of GitLab but there was an error occurred. To https://gitlab.com/codersclan-interviews-frontend/codersclan-david-rose.git ! [remote rejected] test -> ?/?/questions/tagged/gitlab/...
0
votes
0answers
27 views

GitLab on GKE: Configure Mailserver

I'm trying to set up a GitLab-Server on GKE (from marketplace). As a part of this I want to configure mail-functionality. I created a Sendgrid-Account and found the following manual. But now I'm ?/?/questions/tagged/gitlab/...
0
votes
0answers
33 views

GitLab pipelines for merge requests in Jenkins

I'm working on a CI integration between GitLab and Jenkins where I want to do specific validation depending on the target branch of an opened merge request (MR). To be more specific, we have a ?/?/questions/tagged/gitlab/...
1
vote
0answers
26 views

Container Scanning feature does not work for multiple images

I've successfully setup the Container Scanning feature from GitLab for a single Docker image. Now I'd like to scan yet another image using the same CI/CD configuration in .gitlab-ci.yml Problem It ?/?/questions/tagged/gitlab/...