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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
4691fd02
Commit
4691fd02
authored
Jul 23, 2018
by
blackst0ne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix seeds
parent
ddd2a256
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
db/fixtures/development/04_project.rb
db/fixtures/development/04_project.rb
+1
-1
db/fixtures/development/06_teams.rb
db/fixtures/development/06_teams.rb
+1
-1
db/fixtures/development/17_cycle_analytics.rb
db/fixtures/development/17_cycle_analytics.rb
+1
-1
db/fixtures/development/20_nested_groups.rb
db/fixtures/development/20_nested_groups.rb
+1
-1
db/fixtures/development/22_labeled_issues_seed.rb
db/fixtures/development/22_labeled_issues_seed.rb
+1
-1
No files found.
db/fixtures/development/04_project.rb
View file @
4691fd02
require
'./spec/support/sidekiq'
require
'./spec/support/sidekiq'
perform_enqueued_jobs
do
Sidekiq
::
Testing
.
inline!
do
Gitlab
::
Seeder
.
quiet
do
Gitlab
::
Seeder
.
quiet
do
project_urls
=
[
project_urls
=
[
'https://gitlab.com/gitlab-org/gitlab-test.git'
,
'https://gitlab.com/gitlab-org/gitlab-test.git'
,
...
...
db/fixtures/development/06_teams.rb
View file @
4691fd02
require
'./spec/support/sidekiq'
require
'./spec/support/sidekiq'
perform_enqueued_jobs
do
Sidekiq
::
Testing
.
inline!
do
Gitlab
::
Seeder
.
quiet
do
Gitlab
::
Seeder
.
quiet
do
Group
.
all
.
each
do
|
group
|
Group
.
all
.
each
do
|
group
|
User
.
all
.
sample
(
4
).
each
do
|
user
|
User
.
all
.
sample
(
4
).
each
do
|
user
|
...
...
db/fixtures/development/17_cycle_analytics.rb
View file @
4691fd02
...
@@ -78,7 +78,7 @@ class Gitlab::Seeder::CycleAnalytics
...
@@ -78,7 +78,7 @@ class Gitlab::Seeder::CycleAnalytics
def
seed!
def
seed!
Sidekiq
::
Worker
.
skipping_transaction_check
do
Sidekiq
::
Worker
.
skipping_transaction_check
do
perform_enqueued_jobs
do
Sidekiq
::
Testing
.
inline!
do
issues
=
create_issues
issues
=
create_issues
puts
'.'
puts
'.'
...
...
db/fixtures/development/20_nested_groups.rb
View file @
4691fd02
require
'./spec/support/sidekiq'
require
'./spec/support/sidekiq'
perform_enqueued_jobs
do
Sidekiq
::
Testing
.
inline!
do
Gitlab
::
Seeder
.
quiet
do
Gitlab
::
Seeder
.
quiet
do
flag
=
'SEED_NESTED_GROUPS'
flag
=
'SEED_NESTED_GROUPS'
...
...
db/fixtures/development/22_labeled_issues_seed.rb
View file @
4691fd02
...
@@ -11,7 +11,7 @@ class Gitlab::Seeder::LabeledIssues
...
@@ -11,7 +11,7 @@ class Gitlab::Seeder::LabeledIssues
end
end
def
seed!
def
seed!
perform_enqueued_jobs
do
Sidekiq
::
Testing
.
inline!
do
group
=
create_group
group
=
create_group
create_projects
(
group
)
create_projects
(
group
)
...
...
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