summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/models/ci/pipeline.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/ci/pipeline.rb b/app/models/ci/pipeline.rb
index 9bd9cc8c8b3..083c4e13728 100644
--- a/app/models/ci/pipeline.rb
+++ b/app/models/ci/pipeline.rb
@@ -12,7 +12,6 @@ module Ci
include AtomicInternalId
include EnumWithNil
include HasRef
- include ShaAttribute
belongs_to :project, inverse_of: :all_pipelines
belongs_to :user
@@ -64,9 +63,6 @@ module Ci
validate :valid_commit_sha, unless: :importing?
validates :source, exclusion: { in: %w(unknown), unless: :importing? }, on: :create
- sha_attribute :source_sha
- sha_attribute :target_sha
-
after_create :keep_around_commits, unless: :importing?
# We use `Ci::PipelineEnums.sources` here so that EE can more easily extend