summaryrefslogtreecommitdiff
path: root/db/fixtures
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-07-04 09:09:31 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-07-04 09:09:31 +0000
commit54cd986c9f16b5f7587b072ee8eb84bbf6642e8c (patch)
treec1ce6fbbcb3c9b90132e8459044ac06d255c54a9 /db/fixtures
parent529d16eb9ca2b5fd437fbd9518a3f88f0429cb3a (diff)
downloadgitlab-ce-54cd986c9f16b5f7587b072ee8eb84bbf6642e8c.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db/fixtures')
-rw-r--r--db/fixtures/development/33_triage_ops.rb48
1 files changed, 25 insertions, 23 deletions
diff --git a/db/fixtures/development/33_triage_ops.rb b/db/fixtures/development/33_triage_ops.rb
index aaf92315125..b2dd3861169 100644
--- a/db/fixtures/development/33_triage_ops.rb
+++ b/db/fixtures/development/33_triage_ops.rb
@@ -11,29 +11,31 @@ class Gitlab::Seeder::TriageOps
puts "Updating settings to allow web hooks to localhost"
ApplicationSetting.current_without_cache.update!(allow_local_requests_from_web_hooks_and_services: true)
- Sidekiq::Testing.inline! do
- puts "Ensuring required groups"
- ensure_group('gitlab-com')
- ensure_group('gitlab-com/gl-security/appsec')
- ensure_group('gitlab-jh/jh-team')
- ensure_group('gitlab-org')
- ensure_group('gitlab-org/gitlab-core-team/community-members')
- ensure_group('gitlab-org/security')
-
- puts "Ensuring required projects"
- ensure_project('gitlab-org/gitlab')
- ensure_project('gitlab-org/security/gitlab')
-
- puts "Ensuring required bot user"
- ensure_bot_user
-
- puts "Setting up webhooks"
- ensure_webhook_for('gitlab-com')
- ensure_webhook_for('gitlab-org')
-
- puts "Ensuring work type labels"
- ensure_work_type_labels_for('gitlab-com')
- ensure_work_type_labels_for('gitlab-org')
+ Sidekiq::Worker.skipping_transaction_check do
+ Sidekiq::Testing.inline! do
+ puts "Ensuring required groups"
+ ensure_group('gitlab-com')
+ ensure_group('gitlab-com/gl-security/appsec')
+ ensure_group('gitlab-jh/jh-team')
+ ensure_group('gitlab-org')
+ ensure_group('gitlab-org/gitlab-core-team/community-members')
+ ensure_group('gitlab-org/security')
+
+ puts "Ensuring required projects"
+ ensure_project('gitlab-org/gitlab')
+ ensure_project('gitlab-org/security/gitlab')
+
+ puts "Ensuring required bot user"
+ ensure_bot_user
+
+ puts "Setting up webhooks"
+ ensure_webhook_for('gitlab-com')
+ ensure_webhook_for('gitlab-org')
+
+ puts "Ensuring work type labels"
+ ensure_work_type_labels_for('gitlab-com')
+ ensure_work_type_labels_for('gitlab-org')
+ end
end
end