summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2018-09-04 11:55:45 +0200
committerKamil Trzciński <ayufan@ayufan.eu>2018-09-04 12:19:23 +0200
commit19854160bced2150224976332e9ee62171f28d72 (patch)
tree18c7d77c76245a00161d6eb290656a92cc5f0ac1
parentce3d98f7498a3afdfaa57ae58305d9112aa7a731 (diff)
downloadgitlab-ce-19854160bced2150224976332e9ee62171f28d72.tar.gz
Fix import/export
-rw-r--r--lib/gitlab/import_export/import_export.yml4
-rw-r--r--spec/lib/gitlab/import_export/all_models.yml3
2 files changed, 7 insertions, 0 deletions
diff --git a/lib/gitlab/import_export/import_export.yml b/lib/gitlab/import_export/import_export.yml
index f69f98a78a3..f030edc7d22 100644
--- a/lib/gitlab/import_export/import_export.yml
+++ b/lib/gitlab/import_export/import_export.yml
@@ -64,6 +64,7 @@ project_tree:
- :create_access_levels
- :project_feature
- :custom_attributes
+ - :prometheus_metrics
- :project_badges
- :ci_cd_settings
@@ -108,6 +109,9 @@ excluded_attributes:
- :remote_mirror_available_overridden
- :description_html
- :repository_languages
+ prometheus_metrics:
+ - :common
+ - :identifier
snippets:
- :expired_at
merge_request_diff:
diff --git a/spec/lib/gitlab/import_export/all_models.yml b/spec/lib/gitlab/import_export/all_models.yml
index b4269bd5786..2412cc3010a 100644
--- a/spec/lib/gitlab/import_export/all_models.yml
+++ b/spec/lib/gitlab/import_export/all_models.yml
@@ -288,6 +288,7 @@ project:
- fork_network_member
- fork_network
- custom_attributes
+- prometheus_metrics
- lfs_file_locks
- project_badges
- source_of_merge_requests
@@ -303,6 +304,8 @@ award_emoji:
- user
priorities:
- label
+prometheus_metrics:
+- project
timelogs:
- issue
- merge_request