Generate a ssh key pair. Add the private key to the project’s secret variable with a key, “SSH_PRIVATE_KEY.” Write the yml file as below. 1)https://docs.gitlab.com/ce/ci/ssh_keys/README.html#ssh-keys-when-using-the-docker-executor2)https://gitlab.com/gitlab-org/gitlab-ce/issues/4194 References [ + ] 1. ↑ https://docs.gitlab.com/ce/ci/ssh_keys/README.html#ssh-keys-when-using-the-docker-executor 2. ↑ https://gitlab.com/gitlab-org/gitlab-ce/issues/4194
If you experience push failures over http, especially with large size commits, then try to increase the maximum client body size in NGINX configuration. Add in your gitlab server block. Here is the terminal output when the push fails.
Gitlab 8.1 provides continuous integration. Setting it up was not easy, but finished without being stuck. Here is bookmarks of steps for running runners and ‘.gitlab-ci.yml’ grammar. [gitlab-ci-multi-runner installation (linux-repository)] [Configuration of your builds with .gitlab-ci.yml]
This guide successfully led me to update my Gitlab. During the update, precompilation failed because of a permission problem, and creating gitlab-satellites also failed once, but they were easily fixed.
I couldn’t find an elegant way to change it. I hope the Gitlab authors release new update with this feature. By now, I touch precompiled css file. ‘tab-size:4;’ sets default tab space as 4. You need to find a proper place for it. (Chrome editor mode will lead you to…
Basically, follow this guide. (+ Note that I already had running mysql and Nginx installation.) Install pre-requisites Install latest ruby. (Download source code and compile it, instead of using apt-get. Ruby version must be larger than 2.0.0) Now we need to install the Bundler gem: [/crayon] And create a git…
<main>’ remote: error: hook declined to update refs/heads/master To firstname.lastname@example.org:root/tor.git ! [remote rejected] master -> master (hook declined) error: failed to push some refs to ‘email@example.com:root/tor.git’ [/crayon] 이 때 tor.git/hooks/update에 가보면 문제가 생기는 부분을 알 수 있다. $ locate gitlab_update를 해보면 /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_update.rb 가 나오는데 어쩐지 path가 낯이 익다. 에서 repos_path 바로…
gitlab에 push나 clone하려고 할 때 아래와 같은 메시지가 뜨면 사용중인 서버의 ssh key pair가 gitlab에 등록된 것인지 확인하자. (~/.ssh/id_rsa*)
에서 으로 고친다. 제대로 설정되었는지는 로 확인할 수 있다. 이면 실패, 이면 성공이다.
You can import existing GIT repositories. You can find repository path configuration file at , After fixing them, put your existing repositories to , and