summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorNick Huanca <nick.huanca@gmail.com>2014-02-26 12:04:32 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-03-05 13:23:44 +0200
commitd02e129a549190c3bd26ed32eac13dfa62f2844d (patch)
treef10cf826a1f9c8b4c4844f6eb187c338354453fe /app/models
parentf1d8efb7700fb95b98924ffe2e65dd08f7f376c9 (diff)
downloadgitlab-ce-d02e129a549190c3bd26ed32eac13dfa62f2844d.tar.gz
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.
Diffstat (limited to 'app/models')
-rw-r--r--app/models/project_services/gitlab_ci_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_services/gitlab_ci_service.rb b/app/models/project_services/gitlab_ci_service.rb
index 017cd9eeaab..81ac47c913d 100644
--- a/app/models/project_services/gitlab_ci_service.rb
+++ b/app/models/project_services/gitlab_ci_service.rb
@@ -37,7 +37,7 @@ class GitlabCiService < Service
end
def commit_status sha
- response = HTTParty.get(commit_status_path(sha))
+ response = HTTParty.get(commit_status_path(sha), verify: false)
if response.code == 200 and response["status"]
response["status"]