gitlab

Cloning another project in .gitlab_ci.yml

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

gitlab에서 require_relative 관련된 문제가 생길 때

<main>’ remote: error: hook declined to update refs/heads/master To git@no-shoveling.com:root/tor.git ! [remote rejected] master -> master (hook declined) error: failed to push some refs to ‘git@no-shoveling.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 바로…