Questions tagged as 'gitlab'

1
answer

Ignoring files by .gitignore

I use GitLab as a repository for a Android project. I want to ignore the files in the openCVLibrary320 folder at commit/push time. I typed the folder as follows in the file .gitignore : *.iml .gradle /local.pr...
asked by 30.03.2017 / 13:37
1
answer

How do I protect my account from unauthorized push?

I'm starting to use the git repository through gitlab, but I'm using it on a company computer where I work. Assuming that I leave the company and leave the configuration ready, how can I block a new programmer from erasing my entire project o...
asked by 19.04.2018 / 22:06
1
answer

Copy Gitlab backup files to an external disk by configuring crontab

I configured the server to run a cronjob and run the script that backs up Gitlab. Gitlab in turn generates the .tar files in the var/opt/gitlab/backups The first problem is that to access the above mentioned folder, I have to...
asked by 22.09.2016 / 11:39
0
answers

Gitlab Pipeline Only Merge Request

I'm creating a script for CI in GitLab , but when using only merge_requests it does not run when I create a new merge request . The version I am using is the Community Edition . When I create a new branch , a new tag, or commi...
asked by 27.12.2018 / 13:49
0
answers

Pipeline change environment variable

I have a project-level environment variable defined with the value X . During pipeline execution, given a given condition, I need to change the value of this variable to Y . The value must be persisted in the variable so that i...
asked by 06.07.2018 / 03:05
2
answers

How to make NPM always update the last comite in the master?

I have a local repository (gitlab) with several components, I am pointing in package.json each component directly to this repository. Here is an example: "dependencies": { "XX-alert": "git+http://git.domain.com/XX-platform/XX-alert....
asked by 12.04.2016 / 19:17
1
answer

GIT lab for versioning

We install the GIT LAB service on Azure. When I run this command git push --set-upstream origin máster show this error:    fatal: unable to access 'address': SSL certificate problem: self signed certificate What can it be?...
asked by 11.04.2017 / 16:59
1
answer

curl: (92) HTTP / 2 stream 1 was not closed cleanly: REFUSED_STREAM (err 7)

I'm trying to register a Gitlab runner, but when I run the specified log command in the API, an error occurs. The command I try to run is as described in the API: curl --request POST "https://gitlab.example.com/api/v4/runners" --form "token=ip...
asked by 25.06.2018 / 16:00
2
answers

How to delete gitlab commits [duplicate]

Is it possible to delete gitlab commits using git commands? I have already tried through the visual studio of the > Team Explorer but unsuccessful     
asked by 23.01.2018 / 10:17
1
answer

How to do version control with GitLab?

Scenario I have a local folder (on my machine) with all the folders and files of various projects . I have chosen GitLab because I need to save private projects . Questions Is there a tool for " Synchronize " all my structure?...
asked by 29.08.2018 / 13:11