How to use remote paths in gitlab ci? -
i installed githubhq in 1 server , gitlabci in server. need integration between gitlabhq , gitlabci. when go add new project in gitlabci requests path .git project, project on server gitlabhq.
i tried use path remote, like: http://[domain-name]/[user]/[project].git not accept.
i researched how gitlabci search path , found not support remote paths. use "rugged::repository.new(path)" project on server.
does know way use paths .git remotes in gitlabci?
as illustrated issue 36:
actually purpose of gitlab-ci implies install on deployment point. install deploy project
so supposed use local non-bare repo.
you could, in case, clone remote repo on gitlab-ci server, , use local path.
in order build integration between gitlab , gitlab-ci:
- add gitlab_ci user git group read access
- clone project via git clone /home/git/repositories somewhere /home/gitlab_ci/projects/...
- add project ci.
- setup gitlabhq use ci service
thats all.
ongitlab push
trigger gitlab ci makegit fetch origin
, testing repo date.
Comments
Post a Comment