diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-01-22 13:54:59 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-01-25 10:36:59 +0100 |
commit | 76e7b19c8158bcf000db8575f958161a232d643e (patch) | |
tree | 120121eac1724c651760151a4efa21ee7e278821 /app/models/ci/build.rb | |
parent | 9f26729af5a3403e6b4f040370996e9c2b35d8d4 (diff) | |
download | gitlab-ce-76e7b19c8158bcf000db8575f958161a232d643e.tar.gz |
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.rb | 1 |
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 |