GitLabCi Service imtegration

This commit is contained in:
Dmitriy Zaporozhets 2012-11-19 22:34:05 +03:00
parent 8500743464
commit 406a0c809b
16 changed files with 158 additions and 7 deletions

View file

@ -48,6 +48,7 @@ class Project < ActiveRecord::Base
has_many :protected_branches, dependent: :destroy
has_one :last_event, class_name: 'Event', order: 'events.created_at DESC', foreign_key: 'project_id'
has_many :services, dependent: :destroy
has_one :gitlab_ci_service, dependent: :destroy
delegate :name, to: :owner, allow_nil: true, prefix: true