0
gitlab에서 특정 지침을 따라야합니다. 나는 현재 소스가 gitlab의 설치 실행하고소스 설치시 gitlab에 구성 데이터를 추가하는 방법은 무엇입니까?
Manually (re)authorising GitLab Mattermost with GitLab
Authorise GitLab Mattermost
To do this, using browser navigate to the admin area of GitLab, Application section. Create a new application and for the callback URL use: http://mattermost.example.com/signup/gitlab/complete and http://mattermost.example.com/login/gitlab/complete (replace http with https if you use https).
Once the application is created you will receive an Application ID and Secret. One other information needed is the URL of GitLab instance.
Now, go to the GitLab server and edit the /etc/gitlab/gitlab.rb configuration file.
In gitlab.rb use the values you've received above:
mattermost['gitlab_enable'] = true
mattermost['gitlab_id'] = "12345656"
mattermost['gitlab_secret'] = "123456789"
mattermost['gitlab_scope'] = ""
mattermost['gitlab_auth_endpoint'] = "http://gitlab.example.com/oauth/authorize"
mattermost['gitlab_token_endpoint'] = "http://gitlab.example.com/oauth/token"
mattermost['gitlab_user_api_endpoint'] = "http://gitlab.example.com/api/v3/user"
Save the changes and then run sudo gitlab-ctl reconfigure.
If there are no errors your GitLab and GitLab Mattermost should be configured correctly.
나는 나에게 사용할 수있는 /etc/gitlab/gitlab.rb 파일이없는 - 그 gitlab 지침입니다.
옴니버스 패키지가 아닌 소스에서 설치된 gitlab 인스턴스의 구성을 어떻게 추가 할 수 있습니까?
편집 할 파일은 무엇이며 파일을로드하려면 rake 명령은 무엇입니까?
소스에서 설치하는 경우 설정은'gitlab.yml'이어야합니다. 그 메모에 힘든, 나는 옴니버스가 아닌 설치에 대해 중요한 통합이 가능하지 않다고 생각합니다. – Fairy
@Fairy 감사합니다. GitLab 소스 사용자에게 왜 지침이 없는지 궁금합니다. – ILikeTurtles
소스 설치가 오류가 발생하기 쉽기 때문에 모든 사람들이 옴니버스 패키지를 사용하기를 원합니다. – Fairy