debian-mirror-gitlab/app/models/project_services/gitlab_ci_service.rb

29 lines
1.1 KiB
Ruby
Raw Normal View History

2014-09-02 18:07:02 +05:30
# == Schema Information
#
# Table name: services
#
2015-04-26 12:48:37 +05:30
# id :integer not null, primary key
# type :string(255)
# title :string(255)
# project_id :integer
# created_at :datetime
# updated_at :datetime
# active :boolean default(FALSE), not null
# properties :text
# template :boolean default(FALSE)
# push_events :boolean default(TRUE)
# issues_events :boolean default(TRUE)
# merge_requests_events :boolean default(TRUE)
# tag_push_events :boolean default(TRUE)
2015-09-11 14:41:01 +05:30
# note_events :boolean default(TRUE), not null
2014-09-02 18:07:02 +05:30
#
2015-12-23 02:04:40 +05:30
# TODO(ayufan): The GitLabCiService is deprecated and the type should be removed when the database entries are removed
2014-09-02 18:07:02 +05:30
class GitlabCiService < CiService
2015-12-23 02:04:40 +05:30
# We override the active accessor to always make GitLabCiService disabled
# Otherwise the GitLabCiService can be picked, but should never be since it's deprecated
def active
false
2014-09-02 18:07:02 +05:30
end
end