Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
c5606088
Commit
c5606088
authored
Oct 22, 2019
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix broken fixture 25_downstream_pipelines
parent
68e1d5f6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
ee/db/fixtures/development/25_downstream_pipelines.rb
ee/db/fixtures/development/25_downstream_pipelines.rb
+4
-0
No files found.
ee/db/fixtures/development/25_downstream_pipelines.rb
View file @
c5606088
...
...
@@ -9,6 +9,10 @@ Gitlab::Seeder.quiet do
.
where
.
not
(
project:
project
)
.
order
(
'random()'
).
first
# If the number of created projects is 1 (i.e. env['SIZE'] == 1),
# a target pipeline becomes nil.
next
unless
target_pipeline
# link to source pipeline
pipeline
.
sourced_pipelines
.
create!
(
source_job:
pipeline
.
builds
.
all
.
sample
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment