Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-01-22 15:54:59 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-01-25 12:36:59 +0300
commit76e7b19c8158bcf000db8575f958161a232d643e (patch)
tree120121eac1724c651760151a4efa21ee7e278821 /app/models/ci/build.rb
parent9f26729af5a3403e6b4f040370996e9c2b35d8d4 (diff)
Segregate interface require to make CI/CD entity processable
This commit segregates interface that is require to make CI/CD entity processable, like `Ci::Build`. With this change it is not clear and explicit what methods need to be implement to pass an object to pipeline processing service.
Diffstat (limited to 'app/models/ci/build.rb')
-rw-r--r--app/models/ci/build.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/ci/build.rb b/app/models/ci/build.rb
index cfdb3c0d719..304588a417a 100644
--- a/app/models/ci/build.rb
+++ b/app/models/ci/build.rb
@@ -3,6 +3,7 @@
module Ci
class Build < CommitStatus
prepend ArtifactMigratable
+ include Ci::Processable
include TokenAuthenticatable
include AfterCommitQueue
include ObjectStorage::BackgroundMove