Extract EE specific files/lines for lib/gitlab/import_export
We have the following files containing EE specific code. We should move them to ee/
lib/gitlab/import_export/import_export.yml
diff --git a/lib/gitlab/import_export/import_export.yml b/home/yorickpeterse/Projects/gitlab/gdk-ee/gitlab/lib/gitlab/import_export/import_export.yml
index fa54fc17d95..79668a4e4c8 100644
--- a/lib/gitlab/import_export/import_export.yml
+++ b/home/yorickpeterse/Projects/gitlab/gdk-ee/gitlab/lib/gitlab/import_export/import_export.yml
@@ -66,6 +66,9 @@ project_tree:
- protected_branches:
- :merge_access_levels
- :push_access_levels
+ - :unprotect_access_levels
+ - protected_environments:
+ - :deploy_access_levels
- protected_tags:
- :create_access_levels
- :project_feature
@@ -112,10 +115,18 @@ excluded_attributes:
- :last_activity_at
- :last_repository_updated_at
- :last_repository_check_at
+ - :mirror_user_id
+ - :mirror_trigger_builds
- :storage_version
- :remote_mirror_available_overridden
+ - :only_mirror_protected_branches
+ - :pull_mirror_available_overridden
+ - :mirror_overwrites_diverged_branches
- :description_html
- :repository_languages
+ - :packages_enabled
+ - :mirror_last_update_at
+ - :mirror_last_successful_update_at
- :bfg_object_map
namespaces:
- :runners_token
@@ -123,6 +134,8 @@ excluded_attributes:
project_import_state:
- :last_error
- :jid
+ - :last_update_at
+ - :last_successful_update_at
prometheus_metrics:
- :common
- :identifier
Per https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10430#note_156092283, we need to backport the changes EE makes to `lib/gitlab/import_export/import_export.yml` to CE. This requires that we first backport the EE schema to CE, otherwise many tests will fail.
⚠ Blocked by
Edited by Yorick Peterse