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:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-12-21 03:10:18 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-12-21 03:10:18 +0300
commitb6ecd9d9d48e22966bf09358303bff295beaa2d8 (patch)
tree3df771cdb949945880a0d8a1d89e511bd99db066 /spec/factories/ci
parentef5bb32f95e10ce5ba3bf991d2315e352b1c5dc5 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories/ci')
-rw-r--r--spec/factories/ci/builds.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/factories/ci/builds.rb b/spec/factories/ci/builds.rb
index c3d6e9d7569..24abad66530 100644
--- a/spec/factories/ci/builds.rb
+++ b/spec/factories/ci/builds.rb
@@ -486,6 +486,14 @@ FactoryBot.define do
end
end
+ trait :non_public_artifacts do
+ options do
+ {
+ artifacts: { public: false }
+ }
+ end
+ end
+
trait :non_playable do
status { 'created' }
self.when { 'manual' }