Skip to content
Snippets Groups Projects
Commit 4691fd02 authored by blackst0ne's avatar blackst0ne
Browse files

Fix seeds

parent ddd2a256
No related branches found
No related tags found
1 merge request!10495Merge Requests - Assignee
require './spec/support/sidekiq'
 
perform_enqueued_jobs do
Sidekiq::Testing.inline! do
Gitlab::Seeder.quiet do
project_urls = [
'https://gitlab.com/gitlab-org/gitlab-test.git',
Loading
Loading
require './spec/support/sidekiq'
 
perform_enqueued_jobs do
Sidekiq::Testing.inline! do
Gitlab::Seeder.quiet do
Group.all.each do |group|
User.all.sample(4).each do |user|
Loading
Loading
Loading
Loading
@@ -78,7 +78,7 @@ class Gitlab::Seeder::CycleAnalytics
 
def seed!
Sidekiq::Worker.skipping_transaction_check do
perform_enqueued_jobs do
Sidekiq::Testing.inline! do
issues = create_issues
puts '.'
 
Loading
Loading
require './spec/support/sidekiq'
 
perform_enqueued_jobs do
Sidekiq::Testing.inline! do
Gitlab::Seeder.quiet do
flag = 'SEED_NESTED_GROUPS'
 
Loading
Loading
Loading
Loading
@@ -11,7 +11,7 @@ class Gitlab::Seeder::LabeledIssues
end
 
def seed!
perform_enqueued_jobs do
Sidekiq::Testing.inline! do
group = create_group
 
create_projects(group)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment