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
a4064c14
Commit
a4064c14
authored
Apr 05, 2017
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix create_merge_request_review_deployments
parent
8b78e8a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
db/fixtures/development/19_environments.rb
db/fixtures/development/19_environments.rb
+3
-1
No files found.
db/fixtures/development/19_environments.rb
View file @
a4064c14
...
...
@@ -28,7 +28,9 @@ class Gitlab::Seeder::Environments
end
def
create_merge_request_review_deployments!
@project
.
merge_requests
.
sample
(
2
).
map
do
|
merge_request
|
@project
.
merge_requests
.
sample
(
4
).
map
do
|
merge_request
|
next
unless
merge_request
.
diff_head_sha
create_deployment!
(
merge_request
.
source_project
,
"review/
#{
merge_request
.
source_branch
}
"
,
...
...
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