Commit d02e129a549190c3bd26ed32eac13dfa62f2844d

Authored by Nick Huanca
Committed by Dmitriy Zaporozhets
1 parent f1d8efb7

added verify false on gitlab_ci integrations

For those of us running self-signed in gitlab-ci it generates 500s SSL_verify errors if you don't have this.
app/models/project_services/gitlab_ci_service.rb
... ... @@ -37,7 +37,7 @@ class GitlabCiService < Service
37 37 end
38 38  
39 39 def commit_status sha
40   - response = HTTParty.get(commit_status_path(sha))
  40 + response = HTTParty.get(commit_status_path(sha), verify: false)
41 41  
42 42 if response.code == 200 and response["status"]
43 43 response["status"]
... ...