gitlab

setting up gitlab as docker container with docker registry showing error 500

夙愿已清 提交于 2019-12-08 09:50:42
问题 I'm trying to running a Gitlab docker container in a Vagrant box. But I have some problems getting the docker registry running. my docker-compose.yml gitlab: container_name: gitlab image: gitlab/gitlab-ce:latest volumes: - /srv/gitlab/config:/etc/gitlab - /srv/gitlab/logs:/var/log/gitlab - /srv/gitlab/data:/var/opt/gitlab - /srv/gitlab/logs/reconfigure:/var/log/gitlab/reconfigure restart: always hostname: 192.168.7.7 ports: - 0.0.0.0:23:22 - 0.0.0.0:80:80 - 0.0.0.0:443:443 - 0.0.0.0:5000:5000

ssh connection failing when pushing on a Gitlab repo

孤者浪人 提交于 2019-12-08 08:59:56
问题 I have installed GitLab. Suppose I installed it in /home/myuser/gitlab . I created a new project I was told to create a repo "test" I put in /home/myuser/gitlab/test I added some SSH key in /home/myuser/.ssh Then I initialized a Git repo in /home/myuser/gitlab/test . Following instructions, I added a remote git@localhost:root/testing.git but when I try to push, I get this error message: $ git push -u origin master ssh: connect to host localhost port 22: Connection refused fatal: Could not

Use TortoiseGit with multiple GitLab accounts

99封情书 提交于 2019-12-08 08:54:09
问题 I have two GitLab account and want to use them with TortoiseGit so for that I made keys and add them to each account so no I have to key in .ssh folder like id_rsa_account1 and id_rsa_account2. Also I changed config file like here and now I dont have problem in using git with cmd but I want to use it with TortoiseGit. Now how can I have two repository like test1 and test2 and use them with TortoiseGit? 回答1: How to set up two SSH keys for two GitLab accounts and push/pull by using TortoiseGit?

git clone with http not working in gitlab

倖福魔咒の 提交于 2019-12-08 08:43:11
问题 I have GitLab CE setup with my domain (Ubuntu) and the git clone with http not working but ssh works well. git clone git@gitlab.mydomain.com:anshad/test.git works. git clone http://gitlab.mydomain.com/anshad/test.git not working. Cloning into 'test'... Username for 'http://gitlab.mydomain.com': anshad Password for 'http://anshad@gitlab.mydomain.com': fatal: unable to access 'http://gitlab.mydomain.com/anshad/test.git/': The requested URL returned error: 500 sudo -u git -H bundle exec rake

Integrating Git into my workflow

大城市里の小女人 提交于 2019-12-08 08:24:39
问题 I use NuSphere's PhpED's PHP IDE to crate and debuge PHP script. I've never used a repository systems, but wish to do so now, and am struggling on how to implement it into my workflow. I have the following three machines: Windows 7 PC NuShere PhpED IDE (It is set up to use my Local Development Centos Server) TortoiseGit SourceTree (Not sure if I will use since it doesn't integrate with PhpED) Local Development Centos Server Apache (used with PhpED on Windows PC) GitLab Samba (not set up yet,

GitLab does not create new repository

六月ゝ 毕业季﹏ 提交于 2019-12-08 08:16:36
问题 The issue occurs when creating a repository in gitlab and then pushing to the repository. git remote add gitlab git@git.metacloud.ca:mike.ch/helloworld.git git push -u gitlab master result: Please make sure you have the correct access rights and the repository exists. I checked the repository folder in the gitlab home. it creates the helloworld.wiki.git files but not the helloworld.git I have seen multiple posts on this issue and I have tried the following solutions. Creating project in 6.0

System ask password when push project to github

别来无恙 提交于 2019-12-08 07:58:08
问题 I setup gitlab on Centos 6x . Webserver : nginx . I installed my gitlab follow link . And i have a problem : when i push my project on client to gitlab@mydomain.com , system ask password : git push -u origin master git@gitlab.mydomain.com's password: Then i show config file of my project on client : cat ../.git/config [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [branch "master"] [remote "origin"] url = git@gitlab.mydomain.com:myusename/myproject.git

How to use Go dep with GitLab subgroups

匆匆过客 提交于 2019-12-08 07:24:26
问题 I have a go project that requires some dependencies from a GitLab repository like git.mydomain.com/myteam/category/subcategory/project.git. But I'm getting this error. ensure Solve(): remote repository at https://git.mydomain.com/myteam/category.git does not exist or is inaccessible: : exit status 128 I would really thankful if someone can help me to solve this. Thanks. 回答1: This issue is discussed at length on the GitLab support tracker. TL;DR; It's (intentionally) broken for private repos:

Gitlab-ci.yml to create merge reqeust

对着背影说爱祢 提交于 2019-12-08 06:58:30
问题 I have the following gitlab-ci.yml file running in DEV branch, with target as DEV as well. Since i couldnt point the TARGET as MASTER, there is no automatic MR getting created. I would like to know if its possible to create a merge request in the gitlab-ci script itself. dev: stage: deploy script: - url_host=`git remote get-url origin | sed -e "s/https:\/\/gitlab-ci-token:.*@//g"` - git remote set-url origin "https://gitlab-ci-token:${CI_TAG_UPLOAD_TOKEN}@${url_host}" - databricks workspace