From c7669395528bb01ed7d263e806ff74e5dec2fd97 Mon Sep 17 00:00:00 2001 From: Reuben Pereira Date: Fri, 30 Aug 2019 16:17:50 +0000 Subject: Add production fixture to create project Since migrations are not run by new instances, add a production fixture that should ensure that the self-monitoring project is created for new instances as well. --- db/fixtures/development/98_gitlab_instance_administration_project.rb | 3 +++ db/fixtures/production/998_gitlab_instance_administration_project.rb | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 db/fixtures/development/98_gitlab_instance_administration_project.rb create mode 100644 db/fixtures/production/998_gitlab_instance_administration_project.rb diff --git a/db/fixtures/development/98_gitlab_instance_administration_project.rb b/db/fixtures/development/98_gitlab_instance_administration_project.rb new file mode 100644 index 00000000000..6cf3ae95cee --- /dev/null +++ b/db/fixtures/development/98_gitlab_instance_administration_project.rb @@ -0,0 +1,3 @@ +# frozen_string_literal: true + +::Gitlab::DatabaseImporters::SelfMonitoring::Project::CreateService.new.execute! diff --git a/db/fixtures/production/998_gitlab_instance_administration_project.rb b/db/fixtures/production/998_gitlab_instance_administration_project.rb new file mode 100644 index 00000000000..6cf3ae95cee --- /dev/null +++ b/db/fixtures/production/998_gitlab_instance_administration_project.rb @@ -0,0 +1,3 @@ +# frozen_string_literal: true + +::Gitlab::DatabaseImporters::SelfMonitoring::Project::CreateService.new.execute! -- cgit v1.2.1