Class: GitlabCiService

Inherits:
CiService show all
Defined in:
app/models/project_services/gitlab_ci_service.rb

Overview

TODO(ayufan): The GitLabCiService is deprecated and the type should be removed when the database entries are removed

Instance Method Summary collapse

Methods inherited from CiService

#build_page, #commit_page, #commit_status, #merge_request_page, #merge_request_status, #supported_events, #valid_token?

Methods inherited from Service

#activated?, #async_execute, available_services_names, boolean_accessor, #can_test?, #category, create_from_template, #description, #execute, #fields, #help, #initialize_properties, #issue_tracker?, prop_accessor, #reset_updated_properties, #supported_events, #template?, #test, #title, #to_param, #updated_properties

Instance Method Details

#activeObject

We override the active accessor to always make GitLabCiService disabled Otherwise the GitLabCiService can be picked, but should never be since it's deprecated


29
30
31
# File 'app/models/project_services/gitlab_ci_service.rb', line 29

def active
  false
end