summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2018-09-04 12:32:38 +0200
committerKamil Trzciński <ayufan@ayufan.eu>2018-09-04 16:12:50 +0200
commit0360671c55969d159e03e3b661906cbaa66c8f2e (patch)
treed4b5a0f63174e6f758302763e666170c8dde5cf0
parenta86dc660f5fd9ea15db963ed1e8c6188f663784a (diff)
downloadgitlab-ce-0360671c55969d159e03e3b661906cbaa66c8f2e.tar.gz
Remove validation
-rw-r--r--app/models/ci/build_metadata.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/ci/build_metadata.rb b/app/models/ci/build_metadata.rb
index ee15f0856cd..4a0e9b61edb 100644
--- a/app/models/ci/build_metadata.rb
+++ b/app/models/ci/build_metadata.rb
@@ -16,7 +16,6 @@ module Ci
before_create :set_build_project
validates :build, presence: true
- validates :project, presence: true
serialize :yaml_options # rubocop:disable Cop/ActiveRecordSerialize
serialize :yaml_variables, Gitlab::Serializer::Ci::Variables # rubocop:disable Cop/ActiveRecordSerialize