2015-06-30 22:12:34 +08:00
|
|
|
Gitlab.configure do |config|
|
2015-07-16 20:46:04 +08:00
|
|
|
# config.endpoint = 'http://192.168.41.130:3000/trustie/api/v3' # API endpoint URL, default: ENV['GITLAB_API_ENDPOINT']
|
|
|
|
# config.private_token = 'cK15gUDwvt8EEkzwQ_63' # user's private token, default: ENV['GITLAB_API_PRIVATE_TOKEN']
|
2015-08-01 18:48:55 +08:00
|
|
|
config.endpoint = 'http://git.trustie.net/trustie/api/v3' # API endpoint URL, default: ENV['GITLAB_API_ENDPOINT']
|
2015-07-16 20:46:04 +08:00
|
|
|
config.private_token = 'fxm19wjRAs4REgTJwgtn' # user's private token, default: ENV['GITLAB_API_PRIVATE_TOKEN']
|
2015-06-30 22:12:34 +08:00
|
|
|
# Optional
|
|
|
|
# config.user_agent = 'Custom User Agent' # user agent, default: 'Gitlab Ruby Gem [version]'
|
|
|
|
# config.sudo = 'user' # username for sudo mode, default: nil
|
|
|
|
end
|