Commit f9b33692 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis Committed by Rémy Coutable

Enable ee-specific-check for docs

parent a8a36a36
......@@ -103,7 +103,6 @@ flaky-examples-check:
- /[\d-]+-stable(-ee)?/
- /^security-/
- /\bce\-to\-ee\b/
- /(^docs[\/-].*|.*-docs$)/
ee-files-location-check:
<<: *ee-specific-check
......
......@@ -5,13 +5,229 @@ module EESpecificCheck
WHITELIST = [
'CHANGELOG-EE.md',
'config/**/*', # https://gitlab.com/gitlab-org/gitlab-ee/issues/4946
'doc/**/*', # https://gitlab.com/gitlab-org/gitlab-ee/issues/4948#note_59945483
'qa/**/*', # https://gitlab.com/gitlab-org/gitlab-ee/issues/4997#note_59764702
'scripts/**/*',
'vendor/assets/javascripts/jasmine-jquery.js',
'.gitlab-ci.yml',
'db/schema.rb',
'locale/gitlab.pot'
'locale/gitlab.pot',
##
## List all directories under doc/. This is for the single codebase effort.
## Once an EE dir/doc is moved to CE, comment the relevant entry below.
## See https://gitlab.com/groups/gitlab-org/-/epics/199#ee-specific-lines-check
## for more information.
##
'doc/*.md',
'doc/administration/*.md',
'doc/administration/auth/**/*',
'doc/administration/auth/how_to_configure_ldap_gitlab_ce/**/*',
'doc/administration/auth/how_to_configure_ldap_gitlab_ee/**/*',
'doc/administration/geo/**/*',
'doc/administration/geo/disaster_recovery/**/*',
'doc/administration/geo/replication/**/*',
'doc/administration/gitaly/**/*',
'doc/administration/high_availability/**/*',
'doc/administration/integration/**/*',
'doc/administration/monitoring/**/*',
'doc/administration/monitoring/performance/**/*',
'doc/administration/monitoring/prometheus/**/*',
'doc/administration/operations/**/*',
'doc/administration/pages/**/*',
'doc/administration/raketasks/**/*',
'doc/administration/raketasks/uploads/**/*',
'doc/administration/troubleshooting/**/*',
'doc/analytics/**/*',
'doc/api/*.md',
'doc/api/graphql/**/*',
'doc/api/releases/**/*',
'doc/api/templates/**/*',
'doc/articles/*.md',
'doc/articles/artifactory_and_gitlab/**/*',
'doc/articles/how_to_configure_ldap_gitlab_ce/**/*',
'doc/articles/how_to_configure_ldap_gitlab_ee/**/*',
'doc/articles/how_to_install_git/**/*',
'doc/articles/laravel_with_gitlab_and_envoy/**/*',
'doc/articles/numerous_undo_possibilities_in_git/**/*',
'doc/articles/openshift_and_gitlab/**/*',
'doc/articles/runner_autoscale_aws/**/*',
'doc/ci/*.md',
'doc/ci/autodeploy/**/*',
'doc/ci/build_artifacts/**/*',
'doc/ci/caching/**/*',
'doc/ci/chatops/**/*',
'doc/ci/ci_cd_for_external_repos/**/*',
'doc/ci/docker/**/*',
'doc/ci/environments/**/*',
'doc/ci/examples/*.md',
'doc/ci/examples/artifactory_and_gitlab/**/*',
'doc/ci/examples/deploy_spring_boot_to_cloud_foundry/**/*',
'doc/ci/examples/deployment/**/*',
'doc/ci/examples/devops_and_game_dev_with_gitlab_ci_cd/**/*',
'doc/ci/examples/end_to_end_testing_webdriverio/**/*',
'doc/ci/examples/laravel_with_gitlab_and_envoy/**/*',
'doc/ci/examples/test_phoenix_app_with_gitlab_ci_cd/**/*',
'doc/ci/interactive_web_terminal/**/*',
'doc/ci/introduction/**/*',
'doc/ci/large_repositories/**/*',
'doc/ci/merge_request_pipelines/**/*',
'doc/ci/permissions/**/*',
'doc/ci/quick_start/**/*',
'doc/ci/review_apps/**/*',
'doc/ci/runners/**/*',
'doc/ci/services/**/*',
'doc/ci/ssh_keys/**/*',
'doc/ci/triggers/**/*',
'doc/ci/variables/**/*',
'doc/ci/yaml/**/*',
'doc/container_registry/**/*',
'doc/customization/**/*',
'doc/customization/branded_login_page/**/*',
'doc/customization/branded_page_and_email_header/**/*',
'doc/customization/favicon/**/*',
'doc/customization/help_message/**/*',
'doc/customization/new_project_page/**/*',
'doc/customization/system_header_and_footer_messages/**/*',
'doc/development/*.md',
'doc/development/contributing/**/*',
'doc/development/documentation/**/*',
'doc/development/documentation/site_architecture/**/*',
'doc/development/fe_guide/**/*',
'doc/development/fe_guide/droplab/**/*',
'doc/development/fe_guide/droplab/plugins/**/*',
'doc/development/go_guide/**/*',
'doc/development/i18n/**/*',
'doc/development/integrations/**/*',
'doc/development/new_fe_guide/**/*',
'doc/development/new_fe_guide/development/**/*',
'doc/development/new_fe_guide/modules/**/*',
'doc/development/new_fe_guide/style/**/*',
'doc/development/python_guide/**/*',
'doc/development/testing_guide/**/*',
'doc/development/ux_guide/**/*',
'doc/downgrade_ee_to_ce/**/*',
'doc/getting-started/**/*',
'doc/git_hooks/**/*',
'doc/gitlab-basics/**/*',
'doc/gitlab-geo/**/*',
'doc/hooks/**/*',
'doc/incoming_email/**/*',
'doc/install/*.md',
'doc/install/aws/**/*',
'doc/install/azure/**/*',
'doc/install/google_cloud_platform/**/*',
'doc/install/kubernetes/**/*',
'doc/install/kubernetes/preparation/**/*',
'doc/install/openshift_and_gitlab/**/*',
'doc/install/pivotal/**/*',
'doc/integration/**/*',
'doc/integration/ldap/**/*',
'doc/intro/**/*',
'doc/legal/**/*',
'doc/license/**/*',
'doc/logs/**/*',
'doc/markdown/**/*',
'doc/migrate_ci_to_ce/**/*',
'doc/monitoring/*.md',
'doc/monitoring/performance/**/*',
'doc/operations/**/*',
'doc/pages/**/*',
'doc/permissions/**/*',
'doc/policy/**/*',
'doc/profile/**/*',
'doc/project_services/**/*',
'doc/public_access/**/*',
'doc/push_rules/**/*',
'doc/raketasks/**/*',
'doc/security/**/*',
'doc/ssh/**/*',
'doc/subscriptions/**/*',
'doc/system_hooks/**/*',
'doc/tools/**/*',
'doc/topics/*.md',
'doc/topics/authentication/**/*',
'doc/topics/autodevops/**/*',
'doc/topics/git/*.md',
'doc/topics/git/how_to_install_git/**/*',
'doc/topics/git/numerous_undo_possibilities_in_git/**/*',
'doc/university/*.md',
'doc/university/bookclub/**/*',
'doc/university/glossary/**/*',
'doc/university/high-availability/**/*',
'doc/university/high-availability/aws/**/*',
'doc/university/process/**/*',
'doc/university/support/**/*',
'doc/university/training/**/*',
'doc/university/training/end-user/**/*',
'doc/university/training/gitlab_flow/**/*',
'doc/university/training/topics/**/*',
'doc/update/**/*',
'doc/user/*.md',
'doc/user/account/**/*',
'doc/user/admin_area/*.md',
'doc/user/admin_area/monitoring/**/*',
'doc/user/admin_area/settings/**/*',
'doc/user/application_security/*.md',
'doc/user/application_security/container_scanning/**/*',
'doc/user/application_security/dast/**/*',
'doc/user/application_security/dependency_scanning/**/*',
'doc/user/application_security/license_management/**/*',
'doc/user/application_security/sast/**/*',
'doc/user/application_security/security_dashboard/**/*',
'doc/user/discussions/**/*',
'doc/user/gitlab_com/**/*',
'doc/user/group/*.md',
'doc/user/group/clusters/**/*',
'doc/user/group/contribution_analytics/**/*',
'doc/user/group/epics/**/*',
'doc/user/group/insights/**/*',
'doc/user/group/issues_analytics/**/*',
'doc/user/group/roadmap/**/*',
'doc/user/group/saml_sso/**/*',
'doc/user/group/security_dashboard/**/*',
'doc/user/group/subgroups/**/*',
'doc/user/instance_statistics/**/*',
'doc/user/operations_dashboard/**/*',
'doc/user/profile/*.md',
'doc/user/profile/account/**/*',
'doc/user/project/*.md',
'doc/user/project/builds/**/*',
'doc/user/project/clusters/*.md',
'doc/user/project/clusters/eks_and_gitlab/**/*',
'doc/user/project/clusters/runbooks/**/*',
'doc/user/project/clusters/serverless/**/*',
'doc/user/project/deploy_tokens/**/*',
'doc/user/project/gpg_signed_commits/**/*',
'doc/user/project/import/**/*',
'doc/user/project/insights/**/*',
'doc/user/project/integrations/*.md',
'doc/user/project/integrations/prometheus_library/**/*',
'doc/user/project/integrations/samples/**/*',
'doc/user/project/issues/**/*',
'doc/user/project/members/**/*',
'doc/user/project/merge_requests/**/*',
'doc/user/project/milestones/**/*',
'doc/user/project/operations/**/*',
'doc/user/project/packages/**/*',
'doc/user/project/pages/**/*',
'doc/user/project/pipelines/**/*',
'doc/user/project/releases/**/*',
'doc/user/project/repository/*.md',
'doc/user/project/repository/branches/**/*',
'doc/user/project/repository/gpg_signed_commits/**/*',
'doc/user/project/settings/**/*',
'doc/user/project/web_ide/**/*',
'doc/user/project/wiki/**/*',
'doc/user/search/**/*',
'doc/web_hooks/**/*',
'doc/workflow/*.md',
'doc/workflow/add-user/**/*',
'doc/workflow/forking/**/*',
'doc/workflow/importing/**/*',
'doc/workflow/issue_weight/**/*',
'doc/workflow/lfs/**/*',
'doc/workflow/lfs/images/**/*',
'doc/workflow/releases/**/*',
'doc/workflow/time-tracking/**/*'
].freeze
CompareBase = Struct.new(:ce_base, :ee_base, :ce_head, :ee_head)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment