gitlab-org--gitlab-foss/app/models/project_services/gitlab_ci_service.rb

30 lines
1.1 KiB
Ruby
Raw Normal View History

2012-11-19 19:34:05 +00:00
# == Schema Information
#
# Table name: services
#
2015-03-04 22:14:00 +00:00
# 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-05-03 16:05:38 +00:00
# note_events :boolean default(TRUE), not null
2016-01-06 02:30:59 +00:00
# build_events :boolean default(FALSE), not null
2012-11-19 19:34:05 +00:00
#
# TODO(ayufan): The GitLabCiService is deprecated and the type should be removed when the database entries are removed
class GitlabCiService < CiService
# 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
end
2012-11-19 19:34:05 +00:00
end