diff options
author | Reuben Pereira <rpereira@gitlab.com> | 2019-08-30 19:17:50 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-08-30 19:17:50 +0300 |
commit | c7669395528bb01ed7d263e806ff74e5dec2fd97 (patch) | |
tree | c13676e407852fed48a578498c6a0c194d9309c3 /db/fixtures | |
parent | a0a6a2fd89bcc9bd16c9d00dee2076eb2169968e (diff) |
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.
Diffstat (limited to 'db/fixtures')
-rw-r--r-- | db/fixtures/development/98_gitlab_instance_administration_project.rb | 3 | ||||
-rw-r--r-- | db/fixtures/production/998_gitlab_instance_administration_project.rb | 3 |
2 files changed, 6 insertions, 0 deletions
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! |