summaryrefslogtreecommitdiff
path: root/spec/factories
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-01-18 00:24:03 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-01-18 00:24:03 +0000
commitcfa5faaae0d9ac9a3c1fafb1a41e07b298029f48 (patch)
treeb7ce1807d00c85cb94cbdc4a031562623e5343d6 /spec/factories
parentab5b519cca2356dd2b84a7fffc6ddbd6dc43a0ab (diff)
downloadgitlab-ce-cfa5faaae0d9ac9a3c1fafb1a41e07b298029f48.tar.gz
Add latest changes from gitlab-org/gitlab@14-6-stable-ee
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/ci/builds.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/factories/ci/builds.rb b/spec/factories/ci/builds.rb
index 98023334894..e6eaebc9b6b 100644
--- a/spec/factories/ci/builds.rb
+++ b/spec/factories/ci/builds.rb
@@ -5,6 +5,7 @@ FactoryBot.define do
name { 'test' }
add_attribute(:protected) { false }
created_at { 'Di 29. Okt 09:50:00 CET 2013' }
+ scheduling_type { 'stage' }
pending
options do
@@ -33,6 +34,8 @@ FactoryBot.define do
end
trait :dependent do
+ scheduling_type { 'dag' }
+
transient do
sequence(:needed_name) { |n| "dependency #{n}" }
needed { association(:ci_build, name: needed_name, pipeline: pipeline) }