New upstream version 15.1.3+ds1
This commit is contained in:
parent
ab4c4f2568
commit
070252e62e
5217 changed files with 265254 additions and 151321 deletions
|
@ -9,4 +9,3 @@
|
|||
/sitespeed-result/
|
||||
/fixtures/**/*.graphql
|
||||
spec/fixtures/**/*.graphql
|
||||
**/contracts/consumer/
|
||||
|
|
|
@ -26,6 +26,12 @@ rules:
|
|||
- _links
|
||||
import/no-unresolved:
|
||||
- error
|
||||
- ignore:
|
||||
# In FOSS, these import paths are rewritten using
|
||||
# NormalModuleReplacementPlugin, which import/no-unresolved doesn't
|
||||
# consider. See
|
||||
# https://gitlab.com/gitlab-org/gitlab/-/merge_requests/89831.
|
||||
- '^(ee|jh)_component/'
|
||||
# Disabled for now, to make the airbnb-base 12.1.0 -> 13.1.0 update smoother
|
||||
no-else-return:
|
||||
- error
|
||||
|
@ -108,6 +114,8 @@ rules:
|
|||
message: 'Migrate to GlSkeletonLoader, or import GlDeprecatedSkeletonLoading.'
|
||||
# See https://gitlab.com/gitlab-org/gitlab/-/issues/360551
|
||||
vue/multi-word-component-names: off
|
||||
unicorn/prefer-dom-node-dataset:
|
||||
- error
|
||||
overrides:
|
||||
- files:
|
||||
- '{,ee/,jh/}spec/frontend*/**/*'
|
||||
|
|
|
@ -44,6 +44,7 @@ workflow:
|
|||
# For the 2-hourly scheduled pipelines, we set specific variables.
|
||||
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "schedule" && $FREQUENCY == "2-hourly"'
|
||||
variables:
|
||||
RUBY_VERSION: "2.7"
|
||||
CRYSTALBALL: "true"
|
||||
# For `$CI_DEFAULT_BRANCH` branch, create a pipeline (this includes on schedules, pushes, merges, etc.).
|
||||
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
||||
|
@ -59,11 +60,12 @@ workflow:
|
|||
|
||||
variables:
|
||||
PG_VERSION: "12"
|
||||
DEFAULT_CI_IMAGE: "${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images:debian-${DEBIAN_VERSION}-ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-97-node-16.14-yarn-1.22-postgresql-${PG_VERSION}-graphicsmagick-1.3.36"
|
||||
DEFAULT_CI_IMAGE: "${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images/debian-${DEBIAN_VERSION}-ruby-${RUBY_VERSION}.patched-golang-1.17-node-16.14-postgresql-${PG_VERSION}:git-2.36-lfs-2.9-chrome-${CHROME_VERSION}-yarn-1.22-graphicsmagick-1.3.36"
|
||||
RAILS_ENV: "test"
|
||||
NODE_ENV: "test"
|
||||
BUNDLE_WITHOUT: "production:development"
|
||||
BUNDLE_INSTALL_FLAGS: "--jobs=$(nproc) --retry=3 --quiet"
|
||||
BUNDLE_FROZEN: "true"
|
||||
# we override the max_old_space_size to prevent OOM errors
|
||||
NODE_OPTIONS: --max_old_space_size=3584
|
||||
GIT_DEPTH: "20"
|
||||
|
@ -72,6 +74,9 @@ variables:
|
|||
GIT_SUBMODULE_STRATEGY: "none"
|
||||
GET_SOURCES_ATTEMPTS: "3"
|
||||
DEBIAN_VERSION: "bullseye"
|
||||
CHROME_VERSION: "101"
|
||||
DOCKER_VERSION: "20.10.14"
|
||||
RUBY_VERSION: "2.7"
|
||||
|
||||
TMP_TEST_FOLDER: "${CI_PROJECT_DIR}/tmp/tests"
|
||||
GITLAB_WORKHORSE_FOLDER: "gitlab-workhorse"
|
||||
|
@ -88,7 +93,6 @@ variables:
|
|||
|
||||
ES_JAVA_OPTS: "-Xms256m -Xmx256m"
|
||||
ELASTIC_URL: "http://elastic:changeme@elasticsearch:9200"
|
||||
DOCKER_VERSION: "20.10.1"
|
||||
CACHE_CLASSES: "true"
|
||||
CHECK_PRECOMPILED_ASSETS: "true"
|
||||
FF_USE_FASTZIP: "true"
|
||||
|
|
|
@ -137,7 +137,7 @@ Dangerfile @gl-quality/eng-prod
|
|||
/app/assets/javascripts/notes @viktomas @jboyson @iamphill @thomasrandolph
|
||||
/app/assets/javascripts/merge_conflicts @viktomas @jboyson @iamphill @thomasrandolph
|
||||
/app/assets/javascripts/mr_notes @viktomas @jboyson @iamphill @thomasrandolph
|
||||
/app/assets/javascripts/mr_popover @viktomas @jboyson @iamphill @thomasrandolph
|
||||
/app/assets/javascripts/issuable/popover @viktomas @jboyson @iamphill @thomasrandolph
|
||||
/app/assets/javascripts/vue_merge_request_widget @viktomas @jboyson @iamphill @thomasrandolph
|
||||
/app/assets/javascripts/merge_request.js @viktomas @jboyson @iamphill @thomasrandolph
|
||||
/app/assets/javascripts/merge_request_tabs.js @viktomas @jboyson @iamphill @thomasrandolph
|
||||
|
@ -175,8 +175,21 @@ Dangerfile @gl-quality/eng-prod
|
|||
^[Workhorse]
|
||||
/workhorse/ @jacobvosmaer-gitlab @nick.thomas @nolith @patrickbajao
|
||||
|
||||
^[Application Security]
|
||||
[Application Security]
|
||||
/app/assets/javascripts/lib/dompurify.js @gitlab-com/gl-security/appsec
|
||||
/app/assets/javascripts/gfm_auto_complete.js @gitlab-com/gl-security/appsec
|
||||
/ee/app/assets/javascripts/gfm_auto_complete.js @gitlab-com/gl-security/appsec
|
||||
/app/validators/addressable_url_validator.rb @gitlab-com/gl-security/appsec
|
||||
/app/validators/public_url_validator.rb @gitlab-com/gl-security/appsec
|
||||
/config/initializers/content_security_policy.rb @gitlab-com/gl-security/appsec
|
||||
/lib/gitlab/content_security_policy/ @gitlab-com/gl-security/appsec
|
||||
/lib/gitlab/http.rb @gitlab-com/gl-security/appsec
|
||||
/lib/gitlab/http_connection_adapter.rb @gitlab-com/gl-security/appsec
|
||||
/lib/gitlab/sanitizers @gitlab-com/gl-security/appsec
|
||||
/lib/gitlab/untrusted_regexp.rb @gitlab-com/gl-security/appsec
|
||||
/lib/gitlab/url_blocker.rb @gitlab-com/gl-security/appsec
|
||||
/lib/gitlab/url_blockers/ @gitlab-com/gl-security/appsec
|
||||
/lib/gitlab/utils.rb @gitlab-com/gl-security/appsec
|
||||
|
||||
^[Gitaly]
|
||||
lib/gitlab/git_access.rb @proglottis @toon @zj-gitlab
|
||||
|
@ -218,7 +231,7 @@ lib/gitlab/checks/** @proglottis @toon @zj-gitlab
|
|||
/doc/administration/index.md @axil
|
||||
/doc/administration/instance_limits.md @axil
|
||||
/doc/administration/instance_review.md @kpaizee
|
||||
/doc/administration/integration/kroki.md @kpaizee
|
||||
/doc/administration/integration/kroki.md @msedlakjakubowski
|
||||
/doc/administration/integration/mailgun.md @kpaizee
|
||||
/doc/administration/integration/plantuml.md @aqualls
|
||||
/doc/administration/integration/terminal.md @kpaizee
|
||||
|
@ -559,7 +572,7 @@ lib/gitlab/checks/** @proglottis @toon @zj-gitlab
|
|||
/doc/development/new_fe_guide/tips.md @sselhorn
|
||||
/doc/development/omnibus.md @axil
|
||||
/doc/development/ordering_table_columns.md @aqualls
|
||||
/doc/development/packages.md @claytoncornell
|
||||
/doc/development/packages/ @claytoncornell
|
||||
/doc/development/permissions.md @eread
|
||||
/doc/development/policies.md @eread
|
||||
/doc/development/product_qualified_lead_guide/index.md @kpaizee
|
||||
|
@ -591,6 +604,7 @@ lib/gitlab/checks/** @proglottis @toon @zj-gitlab
|
|||
/doc/gitlab-basics/ @aqualls
|
||||
/doc/install/ @axil
|
||||
/doc/integration/ @kpaizee
|
||||
/doc/integration/advanced_search/ @sselhorn
|
||||
/doc/integration/elasticsearch.md @sselhorn
|
||||
/doc/integration/gitpod.md @aqualls
|
||||
/doc/integration/kerberos.md @eread
|
||||
|
@ -619,6 +633,7 @@ lib/gitlab/checks/** @proglottis @toon @zj-gitlab
|
|||
/doc/topics/offline/index.md @axil
|
||||
/doc/topics/offline/quick_start_guide.md @axil
|
||||
/doc/topics/plan_and_track.md @msedlakjakubowski
|
||||
/doc/tutorials/ @kpaizee
|
||||
/doc/update/ @axil
|
||||
/doc/update/mysql_to_postgresql.md @aqualls
|
||||
/doc/update/upgrading_postgresql_using_slony.md @aqualls
|
||||
|
@ -770,7 +785,6 @@ lib/gitlab/checks/** @proglottis @toon @zj-gitlab
|
|||
/doc/user/project/settings/import_export.md @eread
|
||||
/doc/user/project/settings/index.md @fneill
|
||||
/doc/user/project/settings/project_access_tokens.md @eread
|
||||
/doc/user/project/static_site_editor/index.md @aqualls
|
||||
/doc/user/project/time_tracking.md @msedlakjakubowski
|
||||
/doc/user/project/web_ide/index.md @aqualls
|
||||
/doc/user/project/wiki/group.md @aqualls
|
||||
|
@ -780,7 +794,7 @@ lib/gitlab/checks/** @proglottis @toon @zj-gitlab
|
|||
/doc/user/reserved_names.md @fneill
|
||||
/doc/user/search/advanced_search.md @sselhorn
|
||||
/doc/user/search/global_search/advanced_search_syntax.md @sselhorn
|
||||
/doc/user/search/index.md @aqualls
|
||||
/doc/user/search/index.md @sselhorn
|
||||
/doc/user/shortcuts.md @aqualls
|
||||
/doc/user/snippets.md @aqualls
|
||||
/doc/user/ssh.md @eread
|
||||
|
@ -790,35 +804,34 @@ lib/gitlab/checks/** @proglottis @toon @zj-gitlab
|
|||
/doc/user/workspace/index.md @fneill
|
||||
|
||||
[Authentication and Authorization]
|
||||
/app/assets/javascripts/access_tokens @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/access_tokens/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/alerts_settings/graphql/mutations/reset_http_token.mutation.graphql @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/authentication @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/authentication/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/ide/components/shared/tokened_input.vue @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/invite_members/components/members_token_select.vue @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/logs/components/tokens @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/packages_and_registries/package_registry/components/list/tokens @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/pages/admin/impersonation_tokens @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/pages/groups/settings/access_tokens @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/pages/ldap @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/pages/oauth @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/pages/omniauth_callbacks @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/pages/profiles/password_prompt @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/pages/profiles/personal_access_tokens @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/pages/profiles/two_factor_auths @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/pages/projects/settings/access_tokens @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/logs/components/tokens/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/packages_and_registries/package_registry/components/list/tokens/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/pages/admin/impersonation_tokens/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/pages/groups/settings/access_tokens/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/pages/ldap/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/pages/oauth/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/pages/omniauth_callbacks/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/pages/profiles/password_prompt/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/pages/profiles/personal_access_tokens/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/pages/profiles/two_factor_auths/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/pages/projects/settings/access_tokens/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/pages/sessions/new/oauth_remember_me.js @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/pipelines/components/pipelines_list/tokens/constants.js @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/pipelines/components/pipelines_list/tokens/pipeline_branch_name_token.vue @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/pipelines/components/pipelines_list/tokens/pipeline_source_token.vue @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/pipelines/components/pipelines_list/tokens/pipeline_status_token.vue @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/pipelines/components/pipelines_list/tokens/pipeline_tag_name_token.vue @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/projects/settings/topics/components @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/projects/settings/topics/components/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/related_issues/components/issue_token.vue @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/runner/components/registration/registration_token.vue @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/runner/components/registration/registration_token_reset_dropdown_item.vue @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/runner/components/search_tokens @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/static_site_editor/rich_content_editor/services/renderers/build_uneditable_token.js @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/token_access/components @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/runner/components/search_tokens/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/token_access/components/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/javascripts/token_access/index.js @gitlab-org/manage/authentication-and-authorization
|
||||
/app/assets/stylesheets/page_bundles/profile_two_factor_auth.scss @gitlab-org/manage/authentication-and-authorization
|
||||
/app/controllers/admin/impersonation_tokens_controller.rb @gitlab-org/manage/authentication-and-authorization
|
||||
|
@ -833,8 +846,8 @@ lib/gitlab/checks/** @proglottis @toon @zj-gitlab
|
|||
/app/controllers/concerns/snippet_authorizations.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/controllers/concerns/workhorse_authorization.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/controllers/groups/settings/access_tokens_controller.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/controllers/ldap @gitlab-org/manage/authentication-and-authorization
|
||||
/app/controllers/oauth @gitlab-org/manage/authentication-and-authorization
|
||||
/app/controllers/ldap/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/controllers/oauth/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/controllers/omniauth_callbacks_controller.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/controllers/passwords_controller.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/controllers/profiles/passwords_controller.rb @gitlab-org/manage/authentication-and-authorization
|
||||
|
@ -842,7 +855,7 @@ lib/gitlab/checks/** @proglottis @toon @zj-gitlab
|
|||
/app/controllers/profiles/two_factor_auths_controller.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/controllers/profiles/webauthn_registrations_controller.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/controllers/projects/settings/access_tokens_controller.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/finders/groups/projects_requiring_authorizations_refresh @gitlab-org/manage/authentication-and-authorization
|
||||
/app/finders/groups/projects_requiring_authorizations_refresh/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/finders/personal_access_tokens_finder.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/helpers/access_tokens_helper.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/helpers/auth_helper.rb @gitlab-org/manage/authentication-and-authorization
|
||||
|
@ -851,7 +864,7 @@ lib/gitlab/checks/** @proglottis @toon @zj-gitlab
|
|||
/app/models/concerns/mirror_authentication.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/models/concerns/select_for_project_authorization.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/models/concerns/token_authenticatable.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/models/concerns/token_authenticatable_strategies @gitlab-org/manage/authentication-and-authorization
|
||||
/app/models/concerns/token_authenticatable_strategies/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/models/oauth_access_grant.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/models/oauth_access_token.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/models/personal_access_token.rb @gitlab-org/manage/authentication-and-authorization
|
||||
|
@ -860,22 +873,22 @@ lib/gitlab/checks/** @proglottis @toon @zj-gitlab
|
|||
/app/models/webauthn_registration.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/policies/personal_access_token_policy.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/services/access_token_validation_service.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/services/auth @gitlab-org/manage/authentication-and-authorization
|
||||
/app/services/authorized_project_update @gitlab-org/manage/authentication-and-authorization
|
||||
/app/services/auth/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/services/authorized_project_update/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/services/chat_names/authorize_user_service.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/services/personal_access_tokens @gitlab-org/manage/authentication-and-authorization
|
||||
/app/services/personal_access_tokens/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/services/projects/move_project_authorizations_service.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/services/resource_access_tokens @gitlab-org/manage/authentication-and-authorization
|
||||
/app/services/resource_access_tokens/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/services/todos/destroy/unauthorized_features_service.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/services/users/authorized_build_service.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/services/users/authorized_create_service.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/services/users/refresh_authorized_projects_service.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/services/webauthn @gitlab-org/manage/authentication-and-authorization
|
||||
/app/services/webauthn/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/validators/json_schemas/cluster_agent_authorization_configuration.json @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/admin/application_settings/_external_authorization_service_form.html.haml @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/admin/impersonation_tokens @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/authentication @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/ci/token_access @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/admin/impersonation_tokens/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/authentication/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/ci/token_access/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/dashboard/projects/_zero_authorized_projects.html.haml @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/devise/mailer/password_change.html.haml @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/devise/mailer/password_change.text.erb @gitlab-org/manage/authentication-and-authorization
|
||||
|
@ -883,17 +896,17 @@ lib/gitlab/checks/** @proglottis @toon @zj-gitlab
|
|||
/app/views/devise/mailer/password_change_by_admin.text.erb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/devise/mailer/reset_password_instructions.html.haml @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/devise/mailer/reset_password_instructions.text.erb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/devise/passwords @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/devise/passwords/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/devise/shared/_omniauth_box.html.haml @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/devise/shared/_signup_omniauth_provider_list.haml @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/devise/shared/_signup_omniauth_providers.haml @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/devise/shared/_signup_omniauth_providers_top.haml @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/doorkeeper/authorizations @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/doorkeeper/authorized_applications @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/doorkeeper/authorizations/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/doorkeeper/authorized_applications/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/errors/omniauth_error.html.haml @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/groups/settings/_resource_access_token_creation.html.haml @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/groups/settings/_two_factor_auth.html.haml @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/groups/settings/access_tokens @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/groups/settings/access_tokens/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/layouts/oauth_error.html.haml @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/notify/access_token_about_to_expire_email.html.haml @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/notify/access_token_about_to_expire_email.text.erb @gitlab-org/manage/authentication-and-authorization
|
||||
|
@ -901,20 +914,20 @@ lib/gitlab/checks/** @proglottis @toon @zj-gitlab
|
|||
/app/views/notify/access_token_created_email.text.erb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/notify/access_token_expired_email.html.haml @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/notify/access_token_expired_email.text.erb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/profiles/passwords @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/profiles/personal_access_tokens @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/profiles/two_factor_auths @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/profiles/passwords/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/profiles/personal_access_tokens/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/profiles/two_factor_auths/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/projects/mirrors/_authentication_method.html.haml @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/projects/settings/access_tokens @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/projects/settings/access_tokens/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/shared/_no_password.html.haml @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/shared/_two_factor_auth_recovery_settings_check.html.haml @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/shared/access_tokens @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/shared/access_tokens/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/shared/members/_two_factor_auth_badge.html.haml @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/shared/tokens @gitlab-org/manage/authentication-and-authorization
|
||||
/app/views/shared/tokens/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/workers/authorized_keys_worker.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/workers/authorized_project_update @gitlab-org/manage/authentication-and-authorization
|
||||
/app/workers/authorized_project_update/ @gitlab-org/manage/authentication-and-authorization
|
||||
/app/workers/authorized_projects_worker.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/app/workers/personal_access_tokens @gitlab-org/manage/authentication-and-authorization
|
||||
/app/workers/personal_access_tokens/ @gitlab-org/manage/authentication-and-authorization
|
||||
/config/feature_flags/development/application_settings_tokens_optional_encryption.yml @gitlab-org/manage/authentication-and-authorization
|
||||
/config/feature_flags/development/enforce_auth_checks_on_uploads.yml @gitlab-org/manage/authentication-and-authorization
|
||||
/config/feature_flags/development/forti_authenticator.yml @gitlab-org/manage/authentication-and-authorization
|
||||
|
@ -924,6 +937,7 @@ lib/gitlab/checks/** @proglottis @toon @zj-gitlab
|
|||
/config/feature_flags/development/omniauth_login_minimal_scopes.yml @gitlab-org/manage/authentication-and-authorization
|
||||
/config/feature_flags/development/personal_access_tokens_scoped_to_projects.yml @gitlab-org/manage/authentication-and-authorization
|
||||
/config/feature_flags/development/projects_tokens_optional_encryption.yml @gitlab-org/manage/authentication-and-authorization
|
||||
/config/feature_flags/development/refresh_authorizations_via_affected_projects_on_group_membership.yml @gitlab-org/manage/authentication-and-authorization
|
||||
/config/feature_flags/development/specialized_worker_for_group_lock_update_auth_recalculation.yml @gitlab-org/manage/authentication-and-authorization
|
||||
/config/feature_flags/development/webauthn.yml @gitlab-org/manage/authentication-and-authorization
|
||||
/config/feature_flags/ops/block_password_auth_for_saml_users.yml @gitlab-org/manage/authentication-and-authorization
|
||||
|
@ -937,27 +951,27 @@ lib/gitlab/checks/** @proglottis @toon @zj-gitlab
|
|||
/config/initializers/webauthn.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/config/initializers_before_autoloader/100_patch_omniauth_oauth2.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/config/initializers_before_autoloader/100_patch_omniauth_saml.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/assets/javascripts/access_tokens @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/assets/javascripts/audit_events/components/tokens @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/assets/javascripts/access_tokens/ @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/assets/javascripts/audit_events/components/tokens/ @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/assets/javascripts/audit_events/token_utils.js @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/assets/javascripts/groups/settings/components @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/assets/javascripts/pages/groups/omniauth_callbacks @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/assets/javascripts/pipelines/components/pipelines_list @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/assets/javascripts/requirements/components/tokens @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/assets/javascripts/groups/settings/components/ @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/assets/javascripts/pages/groups/omniauth_callbacks/ @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/assets/javascripts/pipelines/components/pipelines_list/ @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/assets/javascripts/requirements/components/tokens/ @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/assets/javascripts/saml_providers/scim_token_service.js @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/assets/javascripts/saml_sso/components @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/assets/javascripts/saml_sso/components/ @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/assets/javascripts/vue_merge_request_widget/components/approvals/approvals_auth.vue @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/controllers/concerns/ee/authenticates_with_two_factor.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/controllers/concerns/ee/enforces_two_factor_authentication.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/controllers/concerns/saml_authorization.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/controllers/ee/ldap @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/controllers/ee/ldap/ @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/controllers/ee/omniauth_callbacks_controller.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/controllers/ee/passwords_controller.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/controllers/groups/omniauth_callbacks_controller.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/controllers/groups/scim_oauth_controller.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/controllers/oauth @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/controllers/oauth/ @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/controllers/omniauth_kerberos_spnego_controller.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/finders/auth @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/finders/auth/ @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/helpers/ee/access_tokens_helper.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/helpers/ee/auth_helper.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/helpers/ee/personal_access_tokens_helper.rb @gitlab-org/manage/authentication-and-authorization
|
||||
|
@ -965,10 +979,10 @@ lib/gitlab/checks/** @proglottis @toon @zj-gitlab
|
|||
/ee/app/models/ee/project_authorization.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/models/scim_oauth_access_token.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/serializers/scim_oauth_access_token_entity.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/services/ee/auth @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/services/ee/personal_access_tokens @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/services/ee/resource_access_tokens @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/services/personal_access_tokens @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/services/ee/auth/ @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/services/ee/personal_access_tokens/ @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/services/ee/resource_access_tokens/ @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/services/personal_access_tokens/ @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/services/security/token_revocation_service.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/views/admin/application_settings/_personal_access_token_expiration_policy.html.haml @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/views/credentials_inventory_mailer/personal_access_token_revoked_email.html.haml @gitlab-org/manage/authentication-and-authorization
|
||||
|
@ -977,22 +991,21 @@ lib/gitlab/checks/** @proglottis @toon @zj-gitlab
|
|||
/ee/app/views/groups/sso/_authorize_pane.html.haml @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/views/notify/policy_revoked_personal_access_tokens_email.html.haml @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/views/notify/policy_revoked_personal_access_tokens_email.text.erb @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/views/oauth @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/views/oauth/ @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/views/shared/credentials_inventory/_personal_access_tokens.html.haml @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/views/shared/credentials_inventory/_project_access_tokens.html.haml @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/views/shared/credentials_inventory/personal_access_tokens @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/views/shared/credentials_inventory/project_access_tokens @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/workers/personal_access_tokens @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/views/shared/credentials_inventory/personal_access_tokens/ @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/views/shared/credentials_inventory/project_access_tokens/ @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/app/workers/personal_access_tokens/ @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/config/routes/oauth.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/lib/ee/gitlab/auth @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/lib/ee/gitlab/auth.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/lib/ee/gitlab/auth/ @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/lib/ee/gitlab/omniauth_initializer.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/lib/gitlab/auth @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/lib/gitlab/auth/ @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/lib/gitlab/auth_logger.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/lib/gitlab/authority_analyzer.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/lib/gitlab/geo/oauth @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/lib/gitlab/kerberos @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/lib/omni_auth @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/lib/gitlab/geo/oauth/ @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/lib/gitlab/kerberos/ @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/lib/omni_auth/ @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/lib/system_check/geo/authorized_keys_check.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/ee/lib/system_check/geo/authorized_keys_flag_check.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/api/entities/ci/reset_token_result.rb @gitlab-org/manage/authentication-and-authorization
|
||||
|
@ -1007,27 +1020,28 @@ lib/gitlab/checks/** @proglottis @toon @zj-gitlab
|
|||
/lib/api/personal_access_tokens.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/api/resource_access_tokens.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/api/support/token_with_expiration.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/gitlab/api_authentication @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/gitlab/auth @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/gitlab/api_authentication/ @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/gitlab/auth/ @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/gitlab/auth.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/gitlab/auth_logger.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/gitlab/authorized_keys.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/gitlab/background_migration/encrypt_static_object_token.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/gitlab/background_migration/expire_o_auth_tokens.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/gitlab/background_migration/migrate_u2f_webauthn.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/gitlab/background_migration/update_users_where_two_factor_auth_required_from_group.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/gitlab/chat_name_token.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/gitlab/ci/pipeline/expression/token.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/gitlab/external_authorization @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/gitlab/external_authorization/ @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/gitlab/external_authorization.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/gitlab/graphql/authorize @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/gitlab/graphql/authorize/ @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/gitlab/jwt_authenticatable.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/gitlab/jwt_token.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/gitlab/lfs_token.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/gitlab/mail_room @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/gitlab/mail_room/ @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/gitlab/omniauth_initializer.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/gitlab/project_authorizations.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/json_web_token @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/omni_auth @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/json_web_token/ @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/omni_auth/ @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/system_check/app/authorized_keys_permission_check.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/system_check/incoming_email/imap_authentication_check.rb @gitlab-org/manage/authentication-and-authorization
|
||||
/lib/tasks/gitlab/password.rake @gitlab-org/manage/authentication-and-authorization
|
||||
|
|
|
@ -29,7 +29,15 @@ build-qa-image:
|
|||
- !reference [.base-image-build, script]
|
||||
- echo $QA_IMAGE
|
||||
- echo $QA_IMAGE_BRANCH
|
||||
- /kaniko/executor --context=${CI_PROJECT_DIR} --dockerfile=${CI_PROJECT_DIR}/qa/Dockerfile --destination=${QA_IMAGE} --destination=${QA_IMAGE_BRANCH} --cache=true
|
||||
- |
|
||||
/kaniko/executor \
|
||||
--context=${CI_PROJECT_DIR} \
|
||||
--dockerfile=${CI_PROJECT_DIR}/qa/Dockerfile \
|
||||
--destination=${QA_IMAGE} \
|
||||
--destination=${QA_IMAGE_BRANCH} \
|
||||
--build-arg=CHROME_VERSION=${CHROME_VERSION} \
|
||||
--build-arg=DOCKER_VERSION=${DOCKER_VERSION} \
|
||||
--cache=true
|
||||
|
||||
# This image is used by:
|
||||
# - The `CNG` pipelines (via the `review-build-cng` job): https://gitlab.com/gitlab-org/build/CNG/-/blob/cfc67136d711e1c8c409bf8e57427a644393da2f/.gitlab-ci.yml#L335
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
extends:
|
||||
- .default-retry
|
||||
- .docs:rules:review-docs
|
||||
image: ${GITLAB_DEPENDENCY_PROXY}ruby:2.7-alpine
|
||||
image: ${GITLAB_DEPENDENCY_PROXY}ruby:${RUBY_VERSION}-alpine
|
||||
stage: review
|
||||
needs: []
|
||||
variables:
|
||||
|
@ -44,7 +44,7 @@ docs-lint markdown:
|
|||
- .default-retry
|
||||
- .docs:rules:docs-lint
|
||||
# When updating the image version here, update it in /scripts/lint-doc.sh too.
|
||||
image: registry.gitlab.com/gitlab-org/gitlab-docs/lint-markdown:alpine-3.15-vale-2.15.5-markdownlint-0.31.1
|
||||
image: ${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-docs/lint-markdown:alpine-3.16-vale-2.17.0-markdownlint-0.31.1
|
||||
stage: lint
|
||||
needs: []
|
||||
script:
|
||||
|
@ -53,7 +53,7 @@ docs-lint markdown:
|
|||
docs-lint links:
|
||||
extends:
|
||||
- .docs:rules:docs-lint
|
||||
image: registry.gitlab.com/gitlab-org/gitlab-docs/lint-html:alpine-3.15-ruby-2.7.5-cee62c13
|
||||
image: ${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-docs/lint-html:alpine-3.16-ruby-2.7.6-0bc327a4
|
||||
stage: lint
|
||||
needs: []
|
||||
script:
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
- .default-retry
|
||||
- .default-before_script
|
||||
- .assets-compile-cache
|
||||
image: ${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images:debian-${DEBIAN_VERSION}-ruby-2.7-git-2.33-lfs-2.9-node-16.14-yarn-1.22-graphicsmagick-1.3.36
|
||||
image: ${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images:debian-${DEBIAN_VERSION}-ruby-${RUBY_VERSION}-git-2.33-lfs-2.9-node-16.14-yarn-1.22-graphicsmagick-1.3.36
|
||||
variables:
|
||||
SETUP_DB: "false"
|
||||
WEBPACK_VENDOR_DLL: "true"
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
- source scripts/prepare_build.sh
|
||||
|
||||
.ruby-gems-cache: &ruby-gems-cache
|
||||
key: "ruby-gems-${DEBIAN_VERSION}"
|
||||
key: "ruby-gems-debian-${DEBIAN_VERSION}-ruby-${RUBY_VERSION}"
|
||||
paths:
|
||||
- vendor/ruby/
|
||||
policy: pull
|
||||
|
@ -28,7 +28,7 @@
|
|||
policy: push # We want to rebuild the cache from scratch to ensure stale dependencies are cleaned up.
|
||||
|
||||
.gitaly-ruby-gems-cache: &gitaly-ruby-gems-cache
|
||||
key: "gitaly-ruby-gems-${DEBIAN_VERSION}"
|
||||
key: "gitaly-ruby-gems-debian-${DEBIAN_VERSION}-ruby-${RUBY_VERSION}"
|
||||
paths:
|
||||
- vendor/gitaly-ruby/
|
||||
policy: pull
|
||||
|
@ -42,7 +42,7 @@
|
|||
files:
|
||||
- GITALY_SERVER_VERSION
|
||||
- lib/gitlab/setup_helper.rb
|
||||
prefix: "gitaly-binaries-${DEBIAN-VERSION}"
|
||||
prefix: "gitaly-binaries-debian-${DEBIAN_VERSION}-ruby-${RUBY_VERSION}"
|
||||
paths:
|
||||
- ${TMP_TEST_FOLDER}/gitaly/_build/bin/
|
||||
- ${TMP_TEST_FOLDER}/gitaly/_build/deps/git/install/
|
||||
|
@ -79,7 +79,7 @@
|
|||
policy: push # We want to rebuild the cache from scratch to ensure stale dependencies are cleaned up.
|
||||
|
||||
.assets-cache: &assets-cache
|
||||
key: "assets-${DEBIAN_VERSION}-${NODE_ENV}"
|
||||
key: "assets-debian-${DEBIAN_VERSION}-ruby-${RUBY_VERSION}-node-${NODE_ENV}"
|
||||
paths:
|
||||
- assets-hash.txt
|
||||
- public/assets/webpack/
|
||||
|
@ -103,7 +103,7 @@
|
|||
policy: push # We want to rebuild the cache from scratch to ensure stale dependencies are cleaned up.
|
||||
|
||||
.rubocop-cache: &rubocop-cache
|
||||
key: "rubocop-${DEBIAN_VERSION}"
|
||||
key: "rubocop-debian-${DEBIAN_VERSION}-ruby-${RUBY_VERSION}"
|
||||
paths:
|
||||
- tmp/rubocop_cache/
|
||||
policy: pull
|
||||
|
@ -116,6 +116,7 @@
|
|||
|
||||
.qa-ruby-gems-cache: &qa-ruby-gems-cache
|
||||
key:
|
||||
prefix: "qa-ruby-gems-debian-${DEBIAN_VERSION}-ruby-${RUBY_VERSION}"
|
||||
files:
|
||||
- qa/Gemfile.lock
|
||||
paths:
|
||||
|
@ -238,7 +239,7 @@
|
|||
services:
|
||||
- name: postgres:13
|
||||
command: ["postgres", "-c", "fsync=off", "-c", "synchronous_commit=off", "-c", "full_page_writes=off"]
|
||||
- name: redis:5.0-alpine
|
||||
- name: redis:6.2-alpine
|
||||
variables:
|
||||
POSTGRES_HOST_AUTH_METHOD: trust
|
||||
PG_VERSION: "13"
|
||||
|
@ -269,7 +270,7 @@
|
|||
services:
|
||||
- name: postgres:13
|
||||
command: ["postgres", "-c", "fsync=off", "-c", "synchronous_commit=off", "-c", "full_page_writes=off"]
|
||||
- name: redis:5.0-alpine
|
||||
- name: redis:6.2-alpine
|
||||
- name: elasticsearch:7.17.0
|
||||
command: ["elasticsearch", "-E", "discovery.type=single-node", "-E", "xpack.security.enabled=false"]
|
||||
variables:
|
||||
|
@ -281,7 +282,7 @@
|
|||
- name: postgres:12
|
||||
command: ["postgres", "-c", "fsync=off", "-c", "synchronous_commit=off", "-c", "full_page_writes=off"]
|
||||
- name: redis:6.0-alpine
|
||||
- name: elasticsearch:8.1.1
|
||||
- name: elasticsearch:8.2.0
|
||||
variables:
|
||||
POSTGRES_HOST_AUTH_METHOD: trust
|
||||
PG_VERSION: "12"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
.qa-job-base:
|
||||
image: ${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images/debian-bullseye-ruby-2.7:bundler-2.3-git-2.33-chrome-99
|
||||
image: ${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images/debian-bullseye-ruby-2.7:bundler-2.3-git-2.33-chrome-${CHROME_VERSION}
|
||||
extends:
|
||||
- .default-retry
|
||||
- .qa-cache
|
||||
|
@ -12,7 +12,7 @@
|
|||
before_script:
|
||||
- !reference [.default-before_script, before_script]
|
||||
- cd qa/
|
||||
- bundle_install_script
|
||||
- bundle install
|
||||
|
||||
qa:internal:
|
||||
extends:
|
||||
|
@ -52,7 +52,6 @@ qa:nightly-auto-quarantine-dequarantine:
|
|||
- bundle exec confiner -r .confiner/nightly.yml
|
||||
allow_failure: true
|
||||
|
||||
|
||||
qa:selectors-as-if-foss:
|
||||
extends:
|
||||
- qa:selectors
|
||||
|
@ -68,8 +67,32 @@ update-qa-cache:
|
|||
script:
|
||||
- echo "Cache has been updated and ready to be uploaded."
|
||||
|
||||
.package-and-qa-base:
|
||||
populate-qa-tests-var:
|
||||
extends:
|
||||
- .qa:rules:determine-qa-tests
|
||||
image: ${GITLAB_DEPENDENCY_PROXY}ruby:2.7-alpine
|
||||
stage: prepare
|
||||
script:
|
||||
- tooling/bin/qa/check_if_qa_only_spec_changes ${CHANGES_FILE} ${ONLY_QA_CHANGES_FILE}
|
||||
- '[ -f $ONLY_QA_CHANGES_FILE ] && export QA_TESTS="`cat $ONLY_QA_CHANGES_FILE`"'
|
||||
- 'echo "QA_TESTS=$QA_TESTS" >> qa_tests_var.env'
|
||||
- 'echo "QA_TESTS: $QA_TESTS"'
|
||||
artifacts:
|
||||
expire_in: 2d
|
||||
reports:
|
||||
dotenv: qa_tests_var.env
|
||||
paths:
|
||||
- ${CHANGES_FILE}
|
||||
- ${ONLY_QA_CHANGES_FILE}
|
||||
- qa_tests_var.env
|
||||
variables:
|
||||
CHANGES_FILE: tmp/changed_files.txt
|
||||
ONLY_QA_CHANGES_FILE: tmp/qa_only_changed_files.txt
|
||||
needs:
|
||||
- detect-tests
|
||||
|
||||
.package-and-qa-base:
|
||||
image: ${GITLAB_DEPENDENCY_PROXY}ruby:${RUBY_VERSION}-alpine
|
||||
stage: qa
|
||||
retry: 0
|
||||
before_script:
|
||||
|
@ -77,8 +100,6 @@ update-qa-cache:
|
|||
- install_gitlab_gem
|
||||
- tooling/bin/find_change_diffs ${CHANGES_DIFFS_DIR}
|
||||
script:
|
||||
- tooling/bin/qa/check_if_qa_only_spec_changes ${CHANGES_FILE} ${ONLY_QA_CHANGES_FILE}
|
||||
- '[ -f $ONLY_QA_CHANGES_FILE ] && export QA_TESTS="`cat $ONLY_QA_CHANGES_FILE`"'
|
||||
- 'echo "QA_TESTS: $QA_TESTS"'
|
||||
- exit_code=0 && tooling/bin/qa/package_and_qa_check ${CHANGES_DIFFS_DIR} || exit_code=$?
|
||||
- echo $exit_code
|
||||
|
@ -99,16 +120,13 @@ update-qa-cache:
|
|||
artifacts: false
|
||||
- job: build-assets-image
|
||||
artifacts: false
|
||||
- job: populate-qa-tests-var
|
||||
- detect-tests
|
||||
artifacts:
|
||||
expire_in: 7d
|
||||
paths:
|
||||
- ${CHANGES_FILE}
|
||||
- ${ONLY_QA_CHANGES_FILE}
|
||||
- ${CHANGES_DIFFS_DIR}/*
|
||||
variables:
|
||||
CHANGES_FILE: tmp/changed_files.txt
|
||||
ONLY_QA_CHANGES_FILE: tmp/qa_only_changed_files.txt
|
||||
CHANGES_DIFFS_DIR: tmp/diffs
|
||||
ALLURE_JOB_NAME: $CI_JOB_NAME
|
||||
|
||||
|
|
|
@ -395,15 +395,15 @@ db:migrate-from-previous-major-version:
|
|||
USE_BUNDLE_INSTALL: "false"
|
||||
SETUP_DB: "false"
|
||||
PROJECT_TO_CHECKOUT: "gitlab-foss"
|
||||
TAG_TO_CHECKOUT: "v13.12.9"
|
||||
TAG_TO_CHECKOUT: "v14.10.2"
|
||||
before_script:
|
||||
- !reference [.default-before_script, before_script]
|
||||
- '[[ -d "ee/" ]] || export PROJECT_TO_CHECKOUT="gitlab"'
|
||||
- '[[ -d "ee/" ]] || export TAG_TO_CHECKOUT="${TAG_TO_CHECKOUT}-ee"'
|
||||
- retry 'git fetch https://gitlab.com/gitlab-org/$PROJECT_TO_CHECKOUT.git $TAG_TO_CHECKOUT'
|
||||
- git checkout -f FETCH_HEAD
|
||||
- SETUP_DB=false USE_BUNDLE_INSTALL=true bash scripts/prepare_build.sh
|
||||
- run_timed_command "bundle exec rake db:drop db:create db:structure:load db:migrate db:seed_fu"
|
||||
- SETUP_DB=false USE_BUNDLE_INSTALL=true ENABLE_BOOTSNAP=false bash scripts/prepare_build.sh
|
||||
- run_timed_command "ENABLE_BOOTSNAP=false bundle exec rake db:drop db:create db:structure:load db:migrate db:seed_fu"
|
||||
- git checkout -f $CI_COMMIT_SHA
|
||||
- SETUP_DB=false USE_BUNDLE_INSTALL=true bash scripts/prepare_build.sh
|
||||
script:
|
||||
|
@ -419,7 +419,7 @@ db:migrate-from-previous-major-version-single-db:
|
|||
extends:
|
||||
- .rails:rules:ee-mr-and-default-branch-only
|
||||
variables:
|
||||
TAG_TO_CHECKOUT: "v14.4.0"
|
||||
TAG_TO_CHECKOUT: "v14.7.0" # this version updated grpc to 1.42.0, which supports Ruby 2 & 3
|
||||
script:
|
||||
- run_timed_command "scripts/db_tasks db:migrate"
|
||||
- scripts/schema_changed.sh
|
||||
|
@ -460,7 +460,7 @@ db:migrate-non-superuser:
|
|||
db:gitlabcom-database-testing:
|
||||
extends: .rails:rules:db:gitlabcom-database-testing
|
||||
stage: test
|
||||
image: ruby:2.7-alpine
|
||||
image: ruby:${RUBY_VERSION}-alpine
|
||||
needs: []
|
||||
allow_failure: true
|
||||
script:
|
||||
|
@ -976,7 +976,6 @@ rspec system pg13:
|
|||
- .rspec-base-pg13
|
||||
- .rails:rules:default-branch-schedule-nightly--code-backstage
|
||||
- .rspec-system-parallel
|
||||
|
||||
# EE/FOSS: default branch nightly scheduled jobs #
|
||||
##########################################
|
||||
|
||||
|
|
|
@ -91,7 +91,7 @@ gemnasium-python-dependency_scanning:
|
|||
|
||||
yarn-audit-dependency_scanning:
|
||||
extends: .ds-analyzer
|
||||
image: "registry.gitlab.com/gitlab-org/security-products/analyzers/npm-audit:1.4.1"
|
||||
image: "${REGISTRY_HOST}/${REGISTRY_GROUP}/security-products/analyzers/npm-audit:1"
|
||||
variables:
|
||||
TOOL: yarn
|
||||
rules: !reference [".reports:rules:yarn-audit-dependency_scanning", rules]
|
||||
|
@ -102,7 +102,7 @@ yarn-audit-dependency_scanning:
|
|||
extends: .default-retry
|
||||
stage: test
|
||||
image:
|
||||
name: registry.gitlab.com/gitlab-org/security-products/package-hunter-cli:v1.3.2@sha256:7529deaef9ea21aab56bfb74ae1abbc121311affdb6ece49ce7b1c360f997ca2
|
||||
name: ${REGISTRY_HOST}/${REGISTRY_GROUP}/security-products/package-hunter-cli:v1.3.2@sha256:7529deaef9ea21aab56bfb74ae1abbc121311affdb6ece49ce7b1c360f997ca2
|
||||
entrypoint: [""]
|
||||
variables:
|
||||
HTR_user: '$PACKAGE_HUNTER_USER'
|
||||
|
|
|
@ -5,12 +5,12 @@
|
|||
extends:
|
||||
- .reports:rules:schedule-dast
|
||||
image:
|
||||
name: "registry.gitlab.com/security-products/dast:$DAST_VERSION"
|
||||
name: "${REGISTRY_HOST}/security-products/dast:$DAST_VERSION"
|
||||
resource_group: dast_scan
|
||||
variables:
|
||||
DAST_USERNAME_FIELD: "user[login]"
|
||||
DAST_PASSWORD_FIELD: "user[password]"
|
||||
DAST_SUBMIT_FIELD: "commit"
|
||||
DAST_SUBMIT_FIELD: "name:button"
|
||||
DAST_FULL_SCAN_ENABLED: "true"
|
||||
DAST_VERSION: 2
|
||||
GIT_STRATEGY: none
|
||||
|
@ -28,7 +28,7 @@
|
|||
needs: ["review-deploy"]
|
||||
stage: dast
|
||||
# Default job timeout set to 90m and dast rules needs 2h to so that it won't timeout.
|
||||
timeout: 2h
|
||||
timeout: 3h
|
||||
# Add retry because of intermittent connection problems. See https://gitlab.com/gitlab-org/gitlab/-/issues/244313
|
||||
retry: 1
|
||||
artifacts:
|
||||
|
@ -42,149 +42,65 @@
|
|||
# DAST scan with a subset of Release scan rules.
|
||||
# ZAP rule details can be found at https://www.zaproxy.org/docs/alerts/
|
||||
|
||||
# 10019, 10021 Missing security headers
|
||||
# 10023, 10024, 10025, 10037 Information Disclosure
|
||||
# 10040 Secure Pages Include Mixed Content
|
||||
# 10056 X-Debug-Token Information Leak
|
||||
# Duration: 14 minutes 20 seconds
|
||||
|
||||
dast:secureHeaders-csp-infoLeak:
|
||||
dast:anti-clickjacking-header:
|
||||
extends:
|
||||
- .dast_conf
|
||||
variables:
|
||||
DAST_USERNAME: "user1"
|
||||
DAST_ONLY_INCLUDE_RULES: "10019,10021,10023,10024,10025,10037,10040,10056"
|
||||
DAST_ONLY_INCLUDE_RULES: "10020"
|
||||
script:
|
||||
- /analyze
|
||||
|
||||
# 90023 XML External Entity Attack
|
||||
# Duration: 41 minutes 20 seconds
|
||||
# 90019 Server Side Code Injection
|
||||
# Duration: 34 minutes 31 seconds
|
||||
dast:XXE-SrvSideInj:
|
||||
dast:xss-persistant:
|
||||
extends:
|
||||
- .dast_conf
|
||||
variables:
|
||||
DAST_USERNAME: "user2"
|
||||
DAST_ONLY_INCLUDE_RULES: "90023,90019"
|
||||
script:
|
||||
- /analyze
|
||||
|
||||
# 0 Directory Browsing
|
||||
# 2 Private IP Disclosure
|
||||
# 3 Session ID in URL Rewrite
|
||||
# 7 Remote File Inclusion
|
||||
# Duration: 63 minutes 43 seconds
|
||||
# 90034 Cloud Metadata Potentially Exposed
|
||||
# Duration: 13 minutes 48 seconds
|
||||
# 90022 Application Error Disclosure
|
||||
# Duration: 12 minutes 7 seconds
|
||||
dast:infoLeak-fileInc-DirBrowsing:
|
||||
extends:
|
||||
- .dast_conf
|
||||
variables:
|
||||
DAST_USERNAME: "user3"
|
||||
DAST_ONLY_INCLUDE_RULES: "0,2,3,7,90034,90022"
|
||||
script:
|
||||
- /analyze
|
||||
|
||||
# 10010 Cookie No HttpOnly Flag
|
||||
# 10011 Cookie Without Secure Flag
|
||||
# 10017 Cross-Domain JavaScript Source File Inclusion
|
||||
# 10029 Cookie Poisoning
|
||||
# 90033 Loosely Scoped Cookie
|
||||
# 10054 Cookie Without SameSite Attribute
|
||||
# Duration: 13 minutes 23 seconds
|
||||
dast:insecureCookie:
|
||||
extends:
|
||||
- .dast_conf
|
||||
variables:
|
||||
DAST_USERNAME: "user4"
|
||||
DAST_ONLY_INCLUDE_RULES: "10010,10011,10017,10029,90033,10054"
|
||||
script:
|
||||
- /analyze
|
||||
|
||||
|
||||
# 20012 Anti-CSRF Tokens Check
|
||||
# 10202 Absence of Anti-CSRF Tokens
|
||||
# https://gitlab.com/gitlab-com/gl-security/appsec/appsec-team/-/issues/192
|
||||
|
||||
# Commented because of lot of FP's
|
||||
# dast:csrfTokenCheck:
|
||||
# extends:
|
||||
# - .dast_conf
|
||||
# variables:
|
||||
# DAST_USERNAME: "user6"
|
||||
# DAST_ONLY_INCLUDE_RULES: "20012,10202"
|
||||
# script:
|
||||
# - /analyze
|
||||
|
||||
# 10098 Cross-Domain Misconfiguration
|
||||
# 10105 Weak Authentication Method
|
||||
# 40003 CRLF Injection
|
||||
# 40008 Parameter Tampering
|
||||
# Duration: 71 minutes 15 seconds
|
||||
dast:corsMisconfig-weakauth-crlfInj:
|
||||
extends:
|
||||
- .dast_conf
|
||||
variables:
|
||||
DAST_USERNAME: "user5"
|
||||
DAST_ONLY_INCLUDE_RULES: "10098,10105,40003,40008"
|
||||
script:
|
||||
- /analyze
|
||||
|
||||
# 20019 External Redirect
|
||||
# 20014 HTTP Parameter Pollution
|
||||
# Duration: 46 minutes 12 seconds
|
||||
dast:extRedirect-paramPollution:
|
||||
extends:
|
||||
- .dast_conf
|
||||
variables:
|
||||
DAST_USERNAME: "user6"
|
||||
DAST_ONLY_INCLUDE_RULES: "20019,20014"
|
||||
script:
|
||||
- /analyze
|
||||
|
||||
# 40022 SQL Injection - PostgreSQL
|
||||
# Duration: 53 minutes 59 seconds
|
||||
dast:sqlInjection:
|
||||
extends:
|
||||
- .dast_conf
|
||||
variables:
|
||||
DAST_USERNAME: "user7"
|
||||
DAST_ONLY_INCLUDE_RULES: "40022"
|
||||
script:
|
||||
- /analyze
|
||||
|
||||
# 40014 Cross Site Scripting (Persistent)
|
||||
# Duration: 21 minutes 50 seconds
|
||||
dast:xss-persistent:
|
||||
extends:
|
||||
- .dast_conf
|
||||
variables:
|
||||
DAST_USERNAME: "user8"
|
||||
DAST_ONLY_INCLUDE_RULES: "40014"
|
||||
script:
|
||||
- /analyze
|
||||
|
||||
# 40012 Cross Site Scripting (Reflected)
|
||||
# Duration: 73 minutes 15 seconds
|
||||
dast:xss-reflected:
|
||||
dast:insecure-http-method:
|
||||
extends:
|
||||
- .dast_conf
|
||||
variables:
|
||||
DAST_USERNAME: "user9"
|
||||
DAST_ONLY_INCLUDE_RULES: "40012"
|
||||
DAST_USERNAME: "user3"
|
||||
DAST_ONLY_INCLUDE_RULES: "90028"
|
||||
script:
|
||||
- /analyze
|
||||
|
||||
# 40013 Session Fixation
|
||||
# Duration: 44 minutes 25 seconds
|
||||
dast:sessionFixation:
|
||||
dast:server-side-template-inj:
|
||||
extends:
|
||||
- .dast_conf
|
||||
variables:
|
||||
DAST_USERNAME: "user4"
|
||||
DAST_ONLY_INCLUDE_RULES: "90035"
|
||||
script:
|
||||
- /analyze
|
||||
|
||||
dast:server-side-template-inj-blind:
|
||||
extends:
|
||||
- .dast_conf
|
||||
variables:
|
||||
DAST_USERNAME: "user5"
|
||||
DAST_ONLY_INCLUDE_RULES: "90035"
|
||||
script:
|
||||
- /analyze
|
||||
|
||||
dast:session-fixation:
|
||||
extends:
|
||||
- .dast_conf
|
||||
variables:
|
||||
DAST_USERNAME: "user6"
|
||||
DAST_ONLY_INCLUDE_RULES: "40013"
|
||||
script:
|
||||
- /analyze
|
||||
|
||||
dast:xss-dombased:
|
||||
extends:
|
||||
- .dast_conf
|
||||
variables:
|
||||
DAST_USERNAME: "user10"
|
||||
DAST_ONLY_INCLUDE_RULES: "40013"
|
||||
DAST_ONLY_INCLUDE_RULES: "40026"
|
||||
script:
|
||||
- /analyze
|
||||
|
|
|
@ -20,7 +20,7 @@ review-build-cng-env:
|
|||
extends:
|
||||
- .default-retry
|
||||
- .review:rules:review-build-cng
|
||||
image: ${GITLAB_DEPENDENCY_PROXY}ruby:2.7-alpine3.13
|
||||
image: ${GITLAB_DEPENDENCY_PROXY}ruby:${RUBY_VERSION}-alpine3.13
|
||||
stage: prepare
|
||||
needs: []
|
||||
before_script:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
include:
|
||||
- project: gitlab-org/quality/pipeline-common
|
||||
ref: 0.6.0
|
||||
ref: 0.13.0
|
||||
file:
|
||||
- /ci/allure-report.yml
|
||||
- /ci/knapsack-report.yml
|
||||
|
@ -13,8 +13,8 @@ include:
|
|||
|
||||
.test_variables:
|
||||
variables:
|
||||
QA_DEBUG: "true"
|
||||
QA_GENERATE_ALLURE_REPORT: "true"
|
||||
COLORIZED_LOGS: "true"
|
||||
GITLAB_USERNAME: "root"
|
||||
GITLAB_PASSWORD: "${REVIEW_APPS_ROOT_PASSWORD}"
|
||||
GITLAB_ADMIN_USERNAME: "root"
|
||||
|
@ -28,7 +28,7 @@ include:
|
|||
- .qa-cache
|
||||
- .test_variables
|
||||
- .bundler_variables
|
||||
image: ${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images/debian-bullseye-ruby-2.7:bundler-2.3-git-2.33-lfs-2.9-chrome-99-docker-20.10.14-gcloud-383-kubectl-1.23
|
||||
image: ${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images/debian-bullseye-ruby-2.7:bundler-2.3-git-2.33-lfs-2.9-chrome-${CHROME_VERSION}-docker-${DOCKER_VERSION}-gcloud-383-kubectl-1.23
|
||||
stage: qa
|
||||
needs:
|
||||
- review-deploy
|
||||
|
@ -50,6 +50,9 @@ include:
|
|||
--tag ~orchestrated \
|
||||
--tag ~transient \
|
||||
--tag ~skip_signup_disabled \
|
||||
--tag ~requires_git_protocol_v2 \
|
||||
--tag ~requires_praefect \
|
||||
--tag ~sanity_feature_flags \
|
||||
--force-color \
|
||||
--order random \
|
||||
--format documentation \
|
||||
|
@ -79,27 +82,52 @@ include:
|
|||
|
||||
# Store knapsack report as artifact so the same report is reused across all jobs
|
||||
download-knapsack-report:
|
||||
image: ${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images/debian-bullseye-ruby-2.7:bundler-2.3-git-2.33-chrome-99
|
||||
image: ${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images/debian-bullseye-ruby-2.7:bundler-2.3-git-2.33-chrome-${CHROME_VERSION}
|
||||
extends:
|
||||
- .qa-cache
|
||||
- .bundler_variables
|
||||
- .review:rules:review-qa-reliable
|
||||
stage: prepare
|
||||
variables:
|
||||
QA_KNAPSACK_REPORTS: review-qa-reliable,review-qa-all
|
||||
before_script:
|
||||
- cd qa && bundle install
|
||||
script:
|
||||
- QA_KNAPSACK_REPORT_NAME=review-qa-reliable bundle exec rake "knapsack:download"
|
||||
- QA_KNAPSACK_REPORT_NAME=review-qa-all bundle exec rake "knapsack:download"
|
||||
- bundle exec rake "knapsack:download"
|
||||
allow_failure: true
|
||||
artifacts:
|
||||
paths:
|
||||
- qa/knapsack/review-qa-*.json
|
||||
expire_in: 1 day
|
||||
|
||||
review-qa-sanity:
|
||||
extends:
|
||||
- .review-qa-base
|
||||
- .review:rules:review-qa-sanity
|
||||
retry: 1
|
||||
variables:
|
||||
QA_RUN_TYPE: review-qa-sanity
|
||||
script:
|
||||
- qa_run_status=0
|
||||
- |
|
||||
bundle exec rake "knapsack:rspec[\
|
||||
--tag sanity_feature_flags \
|
||||
--force-color \
|
||||
--order random \
|
||||
--format documentation \
|
||||
--format RspecJunitFormatter --out tmp/rspec.xml \
|
||||
]" || qa_run_status=$?
|
||||
- if [ ${qa_run_status} -ne 0 ]; then
|
||||
release_sha=$(echo "${CI_MERGE_REQUEST_SOURCE_BRANCH_SHA:-${CI_COMMIT_SHA}}" | cut -c1-11);
|
||||
echo "Errors can be found at https://sentry.gitlab.net/gitlab/gitlab-review-apps/releases/${release_sha}/all-events/.";
|
||||
fi
|
||||
- exit ${qa_run_status}
|
||||
|
||||
review-qa-smoke:
|
||||
extends:
|
||||
- .review-qa-base
|
||||
- .review:rules:review-qa-smoke
|
||||
retry: 1
|
||||
variables:
|
||||
QA_RUN_TYPE: review-qa-smoke
|
||||
RSPEC_TAGS: --tag smoke
|
||||
|
@ -108,6 +136,7 @@ review-qa-reliable:
|
|||
extends:
|
||||
- .review-qa-base
|
||||
- .review:rules:review-qa-reliable
|
||||
retry: 1
|
||||
parallel: 10
|
||||
variables:
|
||||
QA_RUN_TYPE: review-qa-reliable
|
||||
|
|
|
@ -5,7 +5,7 @@ review-cleanup:
|
|||
extends:
|
||||
- .default-retry
|
||||
- .review:rules:review-cleanup
|
||||
image: ${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images:gitlab-helm3-kubectl1.14
|
||||
image: ${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images:gitlab-helm3.5-kubectl1.17
|
||||
stage: prepare
|
||||
environment:
|
||||
name: review/${CI_COMMIT_REF_SLUG}${FREQUENCY}
|
||||
|
@ -29,8 +29,6 @@ start-review-app-pipeline:
|
|||
needs:
|
||||
- job: build-assets-image
|
||||
artifacts: false
|
||||
- job: build-qa-image
|
||||
artifacts: false
|
||||
# These variables are set in the pipeline schedules.
|
||||
# They need to be explicitly passed on to the child pipeline.
|
||||
# https://docs.gitlab.com/ee/ci/pipelines/multi_project_pipelines.html#pass-cicd-variables-to-a-downstream-pipeline-by-using-the-variables-keyword
|
||||
|
@ -72,5 +70,6 @@ danger-review-local:
|
|||
reviewers-recommender:
|
||||
extends:
|
||||
- .default-retry
|
||||
- .review:rules:reviewers-recommender
|
||||
stage: test
|
||||
needs: []
|
||||
|
|
|
@ -73,12 +73,18 @@
|
|||
.if-merge-request-labels-skip-undercoverage: &if-merge-request-labels-skip-undercoverage
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /pipeline:skip-undercoverage/'
|
||||
|
||||
.if-merge-request-labels-community-contribution: &if-merge-request-labels-community-contribution
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /Community contribution/'
|
||||
|
||||
.if-merge-request-labels-jh-contribution: &if-merge-request-labels-jh-contribution
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /JiHu contribution/'
|
||||
|
||||
.if-merge-request-labels-group-global-search: &if-merge-request-labels-group-global-search
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /group::global search/'
|
||||
|
||||
.if-merge-request-labels-pipeline-revert: &if-merge-request-labels-pipeline-revert
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /pipeline:revert/'
|
||||
|
||||
.if-security-merge-request: &if-security-merge-request
|
||||
if: '$CI_PROJECT_NAMESPACE == "gitlab-org/security" && $CI_MERGE_REQUEST_IID'
|
||||
|
||||
|
@ -175,16 +181,26 @@
|
|||
- ".gitlab/ci/workhorse.gitlab-ci.yml"
|
||||
|
||||
.yaml-lint-patterns: &yaml-lint-patterns
|
||||
- "*.yml"
|
||||
- "**/*.yml"
|
||||
|
||||
.lint-pipeline-yaml-patterns: &lint-pipeline-yaml-patterns
|
||||
- ".gitlab-ci.yml"
|
||||
- ".gitlab/ci/**/*.yml"
|
||||
- "data/**/*.yml"
|
||||
- "lib/gitlab/ci/templates/**/*.yml"
|
||||
- "data/deprecations/**/*.yml"
|
||||
- "data/removals/**/*.yml"
|
||||
- "data/whats_new/**/*.yml"
|
||||
|
||||
.lint-metrics-yaml-patterns: &lint-metrics-yaml-patterns
|
||||
- "config/metrics/**/*.yml"
|
||||
|
||||
.docs-patterns: &docs-patterns
|
||||
- ".gitlab/route-map.yml"
|
||||
- "doc/**/*"
|
||||
- ".markdownlint.yml"
|
||||
- "scripts/lint-doc.sh"
|
||||
- ".gitlab/ci/docs.gitlab-ci.yml"
|
||||
|
||||
.docs-deprecations-and-removals-patterns: &docs-deprecations-and-removals-patterns
|
||||
- "doc/update/deprecations.md"
|
||||
|
@ -896,10 +912,26 @@
|
|||
- <<: *if-default-refs
|
||||
changes: *qa-patterns
|
||||
|
||||
.qa:rules:determine-qa-tests:
|
||||
rules:
|
||||
- <<: *if-not-ee
|
||||
when: never
|
||||
- <<: *if-merge-request-targeting-stable-branch
|
||||
allow_failure: true
|
||||
- <<: *if-dot-com-gitlab-org-and-security-merge-request
|
||||
changes: *code-backstage-qa-patterns
|
||||
allow_failure: true
|
||||
- <<: *if-dot-com-gitlab-org-schedule
|
||||
allow_failure: true
|
||||
- <<: *if-force-ci
|
||||
allow_failure: true
|
||||
|
||||
.qa:rules:package-and-qa:
|
||||
rules:
|
||||
- <<: *if-not-ee
|
||||
when: never
|
||||
- <<: *if-merge-request-labels-pipeline-revert
|
||||
when: never
|
||||
- <<: *if-merge-request-targeting-stable-branch
|
||||
allow_failure: true
|
||||
- <<: *if-dot-com-gitlab-org-and-security-merge-request
|
||||
|
@ -925,6 +957,8 @@
|
|||
rules:
|
||||
- <<: *if-not-ee
|
||||
when: never
|
||||
- <<: *if-merge-request-labels-pipeline-revert
|
||||
when: never
|
||||
- <<: *if-dot-com-gitlab-org-and-security-merge-request-manual-ff-package-and-qa
|
||||
changes: *feature-flag-development-config-patterns
|
||||
when: manual
|
||||
|
@ -1060,10 +1094,8 @@
|
|||
rules:
|
||||
- <<: *if-merge-request-labels-run-all-rspec
|
||||
- <<: *if-merge-request
|
||||
changes: *core-backend-patterns
|
||||
- <<: *if-merge-request
|
||||
changes: *ci-patterns
|
||||
- changes: ["config/**/*"]
|
||||
changes: *backend-patterns
|
||||
- changes: *core-backend-patterns
|
||||
|
||||
.rails:rules:code-backstage-qa:
|
||||
rules:
|
||||
|
@ -1354,6 +1386,8 @@
|
|||
rules:
|
||||
- <<: *if-not-ee
|
||||
when: never
|
||||
- <<: *if-merge-request-labels-pipeline-revert
|
||||
when: never
|
||||
- <<: *if-merge-request-labels-skip-undercoverage
|
||||
when: never
|
||||
- <<: *if-merge-request-labels-run-all-rspec
|
||||
|
@ -1558,6 +1592,8 @@
|
|||
rules:
|
||||
- <<: *if-not-ee
|
||||
when: never
|
||||
- <<: *if-merge-request-labels-pipeline-revert
|
||||
when: never
|
||||
- <<: *if-merge-request-labels-run-review-app
|
||||
- <<: *if-dot-com-gitlab-org-merge-request
|
||||
changes: *ci-review-patterns
|
||||
|
@ -1601,6 +1637,10 @@
|
|||
rules:
|
||||
- when: on_success
|
||||
|
||||
.review:rules:review-qa-sanity:
|
||||
rules:
|
||||
- when: on_success
|
||||
|
||||
.review:rules:review-qa-smoke:
|
||||
rules:
|
||||
- when: on_success
|
||||
|
@ -1627,7 +1667,6 @@
|
|||
|
||||
.review:rules:review-qa-all:
|
||||
rules:
|
||||
- <<: *if-merge-request-labels-run-review-app # we explicitly don't allow the job to fail in that case
|
||||
- <<: *if-dot-com-gitlab-org-merge-request
|
||||
changes: *code-patterns
|
||||
when: manual
|
||||
|
@ -1662,6 +1701,14 @@
|
|||
- <<: *if-merge-request
|
||||
changes: *danger-patterns
|
||||
|
||||
.review:rules:reviewers-recommender:
|
||||
rules:
|
||||
- <<: *if-not-canonical-namespace
|
||||
when: never
|
||||
- <<: *if-merge-request-labels-community-contribution
|
||||
when: never
|
||||
- <<: *if-merge-request
|
||||
|
||||
###############
|
||||
# Setup rules #
|
||||
###############
|
||||
|
@ -1769,3 +1816,13 @@
|
|||
rules:
|
||||
- <<: *if-default-refs
|
||||
changes: *yaml-lint-patterns
|
||||
|
||||
.lint-pipeline-yaml:rules:
|
||||
rules:
|
||||
- <<: *if-default-refs
|
||||
changes: *lint-pipeline-yaml-patterns
|
||||
|
||||
.lint-metrics-yaml:rules:
|
||||
rules:
|
||||
- <<: *if-default-refs
|
||||
changes: *lint-metrics-yaml-patterns
|
||||
|
|
|
@ -60,7 +60,7 @@ no-jh-check:
|
|||
verify-tests-yml:
|
||||
extends:
|
||||
- .setup:rules:verify-tests-yml
|
||||
image: ${GITLAB_DEPENDENCY_PROXY}ruby:2.7-alpine3.13
|
||||
image: ${GITLAB_DEPENDENCY_PROXY}ruby:${RUBY_VERSION}-alpine3.13
|
||||
stage: test
|
||||
needs: []
|
||||
script:
|
||||
|
@ -96,7 +96,7 @@ generate-frontend-fixtures-mapping:
|
|||
- ${FRONTEND_FIXTURES_MAPPING_PATH}
|
||||
|
||||
.detect-test-base:
|
||||
image: ${GITLAB_DEPENDENCY_PROXY}ruby:2.7
|
||||
image: ${GITLAB_DEPENDENCY_PROXY}ruby:${RUBY_VERSION}
|
||||
needs: []
|
||||
stage: prepare
|
||||
script:
|
||||
|
@ -160,7 +160,7 @@ detect-previous-failed-tests:
|
|||
|
||||
add-jh-folder:
|
||||
extends: .setup:rules:add-jh-folder
|
||||
image: ${GITLAB_DEPENDENCY_PROXY}ruby:2.7
|
||||
image: ${GITLAB_DEPENDENCY_PROXY}ruby:${RUBY_VERSION}
|
||||
stage: prepare
|
||||
before_script:
|
||||
- source ./scripts/utils.sh
|
||||
|
@ -171,7 +171,6 @@ add-jh-folder:
|
|||
- curl --location -o "jh-folder.tar.gz" "https://gitlab.com/gitlab-org/gitlab-jh-mirrors/gitlab/-/archive/${JH_BRANCH}/gitlab-${JH_BRANCH}.tar.gz?path=jh"
|
||||
- tar -xf "jh-folder.tar.gz"
|
||||
- mv "gitlab-${JH_BRANCH}-jh/jh/" ./
|
||||
- cp Gemfile.lock jh/
|
||||
- ls -l jh/
|
||||
artifacts:
|
||||
expire_in: 2d
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
.tests-metadata-state:
|
||||
image: ${GITLAB_DEPENDENCY_PROXY}ruby:2.7
|
||||
image: ${GITLAB_DEPENDENCY_PROXY}ruby:${RUBY_VERSION}
|
||||
before_script:
|
||||
- source scripts/utils.sh
|
||||
artifacts:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
workhorse:verify:
|
||||
extends: .workhorse:rules:workhorse
|
||||
image: ${GITLAB_DEPENDENCY_PROXY}golang:1.16
|
||||
image: ${GITLAB_DEPENDENCY_PROXY}golang:1.17
|
||||
stage: test
|
||||
needs: []
|
||||
script:
|
||||
|
@ -20,10 +20,6 @@ workhorse:verify:
|
|||
- scripts/gitaly-test-build
|
||||
- make -C workhorse test
|
||||
|
||||
workhorse:test using go 1.16:
|
||||
extends: .workhorse:test
|
||||
image: ${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images:debian-${DEBIAN_VERSION}-ruby-2.7-golang-1.16-git-2.31
|
||||
|
||||
workhorse:test using go 1.17:
|
||||
extends: .workhorse:test
|
||||
image: ${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images:debian-${DEBIAN_VERSION}-ruby-2.7-golang-1.17-git-2.31
|
||||
image: ${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images:debian-${DEBIAN_VERSION}-ruby-${RUBY_VERSION}-golang-1.17-git-2.31
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# Yamllint of CI-related yaml.
|
||||
# Yamllint of yaml files.
|
||||
|
||||
# This uses rules from project root `.yamllint`.
|
||||
lint-yaml:
|
||||
extends:
|
||||
|
@ -7,15 +8,29 @@ lint-yaml:
|
|||
image: pipelinecomponents/yamllint:latest
|
||||
stage: lint
|
||||
needs: []
|
||||
script:
|
||||
- yamllint --strict -f colored .
|
||||
|
||||
# The jobs below will not use the configuration present in `.yamllint` (it's because of the -d option)
|
||||
#
|
||||
# Docs: https://yamllint.readthedocs.io/en/stable/configuration.html#custom-configuration-without-a-config-file
|
||||
|
||||
lint-pipeline-yaml:
|
||||
extends:
|
||||
- .default-retry
|
||||
- .lint-pipeline-yaml:rules
|
||||
image: pipelinecomponents/yamllint:latest
|
||||
stage: lint
|
||||
needs: []
|
||||
variables:
|
||||
LINT_PATHS: .gitlab-ci.yml .gitlab/ci lib/gitlab/ci/templates data/deprecations data/removals data/whats_new
|
||||
script:
|
||||
- yamllint --strict -f colored $LINT_PATHS
|
||||
- 'yamllint -d "{extends: default, rules: {line-length: disable, document-start: disable}}" $LINT_PATHS'
|
||||
|
||||
lint-metrics-yaml:
|
||||
extends:
|
||||
- .default-retry
|
||||
- .yaml-lint:rules
|
||||
- .lint-metrics-yaml:rules
|
||||
image: pipelinecomponents/yamllint:latest
|
||||
stage: lint
|
||||
needs: []
|
||||
|
|
|
@ -47,7 +47,7 @@ Please add links to the relevant merge requests.
|
|||
|
||||
- As soon as possible, but no later than the third milestone preceding the major release (for example, given the following release schedule: `14.8, 14.9, 14.10, 15.0` – `14.8` is the third milestone preceding the major release):
|
||||
- [ ] A [deprecation entry](https://about.gitlab.com/handbook/marketing/blog/release-posts/#creating-a-deprecation-entry) has been created so the deprecation will appear in release posts and on the [general deprecation page](https://docs.gitlab.com/ee/update/deprecations).
|
||||
- [ ] Documentation has been updated to add a note about the [end-of-life](https://docs.gitlab.com/ee/development/documentation/styleguide/#end-of-life-for-features-or-products) and to mark the feature as [deprecated](https://docs.gitlab.com/ee/development/documentation/styleguide/#deprecated-features).
|
||||
- [ ] Documentation has been updated to mark the feature as [deprecated](https://docs.gitlab.com/ee/development/documentation/versions.html#deprecations-and-removals).
|
||||
- [ ] On or before the major milestone: A [removal entry](https://about.gitlab.com/handbook/marketing/blog/release-posts/#removals) has been created so the removal will appear on the [removals by milestones](https://docs.gitlab.com/ee/update/removals) page and be announced in the release post.
|
||||
- On the major milestone:
|
||||
- [ ] The deprecated item has been removed.
|
||||
|
|
|
@ -62,8 +62,7 @@ _Consider adding links to check for Sentry errors, Production logs for 5xx, 302s
|
|||
- Ensure that the feature MRs have been deployed to non-production environments.
|
||||
- [ ] `/chatops run auto_deploy status <merge-commit-of-your-feature>`
|
||||
- [ ] Enable the feature globally on non-production environments.
|
||||
- [ ] `/chatops run feature set <feature-flag-name> true --dev`
|
||||
- [ ] `/chatops run feature set <feature-flag-name> true --staging`
|
||||
- [ ] `/chatops run feature set <feature-flag-name> true --dev --staging`
|
||||
- [ ] Verify that the feature works as expected. Posting the QA result in this issue is preferable.
|
||||
The best environment to validate the feature in is [staging-canary](https://about.gitlab.com/handbook/engineering/infrastructure/environments/#staging-canary)
|
||||
as this is the first environment deployed to. Note you will need to make sure you are configured to use canary as outlined [here](https://about.gitlab.com/handbook/engineering/infrastructure/environments/canary-stage/)
|
||||
|
@ -74,12 +73,9 @@ _Consider adding links to check for Sentry errors, Production logs for 5xx, 302s
|
|||
- Ensure that the feature MRs have been deployed to both production and canary.
|
||||
- [ ] `/chatops run auto_deploy status <merge-commit-of-your-feature>`
|
||||
- If you're using [project-actor](https://docs.gitlab.com/ee/development/feature_flags/#feature-actors), you must enable the feature on these entries:
|
||||
- [ ] `/chatops run feature set --project=gitlab-org/gitlab <feature-flag-name> true`
|
||||
- [ ] `/chatops run feature set --project=gitlab-org/gitlab-foss <feature-flag-name> true`
|
||||
- [ ] `/chatops run feature set --project=gitlab-com/www-gitlab-com <feature-flag-name> true`
|
||||
- [ ] `/chatops run feature set --project=gitlab-org/gitlab,gitlab-org/gitlab-foss,gitlab-com/www-gitlab-com <feature-flag-name> true`
|
||||
- If you're using [group-actor](https://docs.gitlab.com/ee/development/feature_flags/#feature-actors), you must enable the feature on these entries:
|
||||
- [ ] `/chatops run feature set --group=gitlab-org <feature-flag-name> true`
|
||||
- [ ] `/chatops run feature set --group=gitlab-com <feature-flag-name> true`
|
||||
- [ ] `/chatops run feature set --group=gitlab-org,gitlab-com <feature-flag-name> true`
|
||||
- If you're using [user-actor](https://docs.gitlab.com/ee/development/feature_flags/#feature-actors), you must enable the feature on these entries:
|
||||
- [ ] `/chatops run feature set --user=<your-username> <feature-flag-name> true`
|
||||
- [ ] Verify that the feature works on the specific entries. Posting the QA result in this issue is preferable.
|
||||
|
@ -124,9 +120,7 @@ To do so, follow these steps:
|
|||
the feature can be officially announced in a release blog post.
|
||||
- [ ] `/chatops run release check <merge-request-url> <milestone>`
|
||||
- [ ] Consider cleaning up the feature flag from all environments by running these chatops command in `#production` channel. Otherwise these settings may override the default enabled.
|
||||
- [ ] `/chatops run feature delete <feature-flag-name> --dev`
|
||||
- [ ] `/chatops run feature delete <feature-flag-name> --staging`
|
||||
- [ ] `/chatops run feature delete <feature-flag-name>`
|
||||
- [ ] `/chatops run feature delete <feature-flag-name> --dev --staging --production`
|
||||
- [ ] Close [the feature issue](ISSUE LINK) to indicate the feature will be released in the current milestone.
|
||||
- [ ] Set the next milestone to this rollout issue for scheduling [the flag removal](#release-the-feature).
|
||||
- [ ] (Optional) You can [create a separate issue](https://gitlab.com/gitlab-org/gitlab/-/issues/new?issuable_template=Feature%20Flag%20Cleanup) for scheduling the steps below to [Release the feature](#release-the-feature).
|
||||
|
@ -162,9 +156,7 @@ You can either [create a follow-up issue for Feature Flag Cleanup](https://gitla
|
|||
- [ ] `/chatops run release check <merge-request-url> <milestone>`
|
||||
- [ ] Close [the feature issue](ISSUE LINK) to indicate the feature will be released in the current milestone.
|
||||
- [ ] If not already done, clean up the feature flag from all environments by running these chatops command in `#production` channel:
|
||||
- [ ] `/chatops run feature delete <feature-flag-name> --dev`
|
||||
- [ ] `/chatops run feature delete <feature-flag-name> --staging`
|
||||
- [ ] `/chatops run feature delete <feature-flag-name>`
|
||||
- [ ] `/chatops run feature delete <feature-flag-name> --dev --staging --production`
|
||||
- [ ] Close this rollout issue.
|
||||
|
||||
## Rollback Steps
|
||||
|
|
|
@ -48,9 +48,13 @@ Geo secondary sites have a [Geo tracking database](https://gitlab.com/gitlab-org
|
|||
- [ ] Create the migration file in `ee/db/geo/migrate`:
|
||||
|
||||
```shell
|
||||
bin/rails generate geo_migration CreateCoolWidgetRegistry
|
||||
bin/rails generate migration CreateCoolWidgetRegistry --database geo
|
||||
```
|
||||
|
||||
Geo should continue using `Gitlab::Database::Migration[1.0]` until the `gitlab_geo` schema is supported, and is for the time being exempt from being validated by `Gitlab::Database::Migration[2.0]`. This requires a developer to manually amend the migration file to change from `[2.0]` to `[1.0]` due to the migration defaults being 2.0.
|
||||
|
||||
For more information, see the [Enable Geo migrations to use Migration[2.0]](https://gitlab.com/gitlab-org/gitlab/-/issues/363491) issue.
|
||||
|
||||
- [ ] Replace the contents of the migration file with the following. Note that we cannot add a foreign key constraint on `cool_widget_id` because the `cool_widgets` table is in a different database. The application code must handle logic such as propagating deletions.
|
||||
|
||||
```ruby
|
||||
|
|
|
@ -50,9 +50,13 @@ Geo secondary sites have a [Geo tracking database](https://gitlab.com/gitlab-org
|
|||
- [ ] Create the migration file in `ee/db/geo/migrate`:
|
||||
|
||||
```shell
|
||||
bin/rails generate geo_migration CreateCoolWidgetRegistry
|
||||
bin/rails generate migration CreateCoolWidgetRegistry --database geo
|
||||
```
|
||||
|
||||
Geo should continue using `Gitlab::Database::Migration[1.0]` until the `gitlab_geo` schema is supported, and is for the time being exempt from being validated by `Gitlab::Database::Migration[2.0]`. This requires a developer to manually amend the migration file to change from `[2.0]` to `[1.0]` due to the migration defaults being 2.0.
|
||||
|
||||
For more information, see the [Enable Geo migrations to use Migration[2.0]](https://gitlab.com/gitlab-org/gitlab/-/issues/363491) issue.
|
||||
|
||||
- [ ] Replace the contents of the migration file with the following. Note that we cannot add a foreign key constraint on `cool_widget_id` because the `cool_widgets` table is in a different database. The application code must handle logic such as propagating deletions.
|
||||
|
||||
```ruby
|
||||
|
|
|
@ -3,7 +3,7 @@ Performance Indicator Metric issues are used for adding, updating, or removing p
|
|||
|
||||
Please title your issue with the following format: "{action}(Add|Update|Remove) Metric name as performance indicator"
|
||||
|
||||
Example of title: "Add static_site_editor_views as gmau"
|
||||
Example of title: "Add some_feature_views as gmau"
|
||||
|
||||
-->
|
||||
|
||||
|
|
129
.gitlab/issue_templates/Service Ping reporting and monitoring.md
Normal file
129
.gitlab/issue_templates/Service Ping reporting and monitoring.md
Normal file
|
@ -0,0 +1,129 @@
|
|||
<!-- This issue template is used by https://about.gitlab.com/handbook/engineering/development/growth/product-intelligence/ for tracking effort around Service Ping reporting for GitLab.com -->
|
||||
|
||||
The [Product Intelligence group](https://about.gitlab.com/handbook/engineering/development/growth/product-intelligence/) runs manual reporting of ServicePing for GitLab.com on a weekly basis. This issue captures:
|
||||
|
||||
- Captures the work required to complete the reporting process,.
|
||||
- Captures the follow-up tasks that are focused on metrics performance verification.
|
||||
- Identifies any potential issues.
|
||||
|
||||
# New metrics to be verified
|
||||
|
||||
<!-- Add new metrics that must be verified -->
|
||||
|
||||
# Failed metrics
|
||||
|
||||
Broken metrics issues are marked with the ~"broken metric" label.
|
||||
|
||||
# Use a detached screen session to generate Service Ping for GitLab.com
|
||||
|
||||
## Prerequisites
|
||||
|
||||
1. Add your SSH key to the local SSH agent: `ssh-add`. Your SSH key is required to connect to a Rails console from the bastion host.
|
||||
|
||||
## Triggering
|
||||
|
||||
1. Add the SSH key to the local SSH agent: `ssh-add`.
|
||||
1. Connect to the bastion with SSH agent forwarding: `ssh -A lb-bastion.gprd.gitlab.com`.
|
||||
1. Note which bastion host machine was assigned. For example: `<username>@bastion-01-inf-gprd.c.gitlab-production.internal:~$` shows that you are connected to `bastion-01-inf-gprd.c.gitlab-production.internal`.
|
||||
1. Create a named screen: `screen -S $USER-service-ping-$(date +%F)`.
|
||||
1. Connect to the console host: `ssh $USER-rails@console-01-sv-gprd.c.gitlab-production.internal`.
|
||||
1. Run: `ServicePing::SubmitService.new.execute`.
|
||||
1. Press <kbd>Control</kbd>+<kbd>a</kbd> followed by <kbd>Control</kbd>+<kbd>d</kbd> to detach from the screen session.
|
||||
1. Exit from the bastion: `exit`.
|
||||
|
||||
## Verification (After approximately 30 hours)
|
||||
|
||||
1. Reconnect to the bastion: `ssh -A lb-bastion.gprd.gitlab.com`. Make sure that you are connected to the same host machine that ServicePing was started on. For example, to connect directly to the host machine, use `ssh bastion-01-inf-gprd.c.gitlab-production.internal`.
|
||||
1. Find your screen session: `screen -ls`.
|
||||
1. Attach to your screen session: `screen -x 14226.mwawrzyniak_service_ping_2021_01_22`.
|
||||
1. Check the last payload in the `raw_usage_data` table: `RawUsageData.last.payload`.
|
||||
1. Check the when the payload was sent: `RawUsageData.last.sent_at`.
|
||||
|
||||
## Stop the Service Ping process
|
||||
|
||||
Use either of these processes:
|
||||
|
||||
1. Reconnect to the bastion host machine. For example, use: `ssh bastion-01-inf-gprd.c.gitlab-production.internal`.
|
||||
1. Find your screen session: `$ screen -ls`.
|
||||
1. Attach to your screen session: `$ sudo -u <username> screen -r`.
|
||||
1. Press <kbd>Control</kbd>+<kbd>c</kbd> to stop the Service Ping process.
|
||||
|
||||
OR
|
||||
|
||||
1. Reconnect to the bastion host machine. For example, type: `ssh bastion-01-inf-gprd.c.gitlab-production.internal`.
|
||||
1. List all process started by your username: `ps faux | grep <username>`.
|
||||
1. Locate the username that owns ServicePing reporting.
|
||||
1. Send the kill signal for the ServicePing PID: `kill -9 <service_ping_pid>`.
|
||||
|
||||
## Service Ping process triggering (through a long-running SSH session)
|
||||
|
||||
1. Connect to the `gprd` Rails console.
|
||||
1. Run `SubmitUsagePingService.new.execute`. This process requires more than 30 hours to complete.
|
||||
1. Find the last payload in the `raw_usage_data` table: `RawUsageData.last.payload`.
|
||||
1. Check the when the payload was sent: `RawUsageData.last.sent_at`.
|
||||
|
||||
```plaintext
|
||||
ServicePing::SubmitService.new.execute
|
||||
|
||||
# Get the payload
|
||||
RawUsageData.last.payload
|
||||
|
||||
# Time when payload was sent to VersionsAppp
|
||||
RawUsageData.last.sent_at
|
||||
```
|
||||
|
||||
# Verify Service Ping in VersionsApp
|
||||
|
||||
To verify that the ServicePing was received in the VersionsApp do the following steps:
|
||||
|
||||
1. Go to the VersionsApp console and locate: `RawUsageData.find(uuid: '')`.
|
||||
1. Check the object. Either:
|
||||
- Go to the Rails console and check the related `RawUsageData` object.
|
||||
- Go to the VersionsApp UI <https://version.gitlab.com/usage_data/usage_data_id>.
|
||||
|
||||
```ruby
|
||||
/bin/herokuish procfile exec rails console
|
||||
|
||||
puts UsageData.select(:recorded_at, :app_server_type).where(hostname: 'gitlab.com', uuid: 'ea8bf810-1d6f-4a6a-b4fd-93e8cbd8b57f').order('id desc').limit(5).to_json
|
||||
|
||||
puts UsageData.find(21635202).raw_usage_data.payload.to_json
|
||||
```
|
||||
|
||||
# Monitoring events tracked using Redis HLL
|
||||
|
||||
Trigger some events from the User Interface.
|
||||
|
||||
```ruby
|
||||
Gitlab::UsageDataCounters::HLLRedisCounter.unique_events(event_names: 'event_name', start_date: 28.days.ago, end_date: Date.current)
|
||||
```
|
||||
|
||||
# Troubleshooting
|
||||
|
||||
## Connecting to a Rails console host fails with `Permission denied (publickey).`.
|
||||
|
||||
Make sure you add the SSH key to the local SSH agent with: `ssh-add`. If you don't add your SSH key, your key won't be forwarded
|
||||
when you run `ssh -A`, and you will not be able to connect to a Rails console host.
|
||||
|
||||
# What to do if you get mentioned
|
||||
|
||||
In this issue, we keep the track of new metrics added to the Service Ping, and the metrics that are timing out.
|
||||
|
||||
If you get mentioned, check the failing metric and open an optimization issue.
|
||||
|
||||
# Service Ping manual generation for GitLab.com schedule
|
||||
|
||||
| Generation start date | GitLab developer handle | Link to comment with payload |
|
||||
| --------------------- | ----------------------- | ---------------------------- |
|
||||
| 2022-04-18 | | |
|
||||
| 2022-04-25 | | |
|
||||
| 2022-05-02 | | |
|
||||
| 2022-05-09 | | |
|
||||
| 2022-05-16 | | |
|
||||
|
||||
<!-- Do not edit below this line -->
|
||||
|
||||
/confidential
|
||||
/label ~"group::product intelligence" ~"devops::growth" ~backend ~"section::growth" ~"Category:Service Ping"
|
||||
/epic https://gitlab.com/groups/gitlab-org/-/epics/6000
|
||||
/weight 5
|
||||
/title Monitor and Generate GitLab.com Service Ping
|
|
@ -11,10 +11,8 @@ tasks:
|
|||
(
|
||||
set -e
|
||||
cd /workspace/gitlab-development-kit
|
||||
# GitLab FOSS
|
||||
[[ -d /workspace/gitlab-foss ]] && ln -fs /workspace/gitlab-foss /workspace/gitlab-development-kit/gitlab
|
||||
# GitLab
|
||||
[[ -d /workspace/gitlab ]] && ln -fs /workspace/gitlab /workspace/gitlab-development-kit/gitlab
|
||||
# Ensure GitLab directory is symlinked under the GDK
|
||||
ln -nfs "$GITPOD_REPO_ROOT" /workspace/gitlab-development-kit/gitlab
|
||||
mv /workspace/gitlab-development-kit/secrets.yml /workspace/gitlab-development-kit/gitlab/config
|
||||
# ensure gdk.yml has correct instance settings
|
||||
gdk config set gitlab.rails.port 443
|
||||
|
|
|
@ -84,9 +84,9 @@ linters:
|
|||
|
||||
RuboCop:
|
||||
enabled: true
|
||||
# These cops are incredibly noisy when it comes to HAML templates, so we
|
||||
# ignore them.
|
||||
ignored_cops:
|
||||
# These cops are incredibly noisy when it comes to HAML templates, so we
|
||||
# ignore them.
|
||||
- Layout/BlockAlignment
|
||||
- Layout/EndAlignment
|
||||
- Layout/LineLength
|
||||
|
@ -103,6 +103,7 @@ linters:
|
|||
- Style/Next
|
||||
- Style/TrailingWhitespace
|
||||
- Style/WhileUntilModifier
|
||||
- Cop/StaticTranslationDefinition
|
||||
|
||||
# These cops should eventually get enabled
|
||||
- Cop/LineBreakAfterGuardClauses
|
||||
|
|
|
@ -13,6 +13,8 @@ inherit_from:
|
|||
<% end %>
|
||||
- '.rubocop_todo.yml'
|
||||
<% end %>
|
||||
<%# See https://gitlab.com/gitlab-org/gitlab/-/issues/321982#rubymine-note for context on why namespaced_class has special handling here %>
|
||||
- ./.rubocop_todo/gitlab/namespaced_class.yml
|
||||
- ./rubocop/rubocop-migrations.yml
|
||||
- ./rubocop/rubocop-usage-data.yml
|
||||
- ./rubocop/rubocop-code_reuse.yml
|
||||
|
@ -173,7 +175,6 @@ Naming/FileName:
|
|||
- CIDR
|
||||
- SPDX
|
||||
- MR
|
||||
- SSE
|
||||
- JWT
|
||||
- HLL
|
||||
- GPG
|
||||
|
@ -286,6 +287,11 @@ Rails/HelperInstanceVariable:
|
|||
- app/helpers/**/*.rb
|
||||
- ee/app/helpers/**/*.rb
|
||||
|
||||
Rails/MailerName:
|
||||
Exclude:
|
||||
# See for the context on why it's excluded https://gitlab.com/gitlab-org/gitlab/-/issues/239356#note_956419227
|
||||
- 'app/mailers/notify.rb'
|
||||
|
||||
# GitLab ###################################################################
|
||||
|
||||
Gitlab/ModuleWithInstanceVariables:
|
||||
|
|
20
.rubocop_todo/cop/static_translation_definition.yml
Normal file
20
.rubocop_todo/cop/static_translation_definition.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
Cop/StaticTranslationDefinition:
|
||||
Exclude:
|
||||
- 'app/models/application_setting.rb'
|
||||
- 'app/models/diff_viewer/image.rb'
|
||||
- 'app/models/diff_viewer/rich.rb'
|
||||
- 'app/models/diff_viewer/simple.rb'
|
||||
- 'app/models/group_group_link.rb'
|
||||
- 'app/models/jira_import_state.rb'
|
||||
- 'app/models/member.rb'
|
||||
- 'app/models/project.rb'
|
||||
- 'app/models/project_group_link.rb'
|
||||
- 'app/models/user.rb'
|
||||
- 'app/models/users/banned_user.rb'
|
||||
- 'ee/app/models/allowed_email_domain.rb'
|
||||
- 'ee/app/models/dast/site_profile_secret_variable.rb'
|
||||
- 'ee/app/models/group_merge_request_approval_setting.rb'
|
||||
- 'ee/app/models/incident_management/escalation_policy.rb'
|
||||
- 'ee/app/models/incident_management/escalation_rule.rb'
|
||||
- 'ee/app/models/vulnerabilities/read.rb'
|
|
@ -26,7 +26,6 @@ Cop/UserAdmin:
|
|||
- app/models/protected_branch.rb
|
||||
- app/models/user.rb
|
||||
- app/policies/note_policy.rb
|
||||
- app/serializers/deploy_key_entity.rb
|
||||
- app/services/auth/container_registry_authentication_service.rb
|
||||
- app/services/emails/create_service.rb
|
||||
- app/services/projects/enable_deploy_key_service.rb
|
||||
|
|
25
.rubocop_todo/fips/md5.yml
Normal file
25
.rubocop_todo/fips/md5.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
Fips/MD5:
|
||||
Exclude:
|
||||
- 'app/experiments/application_experiment.rb'
|
||||
- 'app/models/concerns/checksummable.rb'
|
||||
- 'app/services/gravatar_service.rb'
|
||||
- 'app/services/packages/debian/generate_distribution_service.rb'
|
||||
- 'app/services/packages/go/create_package_service.rb'
|
||||
- 'app/services/packages/maven/metadata/append_package_file_service.rb'
|
||||
- 'app/services/packages/rubygems/create_gemspec_service.rb'
|
||||
- 'config/application.rb'
|
||||
- 'config/initializers/wikicloth_redos_patch.rb'
|
||||
- 'ee/app/models/license.rb'
|
||||
- 'ee/spec/lib/ee/gitlab/usage_data_spec.rb'
|
||||
- 'lib/tasks/migrate/setup_postgresql.rake'
|
||||
- 'qa/qa/specs/features/api/3_create/repository/project_archive_compare_spec.rb'
|
||||
- 'spec/controllers/invites_controller_spec.rb'
|
||||
- 'spec/lib/gitlab/ci/trace/archive_spec.rb'
|
||||
- 'spec/lib/gitlab/ci/trace/remote_checksum_spec.rb'
|
||||
- 'spec/models/concerns/checksummable_spec.rb'
|
||||
- 'spec/services/gravatar_service_spec.rb'
|
||||
- 'spec/support/matchers/match_file.rb'
|
||||
- 'spec/support/shared_examples/services/packages/debian/generate_distribution_shared_examples.rb'
|
||||
- 'spec/tooling/rspec_flaky/example_spec.rb'
|
||||
- 'tooling/rspec_flaky/example.rb'
|
222
.rubocop_todo/fips/open_ssl.yml
Normal file
222
.rubocop_todo/fips/open_ssl.yml
Normal file
|
@ -0,0 +1,222 @@
|
|||
---
|
||||
# Cop supports --auto-correct.
|
||||
Fips/OpenSSL:
|
||||
Exclude:
|
||||
- 'app/controllers/application_controller.rb'
|
||||
- 'app/controllers/concerns/authenticates_with_two_factor.rb'
|
||||
- 'app/controllers/projects/merge_requests/diffs_controller.rb'
|
||||
- 'app/controllers/projects/merge_requests_controller.rb'
|
||||
- 'app/helpers/application_helper.rb'
|
||||
- 'app/models/ci/artifact_blob.rb'
|
||||
- 'app/models/concerns/analytics/cycle_analytics/stage.rb'
|
||||
- 'app/models/concerns/checksummable.rb'
|
||||
- 'app/models/concerns/token_authenticatable_strategies/encryption_helper.rb'
|
||||
- 'app/models/diff_discussion.rb'
|
||||
- 'app/models/discussion.rb'
|
||||
- 'app/models/legacy_diff_note.rb'
|
||||
- 'app/models/namespace.rb'
|
||||
- 'app/models/note.rb'
|
||||
- 'app/models/performance_monitoring/prometheus_panel.rb'
|
||||
- 'app/models/protected_branch.rb'
|
||||
- 'app/models/release_highlight.rb'
|
||||
- 'app/models/repository.rb'
|
||||
- 'app/models/resource_event.rb'
|
||||
- 'app/models/snippet.rb'
|
||||
- 'app/models/storage/hashed.rb'
|
||||
- 'app/models/token_with_iv.rb'
|
||||
- 'app/presenters/packages/composer/packages_presenter.rb'
|
||||
- 'app/services/ci/build_report_result_service.rb'
|
||||
- 'app/services/metrics/dashboard/transient_embed_service.rb'
|
||||
- 'app/services/packages/debian/generate_distribution_service.rb'
|
||||
- 'app/services/packages/go/create_package_service.rb'
|
||||
- 'app/services/packages/maven/metadata/append_package_file_service.rb'
|
||||
- 'app/services/packages/rubygems/create_gemspec_service.rb'
|
||||
- 'app/services/pages/migrate_legacy_storage_to_deployment_service.rb'
|
||||
- 'app/services/projects/lfs_pointers/lfs_download_service.rb'
|
||||
- 'app/uploaders/ci/secure_file_uploader.rb'
|
||||
- 'config/initializers/doorkeeper_openid_connect.rb'
|
||||
- 'config/initializers/session_store.rb'
|
||||
- 'config/settings.rb'
|
||||
- 'db/post_migrate/20210731132939_backfill_stage_event_hash.rb'
|
||||
- 'ee/app/models/storage_shard.rb'
|
||||
- 'ee/app/services/elastic/bookkeeping_shard_service.rb'
|
||||
- 'ee/app/services/security/track_scan_service.rb'
|
||||
- 'ee/app/services/vulnerabilities/create_service_base.rb'
|
||||
- 'ee/app/services/vulnerabilities/manually_create_service.rb'
|
||||
- 'ee/app/services/vulnerabilities/starboard_vulnerability_create_service.rb'
|
||||
- 'ee/lib/ee/gitlab/background_migration/populate_latest_pipeline_ids.rb'
|
||||
- 'ee/lib/ee/gitlab/background_migration/populate_resolved_on_default_branch_column.rb'
|
||||
- 'ee/lib/ee/gitlab/background_migration/recalculate_vulnerability_finding_signatures_for_findings.rb'
|
||||
- 'ee/lib/gitlab/analytics/cycle_analytics/stage_events/label_based_stage_event.rb'
|
||||
- 'ee/lib/gitlab/ci/reports/dependency_list/dependency.rb'
|
||||
- 'ee/lib/gitlab/ci/reports/security/remediation.rb'
|
||||
- 'ee/lib/gitlab/geo/replication/blob_downloader.rb'
|
||||
- 'ee/spec/factories/vulnerabilities/feedback.rb'
|
||||
- 'ee/spec/factories/vulnerabilities/finding_signatures.rb'
|
||||
- 'ee/spec/factories/vulnerabilities/remediations.rb'
|
||||
- 'ee/spec/finders/security/pipeline_vulnerabilities_finder_spec.rb'
|
||||
- 'ee/spec/lib/ee/gitlab/alert_management/payload/generic_spec.rb'
|
||||
- 'ee/spec/lib/ee/gitlab/background_migration/populate_uuids_for_security_findings_spec.rb'
|
||||
- 'ee/spec/lib/ee/gitlab/background_migration/recalculate_vulnerability_finding_signatures_for_findings_spec.rb'
|
||||
- 'ee/spec/lib/ee/gitlab/background_migration/update_vulnerability_occurrences_location_spec.rb'
|
||||
- 'ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_label_added_spec.rb'
|
||||
- 'ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_label_removed_spec.rb'
|
||||
- 'ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/merge_request_label_added_spec.rb'
|
||||
- 'ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/merge_request_label_removed_spec.rb'
|
||||
- 'ee/spec/lib/gitlab/ci/reports/security/locations/cluster_image_scanning_spec.rb'
|
||||
- 'ee/spec/lib/gitlab/ci/reports/security/locations/container_scanning_spec.rb'
|
||||
- 'ee/spec/lib/gitlab/ci/reports/security/locations/dast_spec.rb'
|
||||
- 'ee/spec/lib/gitlab/ci/reports/security/locations/dependency_scanning_spec.rb'
|
||||
- 'ee/spec/migrations/update_vulnerability_occurrences_location_spec.rb'
|
||||
- 'ee/spec/models/merge_train_spec.rb'
|
||||
- 'ee/spec/models/resource_weight_event_spec.rb'
|
||||
- 'ee/spec/models/vulnerabilities/finding_signature_spec.rb'
|
||||
- 'ee/spec/models/vulnerabilities/finding_spec.rb'
|
||||
- 'ee/spec/services/alert_management/process_prometheus_alert_service_spec.rb'
|
||||
- 'ee/spec/services/merge_trains/check_status_service_spec.rb'
|
||||
- 'ee/spec/services/projects/alerting/notify_service_spec.rb'
|
||||
- 'ee/spec/services/security/ingestion/tasks/ingest_identifiers_spec.rb'
|
||||
- 'ee/spec/services/security/ingestion/tasks/ingest_remediations_spec.rb'
|
||||
- 'ee/spec/services/security/override_uuids_service_spec.rb'
|
||||
- 'ee/spec/services/security/track_scan_service_spec.rb'
|
||||
- 'ee/spec/services/vulnerabilities/manually_create_service_spec.rb'
|
||||
- 'ee/spec/support/matchers/locked_schema.rb'
|
||||
- 'lib/api/files.rb'
|
||||
- 'lib/api/maven_packages.rb'
|
||||
- 'lib/atlassian/jira_connect/serializers/branch_entity.rb'
|
||||
- 'lib/container_registry/client.rb'
|
||||
- 'lib/extracts_path.rb'
|
||||
- 'lib/gitlab/alert_management/fingerprint.rb'
|
||||
- 'lib/gitlab/analytics/cycle_analytics/stage_events/stage_event.rb'
|
||||
- 'lib/gitlab/background_migration/backfill_note_discussion_id.rb'
|
||||
- 'lib/gitlab/background_migration/backfill_project_repositories.rb'
|
||||
- 'lib/gitlab/ci/pipeline/seed/build/cache.rb'
|
||||
- 'lib/gitlab/ci/reports/security/finding.rb'
|
||||
- 'lib/gitlab/ci/reports/security/finding_signature.rb'
|
||||
- 'lib/gitlab/ci/reports/security/identifier.rb'
|
||||
- 'lib/gitlab/ci/reports/security/locations/base.rb'
|
||||
- 'lib/gitlab/ci/reports/test_case.rb'
|
||||
- 'lib/gitlab/color.rb'
|
||||
- 'lib/gitlab/composer/version_index.rb'
|
||||
- 'lib/gitlab/crypto_helper.rb'
|
||||
- 'lib/gitlab/database/migration_helpers.rb'
|
||||
- 'lib/gitlab/database/migration_helpers/v2.rb'
|
||||
- 'lib/gitlab/database/partitioning_migration_helpers/foreign_key_helpers.rb'
|
||||
- 'lib/gitlab/database/schema_helpers.rb'
|
||||
- 'lib/gitlab/database/schema_migrations/migrations.rb'
|
||||
- 'lib/gitlab/database/unidirectional_copy_trigger.rb'
|
||||
- 'lib/gitlab/diff/file.rb'
|
||||
- 'lib/gitlab/diff/formatters/base_formatter.rb'
|
||||
- 'lib/gitlab/diff/position.rb'
|
||||
- 'lib/gitlab/experimentation/controller_concern.rb'
|
||||
- 'lib/gitlab/git.rb'
|
||||
- 'lib/gitlab/git/branch.rb'
|
||||
- 'lib/gitlab/git/lfs_pointer_file.rb'
|
||||
- 'lib/gitlab/git/tag.rb'
|
||||
- 'lib/gitlab/hashed_path.rb'
|
||||
- 'lib/gitlab/insecure_key_fingerprint.rb'
|
||||
- 'lib/gitlab/sidekiq_middleware/duplicate_jobs/duplicate_job.rb'
|
||||
- 'lib/gitlab/slug/environment.rb'
|
||||
- 'lib/gitlab/verify/job_artifacts.rb'
|
||||
- 'lib/json_web_token/rsa_token.rb'
|
||||
- 'lib/tasks/gitlab/assets.rake'
|
||||
- 'lib/tasks/tanuki_emoji.rake'
|
||||
- 'qa/qa/service/praefect_manager.rb'
|
||||
- 'qa/qa/specs/features/browser_ui/6_release/deploy_key/clone_using_deploy_key_spec.rb'
|
||||
- 'qa/qa/specs/features/ee/browser_ui/1_manage/group/group_saml_non_enforced_sso_spec.rb'
|
||||
- 'scripts/security-harness'
|
||||
- 'spec/components/diffs/stats_component_spec.rb'
|
||||
- 'spec/controllers/projects/blob_controller_spec.rb'
|
||||
- 'spec/factories/ci/job_artifacts.rb'
|
||||
- 'spec/factories/ci/reports/security/finding_keys.rb'
|
||||
- 'spec/factories/ci/unit_test.rb'
|
||||
- 'spec/factories/commit_signature/gpg_signature.rb'
|
||||
- 'spec/factories/commit_signature/ssh_signature.rb'
|
||||
- 'spec/factories/commit_signature/x509_commit_signature.rb'
|
||||
- 'spec/factories/design_management/designs.rb'
|
||||
- 'spec/factories/diff_position.rb'
|
||||
- 'spec/factories/gitaly/commit.rb'
|
||||
- 'spec/factories/merge_request_context_commit.rb'
|
||||
- 'spec/factories/merge_request_context_commit_diff_file.rb'
|
||||
- 'spec/factories/merge_request_diff_commits.rb'
|
||||
- 'spec/factories/merge_request_diffs.rb'
|
||||
- 'spec/factories/pages_deployments.rb'
|
||||
- 'spec/factories/sequences.rb'
|
||||
- 'spec/factories/token_with_ivs.rb'
|
||||
- 'spec/features/file_uploads/git_lfs_spec.rb'
|
||||
- 'spec/features/merge_request/user_sees_diff_spec.rb'
|
||||
- 'spec/features/merge_request/user_suggests_changes_on_diff_spec.rb'
|
||||
- 'spec/finders/merge_requests/oldest_per_commit_finder_spec.rb'
|
||||
- 'spec/lib/gitlab/alert_management/fingerprint_spec.rb'
|
||||
- 'spec/lib/gitlab/alert_management/payload/base_spec.rb'
|
||||
- 'spec/lib/gitlab/alert_management/payload/generic_spec.rb'
|
||||
- 'spec/lib/gitlab/alert_management/payload/prometheus_spec.rb'
|
||||
- 'spec/lib/gitlab/background_migration/backfill_note_discussion_id_spec.rb'
|
||||
- 'spec/lib/gitlab/background_migration/populate_vulnerability_reads_spec.rb'
|
||||
- 'spec/lib/gitlab/ci/reports/security/finding_signature_spec.rb'
|
||||
- 'spec/lib/gitlab/ci/reports/security/locations/sast_spec.rb'
|
||||
- 'spec/lib/gitlab/ci/reports/security/locations/secret_detection_spec.rb'
|
||||
- 'spec/lib/gitlab/ci/reports/test_case_spec.rb'
|
||||
- 'spec/lib/gitlab/crypto_helper_spec.rb'
|
||||
- 'spec/lib/gitlab/database/migration_helpers_spec.rb'
|
||||
- 'spec/lib/gitlab/database/schema_migrations/migrations_spec.rb'
|
||||
- 'spec/lib/gitlab/diff/file_spec.rb'
|
||||
- 'spec/lib/gitlab/diff/position_spec.rb'
|
||||
- 'spec/lib/gitlab/diff/position_tracer/image_strategy_spec.rb'
|
||||
- 'spec/lib/gitlab/diff/position_tracer/line_strategy_spec.rb'
|
||||
- 'spec/lib/gitlab/experimentation/controller_concern_spec.rb'
|
||||
- 'spec/lib/gitlab/git/branch_spec.rb'
|
||||
- 'spec/lib/gitlab/git/tag_spec.rb'
|
||||
- 'spec/lib/gitlab/sidekiq_middleware/duplicate_jobs/duplicate_job_spec.rb'
|
||||
- 'spec/lib/gitlab/slug/environment_spec.rb'
|
||||
- 'spec/migrations/20220107064845_populate_vulnerability_reads_spec.rb'
|
||||
- 'spec/migrations/20220524074947_finalize_backfill_null_note_discussion_ids_spec.rb'
|
||||
- 'spec/migrations/delete_security_findings_without_uuid_spec.rb'
|
||||
- 'spec/migrations/schedule_recalculate_vulnerability_finding_signatures_for_findings_spec.rb'
|
||||
- 'spec/models/ci/artifact_blob_spec.rb'
|
||||
- 'spec/models/ci/job_artifact_spec.rb'
|
||||
- 'spec/models/ci/pipeline_spec.rb'
|
||||
- 'spec/models/ci/secure_file_spec.rb'
|
||||
- 'spec/models/ci/unit_test_spec.rb'
|
||||
- 'spec/models/concerns/checksummable_spec.rb'
|
||||
- 'spec/models/concerns/token_authenticatable_strategies/encryption_helper_spec.rb'
|
||||
- 'spec/models/design_management/version_spec.rb'
|
||||
- 'spec/models/diff_discussion_spec.rb'
|
||||
- 'spec/models/discussion_spec.rb'
|
||||
- 'spec/models/lfs_object_spec.rb'
|
||||
- 'spec/models/merge_request_diff_spec.rb'
|
||||
- 'spec/models/merge_request_spec.rb'
|
||||
- 'spec/models/note_spec.rb'
|
||||
- 'spec/models/pages_deployment_spec.rb'
|
||||
- 'spec/models/performance_monitoring/prometheus_panel_spec.rb'
|
||||
- 'spec/models/project_spec.rb'
|
||||
- 'spec/models/release_highlight_spec.rb'
|
||||
- 'spec/models/repository_spec.rb'
|
||||
- 'spec/models/token_with_iv_spec.rb'
|
||||
- 'spec/models/upload_spec.rb'
|
||||
- 'spec/requests/api/ci/runner/jobs_artifacts_spec.rb'
|
||||
- 'spec/requests/api/ci/secure_files_spec.rb'
|
||||
- 'spec/requests/openid_connect_spec.rb'
|
||||
- 'spec/services/dependency_proxy/find_cached_manifest_service_spec.rb'
|
||||
- 'spec/services/dependency_proxy/head_manifest_service_spec.rb'
|
||||
- 'spec/services/dependency_proxy/request_token_service_spec.rb'
|
||||
- 'spec/services/import_export_clean_up_service_spec.rb'
|
||||
- 'spec/services/pages/migrate_legacy_storage_to_deployment_service_spec.rb'
|
||||
- 'spec/services/projects/after_rename_service_spec.rb'
|
||||
- 'spec/services/projects/create_service_spec.rb'
|
||||
- 'spec/services/projects/lfs_pointers/lfs_download_service_spec.rb'
|
||||
- 'spec/support/helpers/workhorse_helpers.rb'
|
||||
- 'spec/support/migrations_helpers/vulnerabilities_findings_helper.rb'
|
||||
- 'spec/support/shared_examples/lib/gitlab/ci/ci_trace_shared_examples.rb'
|
||||
- 'spec/support/shared_examples/lib/gitlab/cycle_analytics/event_shared_examples.rb'
|
||||
- 'spec/support/shared_examples/lib/gitlab/position_formatters_shared_examples.rb'
|
||||
- 'spec/support/shared_examples/services/alert_management/alert_processing/alert_firing_shared_examples.rb'
|
||||
- 'spec/support/shared_examples/services/alert_management/alert_processing/alert_recovery_shared_examples.rb'
|
||||
- 'spec/support/shared_examples/services/metrics/dashboard_shared_examples.rb'
|
||||
- 'spec/support/shared_examples/services/packages/debian/generate_distribution_shared_examples.rb'
|
||||
- 'spec/support/shared_examples/uploaders/object_storage_shared_examples.rb'
|
||||
- 'spec/support/trace/trace_helpers.rb'
|
||||
- 'spec/uploaders/ci/secure_file_uploader_spec.rb'
|
||||
- 'spec/uploaders/job_artifact_uploader_spec.rb'
|
||||
- 'spec/validators/sha_validator_spec.rb'
|
||||
- 'spec/workers/update_head_pipeline_for_merge_request_worker_spec.rb'
|
111
.rubocop_todo/fips/sha1.yml
Normal file
111
.rubocop_todo/fips/sha1.yml
Normal file
|
@ -0,0 +1,111 @@
|
|||
---
|
||||
Fips/SHA1:
|
||||
Exclude:
|
||||
- 'app/controllers/application_controller.rb'
|
||||
- 'app/helpers/application_helper.rb'
|
||||
- 'app/models/ci/artifact_blob.rb'
|
||||
- 'app/models/diff_discussion.rb'
|
||||
- 'app/models/discussion.rb'
|
||||
- 'app/models/legacy_diff_note.rb'
|
||||
- 'app/models/note.rb'
|
||||
- 'app/models/protected_branch.rb'
|
||||
- 'app/models/repository.rb'
|
||||
- 'app/models/resource_event.rb'
|
||||
- 'app/services/packages/go/create_package_service.rb'
|
||||
- 'app/services/packages/maven/metadata/append_package_file_service.rb'
|
||||
- 'app/services/packages/rubygems/create_gemspec_service.rb'
|
||||
- 'ee/app/models/storage_shard.rb'
|
||||
- 'ee/app/services/vulnerabilities/create_service_base.rb'
|
||||
- 'ee/app/services/vulnerabilities/manually_create_service.rb'
|
||||
- 'ee/app/services/vulnerabilities/starboard_vulnerability_create_service.rb'
|
||||
- 'ee/lib/ee/gitlab/background_migration/recalculate_vulnerability_finding_signatures_for_findings.rb'
|
||||
- 'ee/spec/factories/vulnerabilities/feedback.rb'
|
||||
- 'ee/spec/factories/vulnerabilities/finding_signatures.rb'
|
||||
- 'ee/spec/finders/security/pipeline_vulnerabilities_finder_spec.rb'
|
||||
- 'ee/spec/lib/ee/gitlab/alert_management/payload/generic_spec.rb'
|
||||
- 'ee/spec/lib/ee/gitlab/background_migration/populate_uuids_for_security_findings_spec.rb'
|
||||
- 'ee/spec/lib/ee/gitlab/background_migration/recalculate_vulnerability_finding_signatures_for_findings_spec.rb'
|
||||
- 'ee/spec/lib/ee/gitlab/background_migration/update_vulnerability_occurrences_location_spec.rb'
|
||||
- 'ee/spec/lib/gitlab/ci/reports/security/locations/cluster_image_scanning_spec.rb'
|
||||
- 'ee/spec/lib/gitlab/ci/reports/security/locations/container_scanning_spec.rb'
|
||||
- 'ee/spec/lib/gitlab/ci/reports/security/locations/dast_spec.rb'
|
||||
- 'ee/spec/lib/gitlab/ci/reports/security/locations/dependency_scanning_spec.rb'
|
||||
- 'ee/spec/migrations/update_vulnerability_occurrences_location_spec.rb'
|
||||
- 'ee/spec/models/merge_train_spec.rb'
|
||||
- 'ee/spec/models/resource_weight_event_spec.rb'
|
||||
- 'ee/spec/models/vulnerabilities/finding_signature_spec.rb'
|
||||
- 'ee/spec/models/vulnerabilities/finding_spec.rb'
|
||||
- 'ee/spec/services/alert_management/process_prometheus_alert_service_spec.rb'
|
||||
- 'ee/spec/services/merge_trains/check_status_service_spec.rb'
|
||||
- 'ee/spec/services/projects/alerting/notify_service_spec.rb'
|
||||
- 'ee/spec/services/security/ingestion/tasks/ingest_identifiers_spec.rb'
|
||||
- 'ee/spec/services/security/override_uuids_service_spec.rb'
|
||||
- 'ee/spec/services/vulnerabilities/manually_create_service_spec.rb'
|
||||
- 'lib/extracts_path.rb'
|
||||
- 'lib/gitlab/alert_management/fingerprint.rb'
|
||||
- 'lib/gitlab/background_migration/backfill_note_discussion_id.rb'
|
||||
- 'lib/gitlab/ci/pipeline/seed/build/cache.rb'
|
||||
- 'lib/gitlab/ci/reports/security/finding.rb'
|
||||
- 'lib/gitlab/ci/reports/security/finding_signature.rb'
|
||||
- 'lib/gitlab/ci/reports/security/identifier.rb'
|
||||
- 'lib/gitlab/ci/reports/security/locations/base.rb'
|
||||
- 'lib/gitlab/diff/file.rb'
|
||||
- 'lib/gitlab/diff/formatters/base_formatter.rb'
|
||||
- 'lib/gitlab/diff/position.rb'
|
||||
- 'lib/gitlab/git.rb'
|
||||
- 'lib/gitlab/git/branch.rb'
|
||||
- 'lib/gitlab/git/tag.rb'
|
||||
- 'qa/qa/specs/features/browser_ui/6_release/deploy_key/clone_using_deploy_key_spec.rb'
|
||||
- 'qa/qa/specs/features/ee/browser_ui/1_manage/group/group_saml_non_enforced_sso_spec.rb'
|
||||
- 'spec/components/diffs/stats_component_spec.rb'
|
||||
- 'spec/controllers/projects/blob_controller_spec.rb'
|
||||
- 'spec/factories/ci/reports/security/finding_keys.rb'
|
||||
- 'spec/factories/commit_signature/gpg_signature.rb'
|
||||
- 'spec/factories/commit_signature/ssh_signature.rb'
|
||||
- 'spec/factories/commit_signature/x509_commit_signature.rb'
|
||||
- 'spec/factories/design_management/designs.rb'
|
||||
- 'spec/factories/diff_position.rb'
|
||||
- 'spec/factories/gitaly/commit.rb'
|
||||
- 'spec/factories/merge_request_context_commit.rb'
|
||||
- 'spec/factories/merge_request_context_commit_diff_file.rb'
|
||||
- 'spec/factories/merge_request_diff_commits.rb'
|
||||
- 'spec/factories/merge_request_diffs.rb'
|
||||
- 'spec/factories/sequences.rb'
|
||||
- 'spec/features/merge_request/user_sees_diff_spec.rb'
|
||||
- 'spec/features/merge_request/user_suggests_changes_on_diff_spec.rb'
|
||||
- 'spec/finders/merge_requests/oldest_per_commit_finder_spec.rb'
|
||||
- 'spec/lib/gitlab/alert_management/fingerprint_spec.rb'
|
||||
- 'spec/lib/gitlab/alert_management/payload/base_spec.rb'
|
||||
- 'spec/lib/gitlab/alert_management/payload/generic_spec.rb'
|
||||
- 'spec/lib/gitlab/alert_management/payload/prometheus_spec.rb'
|
||||
- 'spec/lib/gitlab/background_migration/backfill_note_discussion_id_spec.rb'
|
||||
- 'spec/lib/gitlab/background_migration/populate_vulnerability_reads_spec.rb'
|
||||
- 'spec/lib/gitlab/ci/reports/security/finding_signature_spec.rb'
|
||||
- 'spec/lib/gitlab/ci/reports/security/locations/sast_spec.rb'
|
||||
- 'spec/lib/gitlab/ci/reports/security/locations/secret_detection_spec.rb'
|
||||
- 'spec/lib/gitlab/diff/file_spec.rb'
|
||||
- 'spec/lib/gitlab/diff/position_spec.rb'
|
||||
- 'spec/lib/gitlab/diff/position_tracer/image_strategy_spec.rb'
|
||||
- 'spec/lib/gitlab/diff/position_tracer/line_strategy_spec.rb'
|
||||
- 'spec/lib/gitlab/git/branch_spec.rb'
|
||||
- 'spec/lib/gitlab/git/tag_spec.rb'
|
||||
- 'spec/migrations/20220107064845_populate_vulnerability_reads_spec.rb'
|
||||
- 'spec/migrations/20220524074947_finalize_backfill_null_note_discussion_ids_spec.rb'
|
||||
- 'spec/migrations/delete_security_findings_without_uuid_spec.rb'
|
||||
- 'spec/migrations/schedule_recalculate_vulnerability_finding_signatures_for_findings_spec.rb'
|
||||
- 'spec/models/ci/artifact_blob_spec.rb'
|
||||
- 'spec/models/ci/job_artifact_spec.rb'
|
||||
- 'spec/models/ci/pipeline_spec.rb'
|
||||
- 'spec/models/design_management/version_spec.rb'
|
||||
- 'spec/models/diff_discussion_spec.rb'
|
||||
- 'spec/models/discussion_spec.rb'
|
||||
- 'spec/models/merge_request_diff_spec.rb'
|
||||
- 'spec/models/merge_request_spec.rb'
|
||||
- 'spec/models/note_spec.rb'
|
||||
- 'spec/models/repository_spec.rb'
|
||||
- 'spec/support/migrations_helpers/vulnerabilities_findings_helper.rb'
|
||||
- 'spec/support/shared_examples/lib/gitlab/position_formatters_shared_examples.rb'
|
||||
- 'spec/support/shared_examples/services/alert_management/alert_processing/alert_firing_shared_examples.rb'
|
||||
- 'spec/support/shared_examples/services/alert_management/alert_processing/alert_recovery_shared_examples.rb'
|
||||
- 'spec/validators/sha_validator_spec.rb'
|
||||
- 'spec/workers/update_head_pipeline_for_merge_request_worker_spec.rb'
|
|
@ -2,6 +2,5 @@
|
|||
Gitlab/DelegatePredicateMethods:
|
||||
Exclude:
|
||||
- app/models/clusters/cluster.rb
|
||||
- app/models/concerns/integrations/base_data_fields.rb
|
||||
- app/models/project.rb
|
||||
- ee/app/models/concerns/ee/ci/metadatable.rb
|
||||
|
|
|
@ -25,7 +25,6 @@ Gitlab/FeatureAvailableUsage:
|
|||
- ee/app/controllers/projects/subscriptions_controller.rb
|
||||
- ee/app/finders/autocomplete/vulnerabilities_autocomplete_finder.rb
|
||||
- ee/app/finders/clusters/agents_finder.rb
|
||||
- ee/app/finders/ee/alert_management/alerts_finder.rb
|
||||
- ee/app/finders/ee/alert_management/http_integrations_finder.rb
|
||||
- ee/app/graphql/ee/types/group_type.rb
|
||||
- ee/app/graphql/mutations/dast/profiles/create.rb
|
||||
|
|
|
@ -500,8 +500,6 @@ Gitlab/NamespacedClass:
|
|||
- 'app/serializers/current_board_entity.rb'
|
||||
- 'app/serializers/current_board_serializer.rb'
|
||||
- 'app/serializers/current_user_entity.rb'
|
||||
- 'app/serializers/deploy_key_entity.rb'
|
||||
- 'app/serializers/deploy_key_serializer.rb'
|
||||
- 'app/serializers/deploy_keys_project_entity.rb'
|
||||
- 'app/serializers/deployment_cluster_entity.rb'
|
||||
- 'app/serializers/deployment_entity.rb'
|
||||
|
@ -614,10 +612,6 @@ Gitlab/NamespacedClass:
|
|||
- 'app/serializers/route_entity.rb'
|
||||
- 'app/serializers/route_serializer.rb'
|
||||
- 'app/serializers/runner_entity.rb'
|
||||
- 'app/serializers/service_event_entity.rb'
|
||||
- 'app/serializers/service_event_serializer.rb'
|
||||
- 'app/serializers/service_field_entity.rb'
|
||||
- 'app/serializers/service_field_serializer.rb'
|
||||
- 'app/serializers/stage_entity.rb'
|
||||
- 'app/serializers/stage_serializer.rb'
|
||||
- 'app/serializers/suggestion_entity.rb'
|
||||
|
@ -774,7 +768,6 @@ Gitlab/NamespacedClass:
|
|||
- 'app/workers/error_tracking_issue_link_worker.rb'
|
||||
- 'app/workers/expire_build_artifacts_worker.rb'
|
||||
- 'app/workers/expire_job_cache_worker.rb'
|
||||
- 'app/workers/expire_pipeline_cache_worker.rb'
|
||||
- 'app/workers/export_csv_worker.rb'
|
||||
- 'app/workers/external_service_reactive_caching_worker.rb'
|
||||
- 'app/workers/file_hook_worker.rb'
|
||||
|
@ -788,7 +781,6 @@ Gitlab/NamespacedClass:
|
|||
- 'app/workers/import_export_project_cleanup_worker.rb'
|
||||
- 'app/workers/import_issues_csv_worker.rb'
|
||||
- 'app/workers/invalid_gpg_signature_update_worker.rb'
|
||||
- 'app/workers/irker_worker.rb'
|
||||
- 'app/workers/issuable_export_csv_worker.rb'
|
||||
- 'app/workers/issue_due_scheduler_worker.rb'
|
||||
- 'app/workers/issue_placement_worker.rb'
|
||||
|
@ -798,7 +790,6 @@ Gitlab/NamespacedClass:
|
|||
- 'app/workers/merge_request_mergeability_check_worker.rb'
|
||||
- 'app/workers/merge_worker.rb'
|
||||
- 'app/workers/migrate_external_diffs_worker.rb'
|
||||
- 'app/workers/namespaceless_project_destroy_worker.rb'
|
||||
- 'app/workers/new_issue_worker.rb'
|
||||
- 'app/workers/new_merge_request_worker.rb'
|
||||
- 'app/workers/new_note_worker.rb'
|
||||
|
@ -818,10 +809,8 @@ Gitlab/NamespacedClass:
|
|||
- 'app/workers/post_receive.rb'
|
||||
- 'app/workers/process_commit_worker.rb'
|
||||
- 'app/workers/project_cache_worker.rb'
|
||||
- 'app/workers/project_daily_statistics_worker.rb'
|
||||
- 'app/workers/project_destroy_worker.rb'
|
||||
- 'app/workers/project_export_worker.rb'
|
||||
- 'app/workers/project_service_worker.rb'
|
||||
- 'app/workers/propagate_integration_group_worker.rb'
|
||||
- 'app/workers/propagate_integration_inherit_descendant_worker.rb'
|
||||
- 'app/workers/propagate_integration_inherit_worker.rb'
|
||||
|
@ -1024,7 +1013,6 @@ Gitlab/NamespacedClass:
|
|||
- 'ee/app/serializers/group_analytics_serializer.rb'
|
||||
- 'ee/app/serializers/group_vulnerability_autocomplete_entity.rb'
|
||||
- 'ee/app/serializers/group_vulnerability_autocomplete_serializer.rb'
|
||||
- 'ee/app/serializers/invited_group_entity.rb'
|
||||
- 'ee/app/serializers/invited_group_serializer.rb'
|
||||
- 'ee/app/serializers/iteration_serializer.rb'
|
||||
- 'ee/app/serializers/license_entity.rb'
|
||||
|
@ -1089,7 +1077,6 @@ Gitlab/NamespacedClass:
|
|||
- 'ee/app/workers/project_import_schedule_worker.rb'
|
||||
- 'ee/app/workers/project_template_export_worker.rb'
|
||||
- 'ee/app/workers/refresh_license_compliance_checks_worker.rb'
|
||||
- 'ee/app/workers/repository_push_audit_event_worker.rb'
|
||||
- 'ee/app/workers/repository_update_mirror_worker.rb'
|
||||
- 'ee/app/workers/scan_security_report_secrets_worker.rb'
|
||||
- 'ee/app/workers/set_user_status_based_on_user_cap_setting_worker.rb'
|
||||
|
@ -1109,7 +1096,6 @@ Gitlab/NamespacedClass:
|
|||
- 'ee/lib/gitlab/items_collection.rb'
|
||||
- 'ee/lib/gitlab/manual_banner.rb'
|
||||
- 'ee/lib/gitlab/manual_quarterly_co_term_banner.rb'
|
||||
- 'ee/lib/gitlab/manual_renewal_banner.rb'
|
||||
- 'ee/lib/gitlab/pagination_delegate.rb'
|
||||
- 'ee/lib/gitlab/path_locks_finder.rb'
|
||||
- 'ee/lib/gitlab/proxy.rb'
|
||||
|
@ -1225,7 +1211,6 @@ Gitlab/NamespacedClass:
|
|||
- 'lib/gitlab/object_hierarchy.rb'
|
||||
- 'lib/gitlab/omniauth_initializer.rb'
|
||||
- 'lib/gitlab/otp_key_rotator.rb'
|
||||
- 'lib/gitlab/pages_transfer.rb'
|
||||
- 'lib/gitlab/pipeline_scope_counts.rb'
|
||||
- 'lib/gitlab/polling_interval.rb'
|
||||
- 'lib/gitlab/process_memory_cache.rb'
|
||||
|
@ -1279,7 +1264,6 @@ Gitlab/NamespacedClass:
|
|||
- 'lib/gitlab/unicode.rb'
|
||||
- 'lib/gitlab/untrusted_regexp.rb'
|
||||
- 'lib/gitlab/untrusted_regexp/ruby_syntax.rb'
|
||||
- 'lib/gitlab/updated_notes_paginator.rb'
|
||||
- 'lib/gitlab/uploads_transfer.rb'
|
||||
- 'lib/gitlab/url_blocker.rb'
|
||||
- 'lib/gitlab/url_builder.rb'
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
---
|
||||
GraphQL/OrderedArguments:
|
||||
Exclude:
|
||||
- app/graphql/resolvers/base_issues_resolver.rb
|
||||
- app/graphql/resolvers/design_management/designs_resolver.rb
|
||||
- app/graphql/resolvers/design_management/version/design_at_version_resolver.rb
|
|
@ -1,55 +1,12 @@
|
|||
---
|
||||
GraphQL/OrderedFields:
|
||||
Exclude:
|
||||
- app/graphql/types/ci/runner_platform_type.rb
|
||||
- app/graphql/types/ci/runner_type.rb
|
||||
- app/graphql/types/ci/stage_type.rb
|
||||
- app/graphql/types/ci/status_action_type.rb
|
||||
- app/graphql/types/ci/template_type.rb
|
||||
- app/graphql/types/commit_type.rb
|
||||
- app/graphql/types/container_expiration_policy_type.rb
|
||||
- app/graphql/types/container_repository_tag_type.rb
|
||||
- app/graphql/types/container_repository_type.rb
|
||||
- app/graphql/types/dependency_proxy/blob_type.rb
|
||||
- app/graphql/types/dependency_proxy/image_ttl_group_policy_type.rb
|
||||
- app/graphql/types/dependency_proxy/manifest_type.rb
|
||||
- app/graphql/types/design_management/design_collection_type.rb
|
||||
- app/graphql/types/diff_refs_type.rb
|
||||
- app/graphql/types/diff_stats_summary_type.rb
|
||||
- app/graphql/types/diff_stats_type.rb
|
||||
- app/graphql/types/error_tracking/sentry_detailed_error_type.rb
|
||||
- app/graphql/types/error_tracking/sentry_error_collection_type.rb
|
||||
- app/graphql/types/error_tracking/sentry_error_frequency_type.rb
|
||||
- app/graphql/types/error_tracking/sentry_error_stack_trace_context_type.rb
|
||||
- app/graphql/types/error_tracking/sentry_error_stack_trace_entry_type.rb
|
||||
- app/graphql/types/merge_request_type.rb
|
||||
- app/graphql/types/metadata/kas_type.rb
|
||||
- app/graphql/types/metadata_type.rb
|
||||
- app/graphql/types/namespace/package_settings_type.rb
|
||||
- app/graphql/types/namespace_type.rb
|
||||
- app/graphql/types/notes/diff_position_type.rb
|
||||
- app/graphql/types/notes/discussion_type.rb
|
||||
- app/graphql/types/notes/note_type.rb
|
||||
- app/graphql/types/packages/nuget/metadatum_type.rb
|
||||
- app/graphql/types/packages/package_dependency_link_type.rb
|
||||
- app/graphql/types/packages/package_file_type.rb
|
||||
- app/graphql/types/packages/package_tag_type.rb
|
||||
- app/graphql/types/packages/package_type.rb
|
||||
- app/graphql/types/project_statistics_type.rb
|
||||
- app/graphql/types/project_type.rb
|
||||
- app/graphql/types/projects/services/jira_project_type.rb
|
||||
- app/graphql/types/release_asset_link_type.rb
|
||||
- app/graphql/types/release_links_type.rb
|
||||
- app/graphql/types/release_type.rb
|
||||
- app/graphql/types/repository_type.rb
|
||||
- app/graphql/types/root_storage_statistics_type.rb
|
||||
- app/graphql/types/task_completion_status.rb
|
||||
- app/graphql/types/tree/blob_type.rb
|
||||
- ee/app/graphql/types/epic_type.rb
|
||||
- ee/app/graphql/types/geo/geo_node_type.rb
|
||||
- ee/app/graphql/types/requirements_management/requirement_states_count_type.rb
|
||||
- ee/app/graphql/types/scan_execution_policy_type.rb
|
||||
- ee/app/graphql/types/scan_type.rb
|
||||
- ee/app/graphql/types/scanned_resource_type.rb
|
||||
- ee/app/graphql/types/security_report_summary_section_type.rb
|
||||
- ee/app/graphql/types/timebox_report_type.rb
|
||||
|
|
|
@ -3,5 +3,4 @@ GraphQL/ResolverMethodLength:
|
|||
Exclude:
|
||||
- app/graphql/types/ci/detailed_status_type.rb
|
||||
- app/graphql/types/ci/runner_type.rb
|
||||
- app/graphql/types/ci/stage_type.rb
|
||||
- app/graphql/types/packages/package_type.rb
|
||||
- app/graphql/types/ci/stage_type.rb
|
|
@ -293,7 +293,6 @@ Layout/ArgumentAlignment:
|
|||
- 'ee/app/controllers/subscriptions_controller.rb'
|
||||
- 'ee/app/finders/geo/registry_finder.rb'
|
||||
- 'ee/app/graphql/ee/mutations/boards/issues/issue_move_list.rb'
|
||||
- 'ee/app/graphql/ee/mutations/ci/ci_cd_settings_update.rb'
|
||||
- 'ee/app/graphql/ee/types/ci/pipeline_type.rb'
|
||||
- 'ee/app/graphql/ee/types/deprecated_mutations.rb'
|
||||
- 'ee/app/graphql/mutations/app_sec/fuzzing/api/ci_configuration/create.rb'
|
||||
|
@ -395,7 +394,6 @@ Layout/ArgumentAlignment:
|
|||
- 'ee/spec/features/uncompleted_learn_gitlab_link_spec.rb'
|
||||
- 'ee/spec/finders/security/pipeline_vulnerabilities_finder_spec.rb'
|
||||
- 'ee/spec/frontend/fixtures/search.rb'
|
||||
- 'ee/spec/graphql/mutations/incident_management/timeline_event/create_spec.rb'
|
||||
- 'ee/spec/graphql/mutations/requirements_management/export_requirements_spec.rb'
|
||||
- 'ee/spec/helpers/billing_plans_helper_spec.rb'
|
||||
- 'ee/spec/helpers/ee/users/callouts_helper_spec.rb'
|
||||
|
@ -780,7 +778,6 @@ Layout/ArgumentAlignment:
|
|||
- 'spec/lib/gitlab/usage/metrics/query_spec.rb'
|
||||
- 'spec/lib/gitlab/usage_data_counters/designs_counter_spec.rb'
|
||||
- 'spec/lib/gitlab/usage_data_counters/snippet_counter_spec.rb'
|
||||
- 'spec/lib/gitlab/usage_data_counters/static_site_editor_counter_spec.rb'
|
||||
- 'spec/lib/gitlab/usage_data_counters/wiki_page_counter_spec.rb'
|
||||
- 'spec/lib/gitlab/usage_data_queries_spec.rb'
|
||||
- 'spec/lib/mattermost/session_spec.rb'
|
||||
|
|
|
@ -483,7 +483,6 @@ Layout/HashAlignment:
|
|||
- 'lib/backup/gitaly_backup.rb'
|
||||
- 'lib/banzai/filter/references/abstract_reference_filter.rb'
|
||||
- 'lib/banzai/reference_redactor.rb'
|
||||
- 'lib/bulk_imports/projects/pipelines/project_attributes_pipeline.rb'
|
||||
- 'lib/gitlab/abuse.rb'
|
||||
- 'lib/gitlab/access.rb'
|
||||
- 'lib/gitlab/application_rate_limiter.rb'
|
||||
|
|
|
@ -102,7 +102,6 @@ Layout/LineLength:
|
|||
- 'app/controllers/projects/pipelines_controller.rb'
|
||||
- 'app/controllers/projects/prometheus/metrics_controller.rb'
|
||||
- 'app/controllers/projects/raw_controller.rb'
|
||||
- 'app/controllers/projects/services_controller.rb'
|
||||
- 'app/controllers/projects/settings/ci_cd_controller.rb'
|
||||
- 'app/controllers/projects/settings/operations_controller.rb'
|
||||
- 'app/controllers/projects/settings/repository_controller.rb'
|
||||
|
@ -384,7 +383,6 @@ Layout/LineLength:
|
|||
- 'app/models/concerns/redis_cacheable.rb'
|
||||
- 'app/models/concerns/restricted_signup.rb'
|
||||
- 'app/models/concerns/routable.rb'
|
||||
- 'app/models/concerns/sha256_attribute.rb'
|
||||
- 'app/models/concerns/shardable.rb'
|
||||
- 'app/models/concerns/sortable.rb'
|
||||
- 'app/models/concerns/storage/legacy_namespace.rb'
|
||||
|
@ -433,7 +431,6 @@ Layout/LineLength:
|
|||
- 'app/models/integrations/flowdock.rb'
|
||||
- 'app/models/integrations/hangouts_chat.rb'
|
||||
- 'app/models/integrations/harbor.rb'
|
||||
- 'app/models/integrations/irker.rb'
|
||||
- 'app/models/integrations/jenkins.rb'
|
||||
- 'app/models/integrations/jira.rb'
|
||||
- 'app/models/integrations/mattermost.rb'
|
||||
|
@ -531,7 +528,6 @@ Layout/LineLength:
|
|||
- 'app/serializers/base_discussion_entity.rb'
|
||||
- 'app/serializers/build_details_entity.rb'
|
||||
- 'app/serializers/ci/pipeline_entity.rb'
|
||||
- 'app/serializers/deploy_key_entity.rb'
|
||||
- 'app/serializers/deployment_cluster_entity.rb'
|
||||
- 'app/serializers/deployment_entity.rb'
|
||||
- 'app/serializers/diff_file_base_entity.rb'
|
||||
|
@ -591,7 +587,6 @@ Layout/LineLength:
|
|||
- 'app/services/compare_service.rb'
|
||||
- 'app/services/concerns/base_service_utility.rb'
|
||||
- 'app/services/concerns/exclusive_lease_guard.rb'
|
||||
- 'app/services/concerns/members/bulk_create_users.rb'
|
||||
- 'app/services/concerns/merge_requests/assigns_merge_params.rb'
|
||||
- 'app/services/concerns/rate_limited_service.rb'
|
||||
- 'app/services/concerns/schedule_bulk_repository_shard_moves_methods.rb'
|
||||
|
@ -652,7 +647,6 @@ Layout/LineLength:
|
|||
- 'app/services/members/approve_access_request_service.rb'
|
||||
- 'app/services/members/destroy_service.rb'
|
||||
- 'app/services/members/invitation_reminder_email_service.rb'
|
||||
- 'app/services/members/mailgun/process_webhook_service.rb'
|
||||
- 'app/services/members/update_service.rb'
|
||||
- 'app/services/merge_requests/add_context_service.rb'
|
||||
- 'app/services/merge_requests/assign_issues_service.rb'
|
||||
|
@ -770,7 +764,6 @@ Layout/LineLength:
|
|||
- 'app/views/projects/merge_requests/index.atom.builder'
|
||||
- 'app/workers/analytics/usage_trends/counter_job_worker.rb'
|
||||
- 'app/workers/background_migration/single_database_worker.rb'
|
||||
- 'app/workers/clusters/applications/deactivate_service_worker.rb'
|
||||
- 'app/workers/concerns/application_worker.rb'
|
||||
- 'app/workers/concerns/each_shard_worker.rb'
|
||||
- 'app/workers/concerns/limited_capacity/worker.rb'
|
||||
|
@ -799,7 +792,6 @@ Layout/LineLength:
|
|||
- 'app/workers/packages/maven/metadata/sync_worker.rb'
|
||||
- 'app/workers/personal_access_tokens/expired_notification_worker.rb'
|
||||
- 'app/workers/pipeline_metrics_worker.rb'
|
||||
- 'app/workers/quality/test_data_cleanup_worker.rb'
|
||||
- 'app/workers/repository_fork_worker.rb'
|
||||
- 'app/workers/repository_import_worker.rb'
|
||||
- 'app/workers/ssh_keys/expired_notification_worker.rb'
|
||||
|
@ -835,7 +827,6 @@ Layout/LineLength:
|
|||
- 'config/initializers/wikicloth_redos_patch.rb'
|
||||
- 'config/initializers/zz_metrics.rb'
|
||||
- 'config/object_store_settings.rb'
|
||||
- 'config/puma.rb'
|
||||
- 'config/routes.rb'
|
||||
- 'config/routes/admin.rb'
|
||||
- 'config/routes/api.rb'
|
||||
|
@ -1001,7 +992,6 @@ Layout/LineLength:
|
|||
- 'db/migrate/20220310101118_update_holder_name_limit.rb'
|
||||
- 'db/migrate/20220314184209_add_group_fk_to_protected_environment_approval_rules.rb'
|
||||
- 'db/migrate/20220314204009_add_approval_rule_fk_to_deployment_approvals.rb'
|
||||
- 'db/optional_migrations/composite_primary_keys.rb'
|
||||
- 'db/post_migrate/20210328214434_remove_temporary_index_from_vulnerabilities_table.rb'
|
||||
- 'db/post_migrate/20210401131948_move_container_registry_enabled_to_project_features2.rb'
|
||||
- 'db/post_migrate/20210402005225_add_source_and_level_index_on_notification_settings.rb'
|
||||
|
@ -1181,7 +1171,6 @@ Layout/LineLength:
|
|||
- 'ee/app/controllers/projects/requirements_management/requirements_controller.rb'
|
||||
- 'ee/app/controllers/projects/security/policies_controller.rb'
|
||||
- 'ee/app/controllers/projects/security/vulnerabilities/notes_controller.rb'
|
||||
- 'ee/app/controllers/projects/threat_monitoring_controller.rb'
|
||||
- 'ee/app/controllers/registrations/groups_controller.rb'
|
||||
- 'ee/app/controllers/registrations/groups_projects_controller.rb'
|
||||
- 'ee/app/controllers/subscriptions_controller.rb'
|
||||
|
@ -1329,7 +1318,6 @@ Layout/LineLength:
|
|||
- 'ee/app/helpers/projects/security/dast_configuration_helper.rb'
|
||||
- 'ee/app/helpers/projects/security/dast_profiles_helper.rb'
|
||||
- 'ee/app/helpers/projects/security/discover_helper.rb'
|
||||
- 'ee/app/helpers/projects/security/policies_helper.rb'
|
||||
- 'ee/app/helpers/push_rules_helper.rb'
|
||||
- 'ee/app/helpers/seats_count_alert_helper.rb'
|
||||
- 'ee/app/helpers/security_helper.rb'
|
||||
|
@ -1529,7 +1517,6 @@ Layout/LineLength:
|
|||
- 'ee/app/services/ee/users/update_service.rb'
|
||||
- 'ee/app/services/elastic/cluster_reindexing_service.rb'
|
||||
- 'ee/app/services/elastic/indexing_control_service.rb'
|
||||
- 'ee/app/services/epic_links/create_service.rb'
|
||||
- 'ee/app/services/epic_links/list_service.rb'
|
||||
- 'ee/app/services/epics/issue_promote_service.rb'
|
||||
- 'ee/app/services/epics/update_service.rb'
|
||||
|
@ -1823,7 +1810,6 @@ Layout/LineLength:
|
|||
- 'ee/lib/gitlab/geo/jwt_request_decoder.rb'
|
||||
- 'ee/lib/gitlab/geo/log_cursor/events/repository_created_event.rb'
|
||||
- 'ee/lib/gitlab/geo/registry_batcher.rb'
|
||||
- 'ee/lib/gitlab/geo/replication/base_downloader.rb'
|
||||
- 'ee/lib/gitlab/geo/replication/base_transfer.rb'
|
||||
- 'ee/lib/gitlab/geo/replication/blob_downloader.rb'
|
||||
- 'ee/lib/gitlab/geo/replicator.rb'
|
||||
|
@ -3100,7 +3086,6 @@ Layout/LineLength:
|
|||
- 'ee/spec/views/registrations/welcome/show.html.haml_spec.rb'
|
||||
- 'ee/spec/views/shared/_mirror_status.html.haml_spec.rb'
|
||||
- 'ee/spec/views/shared/_namespace_user_cap_reached_alert.html.haml_spec.rb'
|
||||
- 'ee/spec/views/shared/_user_over_limit_free_plan_alert.html.haml_spec.rb'
|
||||
- 'ee/spec/views/shared/access_tokens/_table.html.haml_spec.rb'
|
||||
- 'ee/spec/views/shared/billings/_eoa_bronze_plan_banner.html.haml_spec.rb'
|
||||
- 'ee/spec/views/shared/billings/_trial_status.html.haml_spec.rb'
|
||||
|
@ -3315,7 +3300,6 @@ Layout/LineLength:
|
|||
- 'lib/bulk_imports/common/pipelines/wiki_pipeline.rb'
|
||||
- 'lib/bulk_imports/common/transformers/prohibited_attributes_transformer.rb'
|
||||
- 'lib/bulk_imports/groups/loaders/group_loader.rb'
|
||||
- 'lib/bulk_imports/projects/pipelines/project_attributes_pipeline.rb'
|
||||
- 'lib/bulk_imports/projects/pipelines/project_pipeline.rb'
|
||||
- 'lib/bulk_imports/projects/pipelines/repository_pipeline.rb'
|
||||
- 'lib/bulk_imports/projects/transformers/project_attributes_transformer.rb'
|
||||
|
@ -3466,11 +3450,9 @@ Layout/LineLength:
|
|||
- 'lib/gitlab/database/migrations/runner.rb'
|
||||
- 'lib/gitlab/database/migrations/test_background_runner.rb'
|
||||
- 'lib/gitlab/database/partitioning/detached_partition_dropper.rb'
|
||||
- 'lib/gitlab/database/partitioning/partition_manager.rb'
|
||||
- 'lib/gitlab/database/partitioning/partition_monitoring.rb'
|
||||
- 'lib/gitlab/database/partitioning/replace_table.rb'
|
||||
- 'lib/gitlab/database/partitioning/single_numeric_list_partition.rb'
|
||||
- 'lib/gitlab/database/partitioning/sliding_list_strategy.rb'
|
||||
- 'lib/gitlab/database/partitioning/time_partition.rb'
|
||||
- 'lib/gitlab/database/partitioning_migration_helpers/backfill_partitioned_table.rb'
|
||||
- 'lib/gitlab/database/partitioning_migration_helpers/table_management_helpers.rb'
|
||||
|
@ -3683,7 +3665,6 @@ Layout/LineLength:
|
|||
- 'lib/gitlab/slash_commands/issue_new.rb'
|
||||
- 'lib/gitlab/sql/pattern.rb'
|
||||
- 'lib/gitlab/ssh_public_key.rb'
|
||||
- 'lib/gitlab/static_site_editor/config/generated_config.rb'
|
||||
- 'lib/gitlab/subscription_portal.rb'
|
||||
- 'lib/gitlab/tracking.rb'
|
||||
- 'lib/gitlab/tracking/destinations/snowplow.rb'
|
||||
|
@ -4206,7 +4187,6 @@ Layout/LineLength:
|
|||
- 'spec/controllers/projects/serverless/functions_controller_spec.rb'
|
||||
- 'spec/controllers/projects/service_desk_controller_spec.rb'
|
||||
- 'spec/controllers/projects/service_ping_controller_spec.rb'
|
||||
- 'spec/controllers/projects/services_controller_spec.rb'
|
||||
- 'spec/controllers/projects/settings/ci_cd_controller_spec.rb'
|
||||
- 'spec/controllers/projects/settings/operations_controller_spec.rb'
|
||||
- 'spec/controllers/projects/settings/repository_controller_spec.rb'
|
||||
|
@ -4246,7 +4226,6 @@ Layout/LineLength:
|
|||
- 'spec/factories/project_members.rb'
|
||||
- 'spec/factories/projects.rb'
|
||||
- 'spec/factories/usage_data.rb'
|
||||
- 'spec/factories_spec.rb'
|
||||
- 'spec/features/action_cable_logging_spec.rb'
|
||||
- 'spec/features/admin/admin_abuse_reports_spec.rb'
|
||||
- 'spec/features/admin/admin_mode/login_spec.rb'
|
||||
|
@ -4790,12 +4769,10 @@ Layout/LineLength:
|
|||
- 'spec/lib/bulk_imports/groups/loaders/group_loader_spec.rb'
|
||||
- 'spec/lib/bulk_imports/groups/pipelines/group_pipeline_spec.rb'
|
||||
- 'spec/lib/bulk_imports/groups/pipelines/subgroup_entities_pipeline_spec.rb'
|
||||
- 'spec/lib/bulk_imports/groups/stage_spec.rb'
|
||||
- 'spec/lib/bulk_imports/ndjson_pipeline_spec.rb'
|
||||
- 'spec/lib/bulk_imports/pipeline_spec.rb'
|
||||
- 'spec/lib/bulk_imports/projects/pipelines/external_pull_requests_pipeline_spec.rb'
|
||||
- 'spec/lib/bulk_imports/projects/pipelines/issues_pipeline_spec.rb'
|
||||
- 'spec/lib/bulk_imports/projects/pipelines/project_attributes_pipeline_spec.rb'
|
||||
- 'spec/lib/bulk_imports/projects/pipelines/project_feature_pipeline_spec.rb'
|
||||
- 'spec/lib/bulk_imports/projects/pipelines/project_pipeline_spec.rb'
|
||||
- 'spec/lib/bulk_imports/projects/pipelines/protected_branches_pipeline_spec.rb'
|
||||
|
@ -4998,7 +4975,6 @@ Layout/LineLength:
|
|||
- 'spec/lib/gitlab/database/partitioning/monthly_strategy_spec.rb'
|
||||
- 'spec/lib/gitlab/database/partitioning/partition_manager_spec.rb'
|
||||
- 'spec/lib/gitlab/database/partitioning/partition_monitoring_spec.rb'
|
||||
- 'spec/lib/gitlab/database/partitioning/sliding_list_strategy_spec.rb'
|
||||
- 'spec/lib/gitlab/database/partitioning_migration_helpers/index_helpers_spec.rb'
|
||||
- 'spec/lib/gitlab/database/partitioning_migration_helpers/table_management_helpers_spec.rb'
|
||||
- 'spec/lib/gitlab/database/postgres_foreign_key_spec.rb'
|
||||
|
@ -5902,7 +5878,6 @@ Layout/LineLength:
|
|||
- 'spec/serializers/paginated_diff_entity_spec.rb'
|
||||
- 'spec/serializers/pipeline_serializer_spec.rb'
|
||||
- 'spec/serializers/review_app_setup_entity_spec.rb'
|
||||
- 'spec/serializers/service_field_entity_spec.rb'
|
||||
- 'spec/services/alert_management/alerts/update_service_spec.rb'
|
||||
- 'spec/services/alert_management/create_alert_issue_service_spec.rb'
|
||||
- 'spec/services/alert_management/http_integrations/create_service_spec.rb'
|
||||
|
@ -6223,7 +6198,6 @@ Layout/LineLength:
|
|||
- 'spec/support/helpers/global_id_deprecation_helpers.rb'
|
||||
- 'spec/support/helpers/graphql_helpers.rb'
|
||||
- 'spec/support/helpers/javascript_fixtures_helpers.rb'
|
||||
- 'spec/support/helpers/jira_service_helper.rb'
|
||||
- 'spec/support/helpers/kubernetes_helpers.rb'
|
||||
- 'spec/support/helpers/lets_encrypt_helpers.rb'
|
||||
- 'spec/support/helpers/live_debugger.rb'
|
||||
|
@ -6511,8 +6485,6 @@ Layout/LineLength:
|
|||
- 'spec/workers/ci/ref_delete_unlock_artifacts_worker_spec.rb'
|
||||
- 'spec/workers/ci/resource_groups/assign_resource_from_resource_group_worker_spec.rb'
|
||||
- 'spec/workers/cluster_wait_for_app_update_worker_spec.rb'
|
||||
- 'spec/workers/clusters/applications/activate_service_worker_spec.rb'
|
||||
- 'spec/workers/clusters/applications/deactivate_service_worker_spec.rb'
|
||||
- 'spec/workers/clusters/integrations/check_prometheus_health_worker_spec.rb'
|
||||
- 'spec/workers/concerns/application_worker_spec.rb'
|
||||
- 'spec/workers/concerns/project_import_options_spec.rb'
|
||||
|
|
|
@ -168,7 +168,6 @@ Layout/SpaceInLambdaLiteral:
|
|||
- 'app/serializers/review_app_setup_entity.rb'
|
||||
- 'app/serializers/rollout_status_entity.rb'
|
||||
- 'app/serializers/runner_entity.rb'
|
||||
- 'app/serializers/service_event_entity.rb'
|
||||
- 'app/serializers/stage_entity.rb'
|
||||
- 'app/serializers/test_case_entity.rb'
|
||||
- 'app/serializers/test_suite_entity.rb'
|
||||
|
|
|
@ -407,7 +407,6 @@ Layout/SpaceInsideBlockBraces:
|
|||
- 'spec/initializers/trusted_proxies_spec.rb'
|
||||
- 'spec/lib/api/entities/ci/job_request/image_spec.rb'
|
||||
- 'spec/lib/api/entities/ci/job_request/port_spec.rb'
|
||||
- 'spec/lib/api/helpers/sse_helpers_spec.rb'
|
||||
- 'spec/lib/api/helpers_spec.rb'
|
||||
- 'spec/lib/banzai/cross_project_reference_spec.rb'
|
||||
- 'spec/lib/banzai/filter/broadcast_message_placeholders_filter_spec.rb'
|
||||
|
|
|
@ -156,7 +156,6 @@ Lint/MissingCopEnableDirective:
|
|||
- 'lib/gitlab/background_migration/migrate_approver_to_approval_rules_check_progress.rb'
|
||||
- 'lib/gitlab/background_migration/migrate_approver_to_approval_rules_in_batch.rb'
|
||||
- 'lib/gitlab/background_migration/migrate_job_artifact_registry_to_ssf.rb'
|
||||
- 'lib/gitlab/background_migration/migrate_stage_status.rb'
|
||||
- 'lib/gitlab/background_migration/migrate_u2f_webauthn.rb'
|
||||
- 'lib/gitlab/background_migration/populate_latest_pipeline_ids.rb'
|
||||
- 'lib/gitlab/background_migration/populate_resolved_on_default_branch_column.rb'
|
||||
|
@ -182,7 +181,6 @@ Lint/MissingCopEnableDirective:
|
|||
- 'lib/gitlab/patch/action_cable_redis_listener.rb'
|
||||
- 'lib/gitlab/patch/prependable.rb'
|
||||
- 'lib/gitlab/project_search_results.rb'
|
||||
- 'lib/gitlab/task_helpers.rb'
|
||||
- 'lib/gitlab/testing/request_blocker_middleware.rb'
|
||||
- 'lib/gitlab/testing/request_inspector_middleware.rb'
|
||||
- 'lib/gitlab/testing/robots_blocker_middleware.rb'
|
||||
|
@ -192,4 +190,4 @@ Lint/MissingCopEnableDirective:
|
|||
- 'spec/support/capybara.rb'
|
||||
- 'spec/support/cycle_analytics_helpers/test_generation.rb'
|
||||
- 'spec/support/google_api/cloud_platform_helpers.rb'
|
||||
- 'tooling/danger/product_intelligence.rb'
|
||||
- 'tooling/danger/product_intelligence.rb'
|
|
@ -10,7 +10,6 @@ Lint/MixedRegexpCaptureTypes:
|
|||
- 'lib/gitlab/diff/suggestions_parser.rb'
|
||||
- 'lib/gitlab/github_import/representation/note.rb'
|
||||
- 'lib/gitlab/metrics/system.rb'
|
||||
- 'lib/gitlab/request_profiler/profile.rb'
|
||||
- 'lib/gitlab/slash_commands/issue_move.rb'
|
||||
- 'lib/gitlab/slash_commands/issue_new.rb'
|
||||
- 'lib/gitlab/slash_commands/run.rb'
|
||||
- 'lib/gitlab/slash_commands/run.rb'
|
|
@ -6,22 +6,6 @@ Lint/RedundantCopDisableDirective:
|
|||
# REVEAL_RUBOCOP_TODO environment variable.
|
||||
Enabled: false
|
||||
Exclude:
|
||||
- 'app/controllers/admin/dashboard_controller.rb'
|
||||
- 'app/controllers/concerns/enforces_two_factor_authentication.rb'
|
||||
- 'app/controllers/concerns/integrations/actions.rb'
|
||||
- 'app/controllers/concerns/issues_calendar.rb'
|
||||
- 'app/controllers/concerns/snippets_actions.rb'
|
||||
- 'app/controllers/concerns/wiki_actions.rb'
|
||||
- 'app/controllers/groups/autocomplete_sources_controller.rb'
|
||||
- 'app/controllers/groups/labels_controller.rb'
|
||||
- 'app/controllers/import/fogbugz_controller.rb'
|
||||
- 'app/controllers/import/github_controller.rb'
|
||||
- 'app/controllers/projects/issues_controller.rb'
|
||||
- 'app/controllers/projects/jobs_controller.rb'
|
||||
- 'app/controllers/projects/pipeline_schedules_controller.rb'
|
||||
- 'app/controllers/projects/pipelines/tests_controller.rb'
|
||||
- 'app/controllers/search_controller.rb'
|
||||
- 'app/controllers/sessions_controller.rb'
|
||||
- 'app/finders/autocomplete/acts_as_taggable_on/tags_finder.rb'
|
||||
- 'app/finders/autocomplete/move_to_project_finder.rb'
|
||||
- 'app/finders/autocomplete/routes_finder.rb'
|
||||
|
|
83
.rubocop_todo/migration/background_migrations.yml
Normal file
83
.rubocop_todo/migration/background_migrations.yml
Normal file
|
@ -0,0 +1,83 @@
|
|||
---
|
||||
Migration/BackgroundMigrations:
|
||||
Exclude:
|
||||
- 'ee/db/geo/post_migrate/20220202101354_migrate_job_artifact_registry.rb'
|
||||
- 'db/post_migrate/20220506124021_schedule_populate_requirements_issue_id.rb'
|
||||
- 'db/post_migrate/20220502173045_reset_too_many_tags_skipped_registry_imports.rb'
|
||||
- 'db/post_migrate/20220425121435_backfill_integrations_enable_ssl_verification.rb'
|
||||
- 'db/post_migrate/20220420214703_schedule_backfill_draft_status_on_merge_requests_corrected_regex.rb'
|
||||
- 'db/post_migrate/20220420061450_backfill_null_note_discussion_ids.rb'
|
||||
- 'db/post_migrate/20220407163559_schedule_purging_stale_security_scans.rb'
|
||||
- 'db/post_migrate/20220331133802_schedule_backfill_topics_title.rb'
|
||||
- 'db/post_migrate/20220328100457_schedule20220328_reset_duplicate_ci_runners_token_values_on_projects.rb'
|
||||
- 'db/post_migrate/20220328100456_schedule20220328_reset_duplicate_ci_runners_token_encrypted_values_on_projects.rb'
|
||||
- 'db/post_migrate/20220324081709_fix_and_backfill_project_namespaces_for_projects_with_duplicate_name.rb'
|
||||
- 'db/post_migrate/20220324032250_migrate_shimo_confluence_service_category.rb'
|
||||
- 'db/post_migrate/20220316202640_populate_container_repositories_migration_plan.rb'
|
||||
- 'db/post_migrate/20220315171129_cleanup_draft_data_from_faulty_regex.rb'
|
||||
- 'db/migrate/20210519154058_schedule_update_users_where_two_factor_auth_required_from_group.rb'
|
||||
- 'db/post_migrate/20210302150310_schedule_migrate_pages_to_zip_storage.rb'
|
||||
- 'db/post_migrate/20210304133508_schedule_remove_duplicate_vulnerabilities_findings2.rb'
|
||||
- 'db/post_migrate/20210415155043_move_container_registry_enabled_to_project_features3.rb'
|
||||
- 'db/post_migrate/20210421163509_schedule_update_jira_tracker_data_deployment_type_based_on_url.rb'
|
||||
- 'db/post_migrate/20210423160427_schedule_drop_invalid_vulnerabilities.rb'
|
||||
- 'db/post_migrate/20210427212034_schedule_update_timelogs_project_id.rb'
|
||||
- 'db/post_migrate/20210506065000_schedule_backfill_traversal_ids.rb'
|
||||
- 'db/post_migrate/20210511095658_schedule_migrate_project_taggings_context_from_tags_to_topics.rb'
|
||||
- 'db/post_migrate/20210511142748_schedule_drop_invalid_vulnerabilities2.rb'
|
||||
- 'db/post_migrate/20210514063252_schedule_cleanup_orphaned_lfs_objects_projects.rb'
|
||||
- 'db/post_migrate/20210518074332_schedule_disable_expiration_policies_linked_to_no_container_images.rb'
|
||||
- 'db/post_migrate/20210611080951_fix_missing_traversal_ids.rb'
|
||||
- 'db/post_migrate/20210701111909_backfill_issues_upvotes_count.rb'
|
||||
- 'db/post_migrate/20210722010101_reschedule_delete_orphaned_deployments.rb'
|
||||
- 'db/post_migrate/20210729163312_re_schedule_latest_pipeline_id_population_with_all_security_related_artifact_types.rb'
|
||||
- 'db/post_migrate/20210730104800_schedule_extract_project_topics_into_separate_table.rb'
|
||||
- 'db/post_migrate/20210730170823_schedule_security_setting_creation.rb'
|
||||
- 'db/post_migrate/20210816183304_schedule_copy_ci_builds_columns_to_security_scans2.rb'
|
||||
- 'db/post_migrate/20210818185845_backfill_projects_with_coverage.rb'
|
||||
- 'db/post_migrate/20211004110927_schedule_fix_first_mentioned_in_commit_at_job.rb'
|
||||
- 'db/post_migrate/20211004120135_schedule_add_primary_email_to_emails_if_user_confirmed.rb'
|
||||
- 'db/post_migrate/20211005194425_schedule_requirements_migration.rb'
|
||||
- 'db/post_migrate/20211006060436_schedule_populate_topics_total_projects_count_cache.rb'
|
||||
- 'db/post_migrate/20211007155221_schedule_populate_status_column_of_security_scans.rb'
|
||||
- 'db/post_migrate/20211018152654_schedule_remove_duplicate_vulnerabilities_findings3.rb'
|
||||
- 'db/post_migrate/20211102114802_update_vulnerability_occurrences_location.rb'
|
||||
- 'db/post_migrate/20211110151350_schedule_drop_invalid_security_findings.rb'
|
||||
- 'db/post_migrate/20211116111644_schedule_remove_occurrence_pipelines_and_duplicate_vulnerabilities_findings.rb'
|
||||
- 'db/post_migrate/20211118194239_drop_invalid_remediations.rb'
|
||||
- 'db/post_migrate/20211208122200_schedule_backfill_ci_namespace_mirrors.rb'
|
||||
- 'db/post_migrate/20211208122201_schedule_backfill_ci_project_mirrors.rb'
|
||||
- 'db/post_migrate/20211209203821_convert_stringified_raw_metadata_hash_to_json.rb'
|
||||
- 'db/post_migrate/20211210140629_encrypt_static_object_token.rb'
|
||||
- 'db/post_migrate/20211215090620_schedule_update_timelogs_null_spent_at.rb'
|
||||
- 'db/post_migrate/20220107064845_populate_vulnerability_reads.rb'
|
||||
- 'db/post_migrate/20220110171049_schedule_populate_test_reports_issue_id.rb'
|
||||
- 'db/post_migrate/20220125122640_schedule_populate_topics_non_private_projects_count.rb'
|
||||
- 'db/post_migrate/20220131000001_schedule_trace_expiry_removal.rb'
|
||||
- 'db/post_migrate/20220204194347_encrypt_integration_properties.rb'
|
||||
- 'db/post_migrate/20220208115439_start_backfill_ci_queuing_tables.rb'
|
||||
- 'db/post_migrate/20220215190020_rerun_convert_stringified_raw_metadata_hash_to_json.rb'
|
||||
- 'db/post_migrate/20220308115219_schedule_reset_duplicate_ci_runners_token_encrypted_values_on_projects.rb'
|
||||
- 'db/post_migrate/20220308115502_schedule_reset_duplicate_ci_runners_token_values_on_projects.rb'
|
||||
- 'db/post_migrate/20211207135331_schedule_recalculate_uuid_on_vulnerabilities_occurrences4.rb'
|
||||
- 'db/post_migrate/20210604070207_retry_backfill_traversal_ids.rb'
|
||||
- 'db/post_migrate/20210708130419_reschedule_merge_request_diff_users_background_migration.rb'
|
||||
- 'db/post_migrate/20210823113259_steal_merge_request_diff_commit_users_migration.rb'
|
||||
- 'db/post_migrate/20210825193652_backfill_cadence_id_for_boards_scoped_to_iteration.rb'
|
||||
- 'db/post_migrate/20210830104800_reschedule_extract_project_topics_into_separate_table.rb'
|
||||
- 'db/post_migrate/20210901153324_slice_merge_request_diff_commit_migrations.rb'
|
||||
- 'db/post_migrate/20210909104800_reschedule_extract_project_topics_into_separate_table_2.rb'
|
||||
- 'db/post_migrate/20211005010101_rereschedule_delete_orphaned_deployments.rb'
|
||||
- 'db/post_migrate/20211028155449_schedule_fix_merge_request_diff_commit_users_migration.rb'
|
||||
- 'db/post_migrate/20211208171402_reschedule_recalculate_vulnerability_finding_signatures_for_findings.rb'
|
||||
- 'db/post_migrate/20220113111440_schedule_fix_incorrect_max_seats_used.rb'
|
||||
- 'db/post_migrate/20220118204039_self_managed_reschedule_recalculate_vulnerability_finding_signatures_for_findings.rb'
|
||||
- 'db/post_migrate/20220204095121_backfill_namespace_statistics_with_dependency_proxy_size.rb'
|
||||
- 'db/post_migrate/20220212120735_schedule_fix_incorrect_max_seats_used2.rb'
|
||||
- 'db/post_migrate/20220223124428_schedule_merge_topics_with_same_name.rb'
|
||||
- 'db/post_migrate/20210302074524_backfill_namespace_statistics_with_wiki_size.rb'
|
||||
- 'lib/gitlab/database/migrations/background_migration_helpers.rb'
|
||||
- 'lib/gitlab/database/partitioning_migration_helpers/table_management_helpers.rb'
|
||||
- 'spec/lib/gitlab/database/migration_helpers/restrict_gitlab_schema_spec.rb'
|
||||
- 'spec/lib/gitlab/database/migrations/background_migration_helpers_spec.rb'
|
||||
- 'spec/lib/gitlab/database/migrations/test_background_runner_spec.rb'
|
|
@ -105,7 +105,6 @@ Naming/HeredocDelimiterNaming:
|
|||
- 'spec/lib/gitlab/patch/database_config_spec.rb'
|
||||
- 'spec/lib/gitlab/prometheus/additional_metrics_parser_spec.rb'
|
||||
- 'spec/lib/gitlab/quick_actions/substitution_definition_spec.rb'
|
||||
- 'spec/lib/gitlab/static_site_editor/config/file_config_spec.rb'
|
||||
- 'spec/lib/gitlab/web_ide/config_spec.rb'
|
||||
- 'spec/lib/gitlab/webpack/file_loader_spec.rb'
|
||||
- 'spec/lib/gitlab/webpack/graphql_known_operations_spec.rb'
|
||||
|
|
|
@ -86,7 +86,6 @@ Naming/RescuedExceptionsVariableName:
|
|||
- 'app/workers/namespaces/schedule_aggregation_worker.rb'
|
||||
- 'app/workers/packages/go/sync_packages_worker.rb'
|
||||
- 'app/workers/project_destroy_worker.rb'
|
||||
- 'app/workers/project_service_worker.rb'
|
||||
- 'app/workers/projects/git_garbage_collect_worker.rb'
|
||||
- 'app/workers/remove_expired_members_worker.rb'
|
||||
- 'app/workers/users/create_statistics_worker.rb'
|
||||
|
|
|
@ -1,62 +1,50 @@
|
|||
---
|
||||
Performance/ActiveRecordSubtransactionMethods:
|
||||
Exclude:
|
||||
- app/controllers/clusters/clusters_controller.rb
|
||||
- app/controllers/repositories/lfs_storage_controller.rb
|
||||
- app/controllers/search_controller.rb
|
||||
- app/models/application_record.rb
|
||||
- app/models/ci/ref.rb
|
||||
- app/models/container_repository.rb
|
||||
- app/models/design_management/design_collection.rb
|
||||
- app/models/error_tracking/error.rb
|
||||
- app/models/external_pull_request.rb
|
||||
- app/models/merge_request.rb
|
||||
- app/models/plan.rb
|
||||
- app/models/project.rb
|
||||
- app/models/shard.rb
|
||||
- app/models/x509_certificate.rb
|
||||
- app/models/x509_commit_signature.rb
|
||||
- app/models/x509_issuer.rb
|
||||
- app/models/concerns/commit_signature.rb
|
||||
- app/services/bulk_imports/relation_export_service.rb
|
||||
- app/services/ci/update_build_state_service.rb
|
||||
- app/services/event_create_service.rb
|
||||
- app/services/groups/import_export/import_service.rb
|
||||
- app/services/lfs/file_transformer.rb
|
||||
- app/services/merge_requests/approval_service.rb
|
||||
- app/services/namespaces/statistics_refresher_service.rb
|
||||
- app/services/packages/rubygems/create_dependencies_service.rb
|
||||
- app/services/packages/rubygems/metadata_extraction_service.rb
|
||||
- app/services/projects/create_service.rb
|
||||
- app/services/projects/lfs_pointers/lfs_download_service.rb
|
||||
- app/services/service_desk_settings/update_service.rb
|
||||
- app/services/service_ping/submit_service.rb
|
||||
- app/services/terraform/remote_state_handler.rb
|
||||
- app/workers/namespaces/schedule_aggregation_worker.rb
|
||||
- app/workers/project_export_worker.rb
|
||||
- db/migrate/20200212014653_rename_security_dashboard_feature_flag_to_instance_security_dashboard.rb
|
||||
- db/post_migrate/20200214034836_remove_security_dashboard_feature_flag.rb
|
||||
- db/post_migrate/20210824174615_prepare_ci_builds_metadata_and_ci_build_async_indexes.rb
|
||||
- ee/app/models/ci/minutes/namespace_monthly_usage.rb
|
||||
- ee/app/models/ci/minutes/project_monthly_usage.rb
|
||||
- ee/app/models/concerns/deprecated_approvals_before_merge.rb
|
||||
- ee/app/models/ee/iteration.rb
|
||||
- ee/app/models/ee/plan.rb
|
||||
- ee/app/models/elastic/index_setting.rb
|
||||
- ee/app/models/gitlab_subscription.rb
|
||||
- ee/app/models/software_license.rb
|
||||
- ee/app/services/boards/user_preferences/update_service.rb
|
||||
- ee/app/services/ci/minutes/update_project_and_namespace_usage_service.rb
|
||||
- ee/app/services/ee/analytics/cycle_analytics/stages/base_service.rb
|
||||
- ee/app/services/security/store_report_service.rb
|
||||
- ee/app/services/security/store_scan_service.rb
|
||||
- ee/app/workers/import_software_licenses_worker.rb
|
||||
- ee/db/fixtures/production/027_plans.rb
|
||||
- ee/lib/ee/gitlab/background_migration/migrate_approver_to_approval_rules.rb
|
||||
- ee/lib/gitlab/elastic/indexer.rb
|
||||
- lib/gitlab/ci/pipeline/seed/environment.rb
|
||||
- lib/gitlab/ci/pipeline/seed/processable/resource_group.rb
|
||||
- lib/gitlab/ci/trace/chunked_io.rb
|
||||
- lib/gitlab/composer/cache.rb
|
||||
- lib/gitlab/database/async_indexes/migration_helpers.rb
|
||||
- lib/gitlab/issuables_count_for_state.rb
|
||||
- 'app/controllers/repositories/lfs_storage_controller.rb'
|
||||
- 'app/controllers/search_controller.rb'
|
||||
- 'app/models/application_record.rb'
|
||||
- 'app/models/ci/ref.rb'
|
||||
- 'app/models/concerns/commit_signature.rb'
|
||||
- 'app/models/container_repository.rb'
|
||||
- 'app/models/design_management/design_collection.rb'
|
||||
- 'app/models/error_tracking/error.rb'
|
||||
- 'app/models/external_pull_request.rb'
|
||||
- 'app/models/plan.rb'
|
||||
- 'app/models/project.rb'
|
||||
- 'app/models/shard.rb'
|
||||
- 'app/models/x509_certificate.rb'
|
||||
- 'app/models/x509_issuer.rb'
|
||||
- 'app/services/bulk_imports/relation_export_service.rb'
|
||||
- 'app/services/ci/update_build_state_service.rb'
|
||||
- 'app/services/event_create_service.rb'
|
||||
- 'app/services/groups/import_export/import_service.rb'
|
||||
- 'app/services/lfs/file_transformer.rb'
|
||||
- 'app/services/merge_requests/approval_service.rb'
|
||||
- 'app/services/namespaces/statistics_refresher_service.rb'
|
||||
- 'app/services/packages/rubygems/create_dependencies_service.rb'
|
||||
- 'app/services/projects/create_service.rb'
|
||||
- 'app/services/projects/lfs_pointers/lfs_download_service.rb'
|
||||
- 'app/services/service_desk_settings/update_service.rb'
|
||||
- 'app/services/terraform/remote_state_handler.rb'
|
||||
- 'app/workers/namespaces/schedule_aggregation_worker.rb'
|
||||
- 'app/workers/project_export_worker.rb'
|
||||
- 'ee/app/models/ci/minutes/project_monthly_usage.rb'
|
||||
- 'ee/app/models/concerns/deprecated_approvals_before_merge.rb'
|
||||
- 'ee/app/models/ee/plan.rb'
|
||||
- 'ee/app/models/elastic/index_setting.rb'
|
||||
- 'ee/app/models/gitlab_subscription.rb'
|
||||
- 'ee/app/models/software_license.rb'
|
||||
- 'ee/app/services/boards/user_preferences/update_service.rb'
|
||||
- 'ee/app/services/ci/minutes/update_project_and_namespace_usage_service.rb'
|
||||
- 'ee/app/services/ee/analytics/cycle_analytics/stages/base_service.rb'
|
||||
- 'ee/app/services/security/store_scan_service.rb'
|
||||
- 'ee/app/workers/import_software_licenses_worker.rb'
|
||||
- 'ee/db/fixtures/production/027_plans.rb'
|
||||
- 'ee/lib/ee/gitlab/background_migration/migrate_approver_to_approval_rules.rb'
|
||||
- 'ee/lib/gitlab/elastic/indexer.rb'
|
||||
- 'lib/gitlab/ci/pipeline/seed/environment.rb'
|
||||
- 'lib/gitlab/ci/pipeline/seed/processable/resource_group.rb'
|
||||
- 'lib/gitlab/ci/trace/chunked_io.rb'
|
||||
- 'lib/gitlab/composer/cache.rb'
|
||||
- 'lib/gitlab/issuables_count_for_state.rb'
|
||||
|
|
|
@ -12,7 +12,6 @@ Performance/BlockGivenWithExplicitBlock:
|
|||
- 'app/helpers/tab_helper.rb'
|
||||
- 'app/services/base_count_service.rb'
|
||||
- 'app/services/error_tracking/base_service.rb'
|
||||
- 'app/services/projects/open_issues_count_service.rb'
|
||||
- 'app/services/users/update_service.rb'
|
||||
- 'ee/lib/elastic/latest/query_context.rb'
|
||||
- 'ee/lib/gitlab/geo.rb'
|
||||
|
@ -35,7 +34,6 @@ Performance/BlockGivenWithExplicitBlock:
|
|||
- 'lib/gitlab/usage_data_queries.rb'
|
||||
- 'lib/gitlab/utils/usage_data.rb'
|
||||
- 'qa/qa/page/view.rb'
|
||||
- 'qa/qa/runtime/browser.rb'
|
||||
- 'spec/lib/api/helpers/authentication_spec.rb'
|
||||
- 'spec/lib/gitlab/slash_commands/deploy_spec.rb'
|
||||
- 'spec/support/helpers/graphql_helpers.rb'
|
||||
|
|
|
@ -28,5 +28,4 @@ Performance/ConstantRegexp:
|
|||
- 'scripts/perf/query_limiting_report.rb'
|
||||
- 'scripts/validate_migration_schema'
|
||||
- 'spec/models/concerns/token_authenticatable_spec.rb'
|
||||
- 'spec/scripts/lib/glfm/update_specification_spec.rb'
|
||||
- 'spec/services/notes/copy_service_spec.rb'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
Performance/Rubyzip:
|
||||
Exclude:
|
||||
- app/services/packages/nuget/metadata_extraction_service.rb
|
||||
- lib/gitlab/ci/artifact_file_reader.rb
|
||||
- 'app/services/packages/nuget/metadata_extraction_service.rb'
|
||||
- 'lib/gitlab/ci/artifact_file_reader.rb'
|
||||
|
|
|
@ -10,6 +10,5 @@ Performance/StringInclude:
|
|||
- 'lib/gitlab/database/migration_helpers.rb'
|
||||
- 'lib/kramdown/parser/atlassian_document_format.rb'
|
||||
- 'lib/prometheus/pid_provider.rb'
|
||||
- 'qa/qa/specs/runner.rb'
|
||||
- 'spec/features/projects/jobs_spec.rb'
|
||||
- 'spec/spec_helper.rb'
|
||||
|
|
|
@ -31,7 +31,6 @@ Rails/FilePath:
|
|||
- 'ee/db/fixtures/development/32_compliance_report_violations.rb'
|
||||
- 'ee/lib/ee/feature/definition.rb'
|
||||
- 'ee/lib/ee/gitlab/usage/metric_definition.rb'
|
||||
- 'ee/lib/generators/geo_migration/geo_migration_generator.rb'
|
||||
- 'ee/lib/gitlab/geo/health_check.rb'
|
||||
- 'ee/lib/tasks/gitlab/seed/metrics.rake'
|
||||
- 'ee/spec/db/production/license_spec.rb'
|
||||
|
@ -46,7 +45,6 @@ Rails/FilePath:
|
|||
- 'ee/spec/requests/api/experiments_spec.rb'
|
||||
- 'ee/spec/services/ee/merge_requests/refresh_service_spec.rb'
|
||||
- 'ee/spec/support/factory_bot.rb'
|
||||
- 'ee/spec/uploaders/every_gitlab_uploader_spec.rb'
|
||||
- 'ee/spec/validators/json_schema_validator_spec.rb'
|
||||
- 'lib/api/api.rb'
|
||||
- 'lib/error_tracking/collector/payload_validator.rb'
|
||||
|
|
|
@ -36,7 +36,6 @@ Rails/LexicallyScopedActionFilter:
|
|||
- 'app/controllers/projects/project_members_controller.rb'
|
||||
- 'app/controllers/projects/prometheus/alerts_controller.rb'
|
||||
- 'app/controllers/projects/releases_controller.rb'
|
||||
- 'app/controllers/projects/service_hook_logs_controller.rb'
|
||||
- 'app/controllers/projects/snippets_controller.rb'
|
||||
- 'app/controllers/projects/tags_controller.rb'
|
||||
- 'app/controllers/projects/todos_controller.rb'
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
# Cop supports --auto-correct.
|
||||
Rails/MailerName:
|
||||
Exclude:
|
||||
- 'app/mailers/notify.rb'
|
|
@ -15,13 +15,10 @@ Rails/Pluck:
|
|||
- 'app/services/ci/pipeline_processing/atomic_processing_service/status_collection.rb'
|
||||
- 'app/services/feature_flags/update_service.rb'
|
||||
- 'app/services/pod_logs/base_service.rb'
|
||||
- 'app/services/prometheus/create_default_alerts_service.rb'
|
||||
- 'ee/app/graphql/mutations/incident_management/oncall_rotation/base.rb'
|
||||
- 'ee/app/models/boards/epic_list.rb'
|
||||
- 'ee/app/models/vulnerabilities/finding.rb'
|
||||
- 'ee/app/services/concerns/incident_management/oncall_rotations/shared_rotation_logic.rb'
|
||||
- 'ee/app/workers/geo/container_repository_sync_dispatch_worker.rb'
|
||||
- 'ee/app/workers/geo/file_download_dispatch_worker.rb'
|
||||
- 'ee/app/workers/geo/registry_sync_worker.rb'
|
||||
- 'ee/app/workers/geo/repository_shard_sync_worker.rb'
|
||||
- 'ee/app/workers/geo/repository_verification/secondary/shard_worker.rb'
|
||||
|
|
|
@ -52,7 +52,6 @@ Rails/RedundantForeignKey:
|
|||
- 'ee/app/models/incident_management/oncall_shift.rb'
|
||||
- 'ee/app/models/incident_management/pending_escalations/alert.rb'
|
||||
- 'ee/app/models/incident_management/pending_escalations/issue.rb'
|
||||
- 'ee/app/models/incident_management/timeline_event.rb'
|
||||
- 'ee/app/models/issuable_metric_image.rb'
|
||||
- 'ee/app/models/security/orchestration_policy_configuration.rb'
|
||||
- 'ee/app/models/security/orchestration_policy_rule_schedule.rb'
|
||||
|
|
|
@ -103,11 +103,9 @@ Rails/SkipsModelValidations:
|
|||
- 'app/services/keys/last_used_service.rb'
|
||||
- 'app/services/labels/promote_service.rb'
|
||||
- 'app/services/labels/transfer_service.rb'
|
||||
- 'app/services/merge_requests/base_service.rb'
|
||||
- 'app/services/merge_requests/bulk_remove_attention_requested_service.rb'
|
||||
- 'app/services/merge_requests/cleanup_refs_service.rb'
|
||||
- 'app/services/merge_requests/ff_merge_service.rb'
|
||||
- 'app/services/merge_requests/handle_assignees_change_service.rb'
|
||||
- 'app/services/merge_requests/merge_service.rb'
|
||||
- 'app/services/merge_requests/rebase_service.rb'
|
||||
- 'app/services/merge_requests/reopen_service.rb'
|
||||
|
@ -150,7 +148,6 @@ Rails/SkipsModelValidations:
|
|||
- 'app/workers/concerns/dependency_proxy/expireable.rb'
|
||||
- 'app/workers/concerns/packages/cleanup_artifact_worker.rb'
|
||||
- 'app/workers/container_expiration_policy_worker.rb'
|
||||
- 'app/workers/namespaceless_project_destroy_worker.rb'
|
||||
- 'app/workers/packages/helm/extraction_worker.rb'
|
||||
- 'app/workers/packages/nuget/extraction_worker.rb'
|
||||
- 'app/workers/packages/rubygems/extraction_worker.rb'
|
||||
|
@ -223,7 +220,6 @@ Rails/SkipsModelValidations:
|
|||
- 'ee/app/services/ee/users/migrate_to_ghost_user_service.rb'
|
||||
- 'ee/app/services/epics/strategies/due_date_inherited_strategy.rb'
|
||||
- 'ee/app/services/epics/strategies/start_date_inherited_strategy.rb'
|
||||
- 'ee/app/services/geo/job_artifact_deleted_event_store.rb'
|
||||
- 'ee/app/services/geo/repository_verification_reset.rb'
|
||||
- 'ee/app/services/incident_management/oncall_rotations/edit_service.rb'
|
||||
- 'ee/app/services/incident_management/oncall_rotations/remove_participant_service.rb'
|
||||
|
@ -292,9 +288,6 @@ Rails/SkipsModelValidations:
|
|||
- 'ee/spec/lib/gitlab/custom_file_templates_spec.rb'
|
||||
- 'ee/spec/lib/gitlab/geo/geo_tasks_spec.rb'
|
||||
- 'ee/spec/lib/gitlab/geo/jwt_request_decoder_spec.rb'
|
||||
- 'ee/spec/lib/gitlab/geo/replication/file_downloader_spec.rb'
|
||||
- 'ee/spec/lib/gitlab/geo/replication/file_transfer_spec.rb'
|
||||
- 'ee/spec/lib/gitlab/geo/replication/job_artifact_downloader_spec.rb'
|
||||
- 'ee/spec/lib/gitlab/geo/signed_data_spec.rb'
|
||||
- 'ee/spec/lib/gitlab/git_access_spec.rb'
|
||||
- 'ee/spec/models/application_setting_spec.rb'
|
||||
|
@ -306,7 +299,6 @@ Rails/SkipsModelValidations:
|
|||
- 'ee/spec/models/ee/groups/feature_setting_spec.rb'
|
||||
- 'ee/spec/models/ee/iteration_spec.rb'
|
||||
- 'ee/spec/models/ee/iterations/cadence_spec.rb'
|
||||
- 'ee/spec/models/ee/key_spec.rb'
|
||||
- 'ee/spec/models/ee/namespace_limit_spec.rb'
|
||||
- 'ee/spec/models/ee/vulnerability_spec.rb'
|
||||
- 'ee/spec/models/geo_node_spec.rb'
|
||||
|
@ -349,7 +341,6 @@ Rails/SkipsModelValidations:
|
|||
- 'ee/spec/services/epic_issues/update_service_spec.rb'
|
||||
- 'ee/spec/services/epics/issue_promote_service_spec.rb'
|
||||
- 'ee/spec/services/epics/update_service_spec.rb'
|
||||
- 'ee/spec/services/geo/file_download_service_spec.rb'
|
||||
- 'ee/spec/services/geo/file_registry_removal_service_spec.rb'
|
||||
- 'ee/spec/services/geo/hashed_storage_migration_service_spec.rb'
|
||||
- 'ee/spec/services/groups/create_service_spec.rb'
|
||||
|
@ -380,7 +371,6 @@ Rails/SkipsModelValidations:
|
|||
- 'ee/spec/workers/import_software_licenses_worker_spec.rb'
|
||||
- 'ee/spec/workers/iterations/roll_over_issues_worker_spec.rb'
|
||||
- 'ee/spec/workers/iterations_update_status_worker_spec.rb'
|
||||
- 'ee/spec/workers/network_policy_metrics_worker_spec.rb'
|
||||
- 'ee/spec/workers/security/orchestration_policy_rule_schedule_namespace_worker_spec.rb'
|
||||
- 'ee/spec/workers/security/orchestration_policy_rule_schedule_worker_spec.rb'
|
||||
- 'ee/spec/workers/update_all_mirrors_worker_spec.rb'
|
||||
|
@ -485,9 +475,7 @@ Rails/SkipsModelValidations:
|
|||
- 'spec/features/projects/diffs/diff_show_spec.rb'
|
||||
- 'spec/features/projects/features_visibility_spec.rb'
|
||||
- 'spec/features/projects/fork_spec.rb'
|
||||
- 'spec/features/projects/jobs/user_browses_jobs_spec.rb'
|
||||
- 'spec/features/projects/jobs_spec.rb'
|
||||
- 'spec/features/projects/members/invite_group_spec.rb'
|
||||
- 'spec/features/projects/milestones/milestone_spec.rb'
|
||||
- 'spec/features/projects/pipeline_schedules_spec.rb'
|
||||
- 'spec/features/projects/pipelines/pipeline_spec.rb'
|
||||
|
|
|
@ -6,7 +6,6 @@ Rails/TimeZone:
|
|||
- ee/lib/delay.rb
|
||||
- ee/lib/gitlab/elastic/helper.rb
|
||||
- ee/lib/gitlab/elastic/indexer.rb
|
||||
- ee/lib/gitlab/geo/base_request.rb
|
||||
- ee/lib/gitlab/geo/event_gap_tracking.rb
|
||||
- ee/lib/gitlab/geo/log_cursor/events/design_repository_updated_event.rb
|
||||
- ee/lib/gitlab/geo/log_cursor/events/repository_updated_event.rb
|
||||
|
@ -17,11 +16,9 @@ Rails/TimeZone:
|
|||
- ee/spec/lib/ee/gitlab/ci/pipeline/quota/job_activity_spec.rb
|
||||
- ee/spec/lib/gitlab/analytics/cycle_analytics/data_collector_spec.rb
|
||||
- ee/spec/lib/gitlab/analytics/cycle_analytics/summary/group/stage_summary_spec.rb
|
||||
- ee/spec/lib/gitlab/analytics/cycle_analytics/summary/group/stage_time_summary_spec.rb
|
||||
- ee/spec/lib/gitlab/auth/ldap/access_spec.rb
|
||||
- ee/spec/lib/gitlab/auth/smartcard/san_extension_spec.rb
|
||||
- ee/spec/lib/gitlab/auth/smartcard/session_spec.rb
|
||||
- ee/spec/lib/gitlab/background_migration/fix_orphan_promoted_issues_spec.rb
|
||||
- ee/spec/lib/gitlab/ci/pipeline/chain/limit/job_activity_spec.rb
|
||||
- ee/spec/lib/gitlab/elastic/client_spec.rb
|
||||
- ee/spec/lib/gitlab/geo/base_request_spec.rb
|
||||
|
@ -31,8 +28,6 @@ Rails/TimeZone:
|
|||
- ee/spec/lib/gitlab/geo/log_cursor/events/event_spec.rb
|
||||
- ee/spec/lib/gitlab/geo/log_cursor/events/hashed_storage_attachments_event_spec.rb
|
||||
- ee/spec/lib/gitlab/geo/log_cursor/events/hashed_storage_migrated_event_spec.rb
|
||||
- ee/spec/lib/gitlab/geo/log_cursor/events/job_artifact_deleted_event_spec.rb
|
||||
- ee/spec/lib/gitlab/geo/log_cursor/events/lfs_object_deleted_event_spec.rb
|
||||
- ee/spec/lib/gitlab/geo/log_cursor/events/repositories_changed_event_spec.rb
|
||||
- ee/spec/lib/gitlab/geo/log_cursor/events/repository_created_event_spec.rb
|
||||
- ee/spec/lib/gitlab/geo/log_cursor/events/repository_deleted_event_spec.rb
|
||||
|
@ -51,23 +46,17 @@ Rails/TimeZone:
|
|||
- lib/gitlab/auth/ldap/access.rb
|
||||
- lib/gitlab/chaos.rb
|
||||
- lib/gitlab/checks/timed_logger.rb
|
||||
- lib/gitlab/ci/ansi2json/line.rb
|
||||
- lib/gitlab/ci/pipeline/chain/sequence.rb
|
||||
- lib/gitlab/ci/pipeline/duration.rb
|
||||
- lib/gitlab/cycle_analytics/summary/deployment_frequency.rb
|
||||
- lib/gitlab/database.rb
|
||||
- lib/gitlab/external_authorization/access.rb
|
||||
- lib/gitlab/external_authorization/cache.rb
|
||||
- lib/gitlab/gitaly_client.rb
|
||||
- lib/gitlab/gitaly_client/ref_service.rb
|
||||
- lib/gitlab/github_import/representation.rb
|
||||
- lib/gitlab/grape_logging/loggers/queue_duration_logger.rb
|
||||
- lib/gitlab/health_checks/base_abstract_check.rb
|
||||
- lib/gitlab/import_export.rb
|
||||
- lib/gitlab/instrumentation/elasticsearch_transport.rb
|
||||
- lib/gitlab/instrumentation/redis_interceptor.rb
|
||||
- lib/gitlab/instrumentation_helper.rb
|
||||
- lib/gitlab/kubernetes/helm/certificate.rb
|
||||
- lib/gitlab/lfs_token.rb
|
||||
- lib/gitlab/loop_helpers.rb
|
||||
- lib/gitlab/phabricator_import/representation/task.rb
|
||||
|
@ -80,8 +69,6 @@ Rails/TimeZone:
|
|||
- lib/json_web_token/token.rb
|
||||
- lib/object_storage/direct_upload.rb
|
||||
- lib/quality/seeders/issues.rb
|
||||
- tooling/rspec_flaky/flaky_example.rb
|
||||
- tooling/rspec_flaky/report.rb
|
||||
- lib/tasks/gitlab/assets.rake
|
||||
- lib/tasks/gitlab/backup.rake
|
||||
- lib/tasks/gitlab/cleanup.rake
|
||||
|
@ -91,14 +78,11 @@ Rails/TimeZone:
|
|||
- spec/lib/gitlab/app_json_logger_spec.rb
|
||||
- spec/lib/gitlab/app_text_logger_spec.rb
|
||||
- spec/lib/gitlab/auth/current_user_mode_spec.rb
|
||||
- spec/lib/gitlab/background_migration/recalculate_project_authorizations_spec.rb
|
||||
- spec/lib/gitlab/background_migration/wrongfully_confirmed_email_unconfirmer_spec.rb
|
||||
- spec/lib/gitlab/bitbucket_import/importer_spec.rb
|
||||
- spec/lib/gitlab/bitbucket_server_import/importer_spec.rb
|
||||
- spec/lib/gitlab/checks/timed_logger_spec.rb
|
||||
- spec/lib/gitlab/ci/cron_parser_spec.rb
|
||||
- spec/lib/gitlab/cycle_analytics/stage_summary_spec.rb
|
||||
- spec/lib/gitlab/cycle_analytics/usage_data_spec.rb
|
||||
- spec/lib/gitlab/data_builder/note_spec.rb
|
||||
- spec/lib/gitlab/database/background_migration_job_spec.rb
|
||||
- spec/lib/gitlab/database_spec.rb
|
||||
|
@ -111,7 +95,6 @@ Rails/TimeZone:
|
|||
- spec/lib/gitlab/git/commit_spec.rb
|
||||
- spec/lib/gitlab/git/repository_spec.rb
|
||||
- spec/lib/gitlab/git_access_spec.rb
|
||||
- spec/lib/gitlab/github_import/importer/diff_note_importer_spec.rb
|
||||
- spec/lib/gitlab/github_import/importer/issue_importer_spec.rb
|
||||
- spec/lib/gitlab/github_import/importer/issues_importer_spec.rb
|
||||
- spec/lib/gitlab/github_import/importer/milestones_importer_spec.rb
|
||||
|
@ -132,19 +115,14 @@ Rails/TimeZone:
|
|||
- spec/lib/gitlab/lfs_token_spec.rb
|
||||
- spec/lib/gitlab/log_timestamp_formatter_spec.rb
|
||||
- spec/lib/gitlab/middleware/rails_queue_duration_spec.rb
|
||||
- spec/lib/gitlab/omniauth_logging/json_formatter_spec.rb
|
||||
- spec/lib/gitlab/phabricator_import/issues/task_importer_spec.rb
|
||||
- spec/lib/gitlab/phabricator_import/representation/task_spec.rb
|
||||
- spec/lib/gitlab/prometheus/queries/additional_metrics_deployment_query_spec.rb
|
||||
- spec/lib/gitlab/prometheus/queries/deployment_query_spec.rb
|
||||
- spec/lib/gitlab/prometheus/queries/validate_query_spec.rb
|
||||
- spec/lib/gitlab/sidekiq_logging/json_formatter_spec.rb
|
||||
- spec/lib/gitlab/sidekiq_middleware/duplicate_jobs/strategies/until_executing_spec.rb
|
||||
- spec/lib/gitlab/updated_notes_paginator_spec.rb
|
||||
- spec/lib/gitlab/utils/json_size_estimator_spec.rb
|
||||
- spec/lib/gitlab/x509/signature_spec.rb
|
||||
- spec/lib/grafana/time_window_spec.rb
|
||||
- spec/lib/json_web_token/hmac_token_spec.rb
|
||||
- spec/tooling/rspec_flaky/flaky_example_spec.rb
|
||||
- spec/tooling/rspec_flaky/listener_spec.rb
|
||||
- spec/tooling/rspec_flaky/report_spec.rb
|
||||
|
|
|
@ -152,8 +152,8 @@ RSpec/AnyInstanceOf:
|
|||
- spec/controllers/projects/labels_controller_spec.rb
|
||||
- spec/controllers/projects/merge_requests_controller_spec.rb
|
||||
- spec/controllers/projects/pipelines_controller_spec.rb
|
||||
- spec/controllers/projects/service_hook_logs_controller_spec.rb
|
||||
- spec/controllers/projects/services_controller_spec.rb
|
||||
- spec/controllers/projects/settings/integration_hook_logs_controller_spec.rb
|
||||
- spec/controllers/projects/settings/integrations_controller_spec.rb
|
||||
- spec/controllers/projects/tags_controller_spec.rb
|
||||
- spec/controllers/registrations/experience_levels_controller_spec.rb
|
||||
- spec/controllers/registrations_controller_spec.rb
|
||||
|
@ -177,7 +177,6 @@ RSpec/AnyInstanceOf:
|
|||
- spec/features/projects/jobs_spec.rb
|
||||
- spec/features/projects/navbar_spec.rb
|
||||
- spec/features/projects/pages_spec.rb
|
||||
- spec/features/projects/services/user_activates_mattermost_slash_command_spec.rb
|
||||
- spec/features/projects/settings/service_desk_setting_spec.rb
|
||||
- spec/features/projects/show/user_sees_setup_shortcut_buttons_spec.rb
|
||||
- spec/features/snippets/embedded_snippet_spec.rb
|
||||
|
@ -485,7 +484,6 @@ RSpec/AnyInstanceOf:
|
|||
- spec/workers/expire_pipeline_cache_worker_spec.rb
|
||||
- spec/workers/group_export_worker_spec.rb
|
||||
- spec/workers/group_import_worker_spec.rb
|
||||
- spec/workers/namespaceless_project_destroy_worker_spec.rb
|
||||
- spec/workers/namespaces/root_statistics_worker_spec.rb
|
||||
- spec/workers/new_note_worker_spec.rb
|
||||
- spec/workers/object_pool/create_worker_spec.rb
|
||||
|
|
|
@ -824,7 +824,6 @@ RSpec/ContextWording:
|
|||
- 'ee/spec/serializers/member_user_entity_spec.rb'
|
||||
- 'ee/spec/serializers/merge_request_widget_entity_spec.rb'
|
||||
- 'ee/spec/serializers/project_mirror_entity_spec.rb'
|
||||
- 'ee/spec/serializers/service_field_entity_spec.rb'
|
||||
- 'ee/spec/serializers/vulnerabilities/finding_entity_spec.rb'
|
||||
- 'ee/spec/services/alert_management/process_prometheus_alert_service_spec.rb'
|
||||
- 'ee/spec/services/analytics/cycle_analytics/consistency_check_service_spec.rb'
|
||||
|
@ -1053,7 +1052,6 @@ RSpec/ContextWording:
|
|||
- 'ee/spec/services/vulnerability_exports/export_service_spec.rb'
|
||||
- 'ee/spec/services/vulnerability_external_issue_links/create_service_spec.rb'
|
||||
- 'ee/spec/support/features/manual_quarterly_co_term_banner_examples.rb'
|
||||
- 'ee/spec/support/features/manual_renewal_banner_examples.rb'
|
||||
- 'ee/spec/support/protected_tags/access_control_shared_examples.rb'
|
||||
- 'ee/spec/support/shared_contexts/audit_event_not_licensed_shared_context.rb'
|
||||
- 'ee/spec/support/shared_contexts/audit_event_queue_shared_context.rb'
|
||||
|
@ -1383,7 +1381,6 @@ RSpec/ContextWording:
|
|||
- 'spec/controllers/projects/settings/repository_controller_spec.rb'
|
||||
- 'spec/controllers/projects/snippets_controller_spec.rb'
|
||||
- 'spec/controllers/projects/starrers_controller_spec.rb'
|
||||
- 'spec/controllers/projects/static_site_editor_controller_spec.rb'
|
||||
- 'spec/controllers/projects/tags_controller_spec.rb'
|
||||
- 'spec/controllers/projects/todos_controller_spec.rb'
|
||||
- 'spec/controllers/projects/tree_controller_spec.rb'
|
||||
|
@ -2511,7 +2508,6 @@ RSpec/ContextWording:
|
|||
- 'spec/lib/gitlab/spamcheck/client_spec.rb'
|
||||
- 'spec/lib/gitlab/sql/pattern_spec.rb'
|
||||
- 'spec/lib/gitlab/ssh_public_key_spec.rb'
|
||||
- 'spec/lib/gitlab/static_site_editor/config/file_config/entry/mount_spec.rb'
|
||||
- 'spec/lib/gitlab/submodule_links_spec.rb'
|
||||
- 'spec/lib/gitlab/subscription_portal_spec.rb'
|
||||
- 'spec/lib/gitlab/suggestions/commit_message_spec.rb'
|
||||
|
@ -3197,8 +3193,6 @@ RSpec/ContextWording:
|
|||
- 'spec/serializers/merge_request_widget_entity_spec.rb'
|
||||
- 'spec/serializers/paginated_diff_entity_spec.rb'
|
||||
- 'spec/serializers/pipeline_details_entity_spec.rb'
|
||||
- 'spec/serializers/service_event_entity_spec.rb'
|
||||
- 'spec/serializers/service_field_entity_spec.rb'
|
||||
- 'spec/serializers/stage_entity_spec.rb'
|
||||
- 'spec/serializers/user_serializer_spec.rb'
|
||||
- 'spec/services/access_token_validation_service_spec.rb'
|
||||
|
@ -3513,7 +3507,6 @@ RSpec/ContextWording:
|
|||
- 'spec/services/spam/ham_service_spec.rb'
|
||||
- 'spec/services/spam/spam_action_service_spec.rb'
|
||||
- 'spec/services/spam/spam_verdict_service_spec.rb'
|
||||
- 'spec/services/static_site_editor/config_service_spec.rb'
|
||||
- 'spec/services/submodules/update_service_spec.rb'
|
||||
- 'spec/services/suggestions/apply_service_spec.rb'
|
||||
- 'spec/services/suggestions/create_service_spec.rb'
|
||||
|
@ -3855,7 +3848,6 @@ RSpec/ContextWording:
|
|||
- 'spec/views/projects/hooks/edit.html.haml_spec.rb'
|
||||
- 'spec/views/projects/hooks/index.html.haml_spec.rb'
|
||||
- 'spec/views/projects/pipeline_schedules/_pipeline_schedule.html.haml_spec.rb'
|
||||
- 'spec/views/projects/services/edit.html.haml_spec.rb'
|
||||
- 'spec/views/projects/settings/operations/show.html.haml_spec.rb'
|
||||
- 'spec/views/projects/tags/index.html.haml_spec.rb'
|
||||
- 'spec/views/projects/tree/show.html.haml_spec.rb'
|
||||
|
@ -3878,9 +3870,6 @@ RSpec/ContextWording:
|
|||
- 'spec/workers/cleanup_container_repository_worker_spec.rb'
|
||||
- 'spec/workers/cluster_update_app_worker_spec.rb'
|
||||
- 'spec/workers/clusters/agents/delete_expired_events_worker_spec.rb'
|
||||
- 'spec/workers/clusters/applications/activate_service_worker_spec.rb'
|
||||
- 'spec/workers/clusters/applications/deactivate_service_worker_spec.rb'
|
||||
- 'spec/workers/clusters/applications/wait_for_uninstall_app_worker_spec.rb'
|
||||
- 'spec/workers/concerns/application_worker_spec.rb'
|
||||
- 'spec/workers/container_expiration_policies/cleanup_container_repository_worker_spec.rb'
|
||||
- 'spec/workers/container_expiration_policy_worker_spec.rb'
|
||||
|
@ -3898,12 +3887,10 @@ RSpec/ContextWording:
|
|||
- 'spec/workers/group_import_worker_spec.rb'
|
||||
- 'spec/workers/incident_management/process_alert_worker_v2_spec.rb'
|
||||
- 'spec/workers/integrations/create_external_cross_reference_worker_spec.rb'
|
||||
- 'spec/workers/irker_worker_spec.rb'
|
||||
- 'spec/workers/issue_placement_worker_spec.rb'
|
||||
- 'spec/workers/issues/placement_worker_spec.rb'
|
||||
- 'spec/workers/merge_requests/delete_source_branch_worker_spec.rb'
|
||||
- 'spec/workers/metrics/dashboard/prune_old_annotations_worker_spec.rb'
|
||||
- 'spec/workers/namespaceless_project_destroy_worker_spec.rb'
|
||||
- 'spec/workers/packages/composer/cache_update_worker_spec.rb'
|
||||
- 'spec/workers/packages/go/sync_packages_worker_spec.rb'
|
||||
- 'spec/workers/packages/maven/metadata/sync_worker_spec.rb'
|
||||
|
|
|
@ -188,7 +188,6 @@ RSpec/ExpectInHook:
|
|||
- 'spec/lib/backup/manager_spec.rb'
|
||||
- 'spec/lib/banzai/reference_redactor_spec.rb'
|
||||
- 'spec/lib/bulk_imports/ndjson_pipeline_spec.rb'
|
||||
- 'spec/lib/bulk_imports/projects/pipelines/project_attributes_pipeline_spec.rb'
|
||||
- 'spec/lib/container_registry/gitlab_api_client_spec.rb'
|
||||
- 'spec/lib/file_size_validator_spec.rb'
|
||||
- 'spec/lib/gitlab/alert_management/fingerprint_spec.rb'
|
||||
|
|
|
@ -158,7 +158,6 @@ RSpec/InstanceVariable:
|
|||
- spec/models/group_spec.rb
|
||||
- spec/models/integrations/assembla_spec.rb
|
||||
- spec/models/integrations/campfire_spec.rb
|
||||
- spec/models/integrations/irker_spec.rb
|
||||
- spec/models/member_spec.rb
|
||||
- spec/models/members/project_member_spec.rb
|
||||
- spec/models/namespace_spec.rb
|
||||
|
|
|
@ -503,7 +503,6 @@ RSpec/PredicateMatcher:
|
|||
- 'spec/validators/namespace_path_validator_spec.rb'
|
||||
- 'spec/validators/project_path_validator_spec.rb'
|
||||
- 'spec/workers/bulk_imports/entity_worker_spec.rb'
|
||||
- 'spec/workers/bulk_imports/pipeline_worker_spec.rb'
|
||||
- 'spec/workers/ci/delete_objects_worker_spec.rb'
|
||||
- 'spec/workers/concerns/worker_attributes_spec.rb'
|
||||
- 'spec/workers/container_expiration_policies/cleanup_container_repository_worker_spec.rb'
|
||||
|
|
|
@ -286,7 +286,6 @@ RSpec/ReturnFromStub:
|
|||
- 'spec/services/projects/in_product_marketing_campaign_emails_service_spec.rb'
|
||||
- 'spec/services/projects/update_remote_mirror_service_spec.rb'
|
||||
- 'spec/services/projects/update_service_spec.rb'
|
||||
- 'spec/services/static_site_editor/config_service_spec.rb'
|
||||
- 'spec/services/suggestions/apply_service_spec.rb'
|
||||
- 'spec/services/suggestions/create_service_spec.rb'
|
||||
- 'spec/services/verify_pages_domain_service_spec.rb'
|
||||
|
|
|
@ -79,8 +79,6 @@ RSpec/VerifiedDoubles:
|
|||
- ee/spec/lib/gitlab/geo/log_cursor/lease_spec.rb
|
||||
- ee/spec/lib/gitlab/geo/oauth/logout_token_spec.rb
|
||||
- ee/spec/lib/gitlab/geo/oauth/session_spec.rb
|
||||
- ee/spec/lib/gitlab/geo/replication/job_artifact_retriever_spec.rb
|
||||
- ee/spec/lib/gitlab/geo/replication/job_artifact_transfer_spec.rb
|
||||
- ee/spec/lib/gitlab/geo/replicator_spec.rb
|
||||
- ee/spec/lib/gitlab/geo_spec.rb
|
||||
- ee/spec/lib/gitlab/git_access_spec.rb
|
||||
|
@ -91,7 +89,6 @@ RSpec/VerifiedDoubles:
|
|||
- ee/spec/lib/gitlab/prometheus/queries/cluster_query_spec.rb
|
||||
- ee/spec/lib/gitlab/subscription_portal/clients/rest_spec.rb
|
||||
- ee/spec/lib/sidebars/groups/menus/analytics_menu_spec.rb
|
||||
- ee/spec/lib/system_check/app/elasticsearch_check_spec.rb
|
||||
- ee/spec/lib/system_check/geo/geo_database_configured_check_spec.rb
|
||||
- ee/spec/models/app_sec/fuzzing/api/ci_configuration_spec.rb
|
||||
- ee/spec/models/approvable_spec.rb
|
||||
|
@ -111,7 +108,6 @@ RSpec/VerifiedDoubles:
|
|||
- ee/spec/presenters/group_member_presenter_spec.rb
|
||||
- ee/spec/presenters/merge_request_approver_presenter_spec.rb
|
||||
- ee/spec/presenters/project_member_presenter_spec.rb
|
||||
- ee/spec/requests/api/alert_management_alerts_spec.rb
|
||||
- ee/spec/requests/api/geo_spec.rb
|
||||
- ee/spec/requests/api/graphql/mutations/dast_site_profiles/delete_spec.rb
|
||||
- ee/spec/requests/api/internal/base_spec.rb
|
||||
|
@ -142,11 +138,9 @@ RSpec/VerifiedDoubles:
|
|||
- ee/spec/serializers/issuable_sidebar_extras_entity_spec.rb
|
||||
- ee/spec/serializers/issues/linked_issue_feature_flag_entity_spec.rb
|
||||
- ee/spec/serializers/linked_feature_flag_issue_entity_spec.rb
|
||||
- ee/spec/serializers/merge_request_compliance_entity_spec.rb
|
||||
- ee/spec/serializers/merge_request_poll_widget_entity_spec.rb
|
||||
- ee/spec/serializers/merge_request_sidebar_basic_entity_spec.rb
|
||||
- ee/spec/serializers/merge_request_widget_entity_spec.rb
|
||||
- ee/spec/serializers/service_field_entity_spec.rb
|
||||
- ee/spec/serializers/test_reports_comparer_serializer_spec.rb
|
||||
- ee/spec/serializers/user_analytics_entity_spec.rb
|
||||
- ee/spec/serializers/vulnerabilities/feedback_entity_spec.rb
|
||||
|
@ -174,9 +168,6 @@ RSpec/VerifiedDoubles:
|
|||
- ee/spec/services/ee/merge_requests/refresh_service_spec.rb
|
||||
- ee/spec/services/ee/notification_service_spec.rb
|
||||
- ee/spec/services/ee/post_receive_service_spec.rb
|
||||
- ee/spec/services/ee/service_ping/build_payload_service_spec.rb
|
||||
- ee/spec/services/ee/service_ping/permit_data_categories_service_spec.rb
|
||||
- ee/spec/services/ee/service_ping/service_ping_settings_spec.rb
|
||||
- ee/spec/services/geo/blob_download_service_spec.rb
|
||||
- ee/spec/services/geo/graphql_request_service_spec.rb
|
||||
- ee/spec/services/geo/node_status_request_service_spec.rb
|
||||
|
@ -382,7 +373,6 @@ RSpec/VerifiedDoubles:
|
|||
- spec/lib/api/helpers/graphql_helpers_spec.rb
|
||||
- spec/lib/api/helpers/pagination_spec.rb
|
||||
- spec/lib/api/helpers/pagination_strategies_spec.rb
|
||||
- spec/lib/api/helpers/sse_helpers_spec.rb
|
||||
- spec/lib/api/helpers/variables_helpers_spec.rb
|
||||
- spec/lib/api/helpers_spec.rb
|
||||
- spec/lib/atlassian/jira_connect/client_spec.rb
|
||||
|
@ -832,7 +822,6 @@ RSpec/VerifiedDoubles:
|
|||
- spec/models/application_record_spec.rb
|
||||
- spec/models/badge_spec.rb
|
||||
- spec/models/badges/project_badge_spec.rb
|
||||
- spec/models/bulk_imports/export_status_spec.rb
|
||||
- spec/models/ci/build_spec.rb
|
||||
- spec/models/ci/build_trace_chunk_spec.rb
|
||||
- spec/models/ci/commit_with_pipeline_spec.rb
|
||||
|
@ -961,8 +950,6 @@ RSpec/VerifiedDoubles:
|
|||
- spec/serializers/prometheus_alert_entity_spec.rb
|
||||
- spec/serializers/review_app_setup_entity_spec.rb
|
||||
- spec/serializers/runner_entity_spec.rb
|
||||
- spec/serializers/service_event_entity_spec.rb
|
||||
- spec/serializers/service_field_entity_spec.rb
|
||||
- spec/serializers/stage_entity_spec.rb
|
||||
- spec/serializers/suggestion_entity_spec.rb
|
||||
- spec/serializers/test_reports_comparer_serializer_spec.rb
|
||||
|
@ -1045,8 +1032,6 @@ RSpec/VerifiedDoubles:
|
|||
- spec/services/repositories/changelog_service_spec.rb
|
||||
- spec/services/search_service_spec.rb
|
||||
- spec/services/service_ping/build_payload_service_spec.rb
|
||||
- spec/services/service_ping/permit_data_categories_service_spec.rb
|
||||
- spec/services/service_ping/service_ping_settings_spec.rb
|
||||
- spec/services/service_ping/submit_service_ping_service_spec.rb
|
||||
- spec/services/snippets/update_repository_storage_service_spec.rb
|
||||
- spec/services/spam/akismet_mark_as_spam_service_spec.rb
|
||||
|
@ -1054,7 +1039,6 @@ RSpec/VerifiedDoubles:
|
|||
- spec/services/spam/ham_service_spec.rb
|
||||
- spec/services/spam/spam_action_service_spec.rb
|
||||
- spec/services/spam/spam_params_spec.rb
|
||||
- spec/services/static_site_editor/config_service_spec.rb
|
||||
- spec/services/system_note_service_spec.rb
|
||||
- spec/services/system_notes/commit_service_spec.rb
|
||||
- spec/services/system_notes/issuables_service_spec.rb
|
||||
|
@ -1130,7 +1114,6 @@ RSpec/VerifiedDoubles:
|
|||
- spec/views/shared/milestones/_issuables.html.haml_spec.rb
|
||||
- spec/views/shared/wikis/_sidebar.html.haml_spec.rb
|
||||
- spec/workers/bulk_imports/export_request_worker_spec.rb
|
||||
- spec/workers/bulk_imports/pipeline_worker_spec.rb
|
||||
- spec/workers/chat_notification_worker_spec.rb
|
||||
- spec/workers/ci/build_prepare_worker_spec.rb
|
||||
- spec/workers/ci/create_cross_project_pipeline_worker_spec.rb
|
||||
|
@ -1162,8 +1145,6 @@ RSpec/VerifiedDoubles:
|
|||
- spec/workers/gitlab/github_import/stage/import_repository_worker_spec.rb
|
||||
- spec/workers/gitlab_performance_bar_stats_worker_spec.rb
|
||||
- spec/workers/invalid_gpg_signature_update_worker_spec.rb
|
||||
- spec/workers/irker_worker_spec.rb
|
||||
- spec/workers/issue_rebalancing_worker_spec.rb
|
||||
- spec/workers/issues/rebalancing_worker_spec.rb
|
||||
- spec/workers/merge_request_mergeability_check_worker_spec.rb
|
||||
- spec/workers/new_issue_worker_spec.rb
|
||||
|
|
|
@ -10,7 +10,6 @@ Style/BarePercentLiterals:
|
|||
- 'app/models/integrations/datadog.rb'
|
||||
- 'app/services/feature_flags/base_service.rb'
|
||||
- 'app/services/repositories/base_service.rb'
|
||||
- 'app/services/repositories/destroy_rollback_service.rb'
|
||||
- 'app/services/repositories/destroy_service.rb'
|
||||
- 'ee/app/services/jira/jql_builder_service.rb'
|
||||
- 'ee/lib/ee/gitlab/checks/push_rules/file_size_check.rb'
|
||||
|
|
|
@ -220,14 +220,11 @@ Style/ClassAndModuleChildren:
|
|||
- 'app/controllers/projects/runner_projects_controller.rb'
|
||||
- 'app/controllers/projects/runners_controller.rb'
|
||||
- 'app/controllers/projects/service_desk_controller.rb'
|
||||
- 'app/controllers/projects/service_hook_logs_controller.rb'
|
||||
- 'app/controllers/projects/service_ping_controller.rb'
|
||||
- 'app/controllers/projects/services_controller.rb'
|
||||
- 'app/controllers/projects/snippets/application_controller.rb'
|
||||
- 'app/controllers/projects/snippets/blobs_controller.rb'
|
||||
- 'app/controllers/projects/snippets_controller.rb'
|
||||
- 'app/controllers/projects/starrers_controller.rb'
|
||||
- 'app/controllers/projects/static_site_editor_controller.rb'
|
||||
- 'app/controllers/projects/tags/releases_controller.rb'
|
||||
- 'app/controllers/projects/tags_controller.rb'
|
||||
- 'app/controllers/projects/templates_controller.rb'
|
||||
|
@ -354,9 +351,7 @@ Style/ClassAndModuleChildren:
|
|||
- 'app/serializers/merge_requests/pipeline_entity.rb'
|
||||
- 'app/services/projects/branches_by_mode_service.rb'
|
||||
- 'app/services/repositories/base_service.rb'
|
||||
- 'app/services/repositories/destroy_rollback_service.rb'
|
||||
- 'app/services/repositories/destroy_service.rb'
|
||||
- 'app/services/repositories/shell_destroy_service.rb'
|
||||
- 'app/uploaders/dependency_proxy/file_uploader.rb'
|
||||
- 'app/uploaders/packages/composer/cache_uploader.rb'
|
||||
- 'app/uploaders/packages/debian/component_file_uploader.rb'
|
||||
|
|
|
@ -53,7 +53,7 @@ Style/EmptyMethod:
|
|||
- 'app/controllers/projects/pipeline_schedules_controller.rb'
|
||||
- 'app/controllers/projects/product_analytics_controller.rb'
|
||||
- 'app/controllers/projects/runners_controller.rb'
|
||||
- 'app/controllers/projects/services_controller.rb'
|
||||
- 'app/controllers/projects/settings/integrations_controller.rb'
|
||||
- 'app/controllers/projects/settings/packages_and_registries_controller.rb'
|
||||
- 'app/controllers/projects/tags/releases_controller.rb'
|
||||
- 'app/controllers/projects/terraform_controller.rb'
|
||||
|
|
|
@ -41,7 +41,6 @@ Style/FormatString:
|
|||
- 'app/controllers/projects/merge_requests_controller.rb'
|
||||
- 'app/controllers/projects/performance_monitoring/dashboards_controller.rb'
|
||||
- 'app/controllers/projects/pipeline_schedules_controller.rb'
|
||||
- 'app/controllers/projects/services_controller.rb'
|
||||
- 'app/controllers/projects/settings/ci_cd_controller.rb'
|
||||
- 'app/controllers/projects_controller.rb'
|
||||
- 'app/controllers/search_controller.rb'
|
||||
|
@ -109,7 +108,6 @@ Style/FormatString:
|
|||
- 'app/models/integrations/external_wiki.rb'
|
||||
- 'app/models/integrations/flowdock.rb'
|
||||
- 'app/models/integrations/hangouts_chat.rb'
|
||||
- 'app/models/integrations/irker.rb'
|
||||
- 'app/models/integrations/jenkins.rb'
|
||||
- 'app/models/integrations/jira.rb'
|
||||
- 'app/models/integrations/mattermost.rb'
|
||||
|
@ -184,7 +182,6 @@ Style/FormatString:
|
|||
- 'config/initializers/rack_lineprof.rb'
|
||||
- 'danger/roulette/Dangerfile'
|
||||
- 'ee/app/components/billing/plan_component.rb'
|
||||
- 'ee/app/components/namespaces/preview_free_user_cap_alert_component.rb'
|
||||
- 'ee/app/controllers/admin/elasticsearch_controller.rb'
|
||||
- 'ee/app/controllers/admin/geo/application_controller.rb'
|
||||
- 'ee/app/controllers/admin/geo/projects_controller.rb'
|
||||
|
@ -237,7 +234,6 @@ Style/FormatString:
|
|||
- 'ee/app/services/merge_requests/create_from_vulnerability_data_service.rb'
|
||||
- 'ee/app/services/namespaces/check_excess_storage_size_service.rb'
|
||||
- 'ee/app/services/namespaces/check_storage_size_service.rb'
|
||||
- 'ee/app/services/network_policies/responses.rb'
|
||||
- 'ee/app/services/security/security_orchestration_policies/policy_configuration_validation_service.rb'
|
||||
- 'ee/app/services/security/security_orchestration_policies/validate_policy_service.rb'
|
||||
- 'ee/app/services/timebox_report_service.rb'
|
||||
|
@ -265,7 +261,6 @@ Style/FormatString:
|
|||
- 'ee/lib/gitlab/expiring_subscription_message.rb'
|
||||
- 'ee/lib/gitlab/geo.rb'
|
||||
- 'ee/lib/gitlab/manual_quarterly_co_term_banner.rb'
|
||||
- 'ee/lib/gitlab/manual_renewal_banner.rb'
|
||||
- 'ee/lib/gitlab/vulnerabilities/container_scanning_vulnerability.rb'
|
||||
- 'ee/lib/tasks/gitlab/elastic.rake'
|
||||
- 'ee/spec/controllers/admin/licenses_controller_spec.rb'
|
||||
|
|
|
@ -60,7 +60,6 @@ Style/GuardClause:
|
|||
- 'app/finders/ci/runners_finder.rb'
|
||||
- 'app/finders/deployments_finder.rb'
|
||||
- 'app/finders/group_members_finder.rb'
|
||||
- 'app/finders/projects/serverless/functions_finder.rb'
|
||||
- 'app/finders/snippets_finder.rb'
|
||||
- 'app/graphql/mutations/concerns/mutations/spam_protection.rb'
|
||||
- 'app/graphql/mutations/design_management/delete.rb'
|
||||
|
@ -73,7 +72,6 @@ Style/GuardClause:
|
|||
- 'app/graphql/resolvers/concerns/time_frame_arguments.rb'
|
||||
- 'app/graphql/resolvers/projects/jira_projects_resolver.rb'
|
||||
- 'app/graphql/types/ci/job_type.rb'
|
||||
- 'app/graphql/types/concerns/find_closest.rb'
|
||||
- 'app/helpers/admin/user_actions_helper.rb'
|
||||
- 'app/helpers/appearances_helper.rb'
|
||||
- 'app/helpers/application_helper.rb'
|
||||
|
@ -135,7 +133,6 @@ Style/GuardClause:
|
|||
- 'app/models/integrations/datadog.rb'
|
||||
- 'app/models/integrations/emails_on_push.rb'
|
||||
- 'app/models/integrations/harbor.rb'
|
||||
- 'app/models/integrations/irker.rb'
|
||||
- 'app/models/integrations/jenkins.rb'
|
||||
- 'app/models/integrations/jira.rb'
|
||||
- 'app/models/integrations/pipelines_email.rb'
|
||||
|
@ -236,7 +233,6 @@ Style/GuardClause:
|
|||
- 'app/services/post_receive_service.rb'
|
||||
- 'app/services/projects/after_rename_service.rb'
|
||||
- 'app/services/projects/create_service.rb'
|
||||
- 'app/services/projects/destroy_rollback_service.rb'
|
||||
- 'app/services/projects/destroy_service.rb'
|
||||
- 'app/services/projects/hashed_storage/rollback_service.rb'
|
||||
- 'app/services/projects/import_export/export_service.rb'
|
||||
|
@ -247,7 +243,6 @@ Style/GuardClause:
|
|||
- 'app/services/projects/update_service.rb'
|
||||
- 'app/services/protected_branches/legacy_api_update_service.rb'
|
||||
- 'app/services/snippets/repository_validation_service.rb'
|
||||
- 'app/services/static_site_editor/config_service.rb'
|
||||
- 'app/services/todo_service.rb'
|
||||
- 'app/services/users/build_service.rb'
|
||||
- 'app/services/users/update_service.rb'
|
||||
|
@ -465,7 +460,6 @@ Style/GuardClause:
|
|||
- 'ee/lib/gitlab/insights/serializers/chartjs/multi_series_serializer.rb'
|
||||
- 'ee/lib/gitlab/insights/validators/params_validator.rb'
|
||||
- 'ee/lib/omni_auth/strategies/group_saml.rb'
|
||||
- 'ee/lib/pseudonymizer/dumper.rb'
|
||||
- 'ee/spec/features/billings/billing_plans_spec.rb'
|
||||
- 'ee/spec/lib/ee/gitlab/background_migration/migrate_approver_to_approval_rules_spec.rb'
|
||||
- 'ee/spec/workers/update_max_seats_used_for_gitlab_com_subscriptions_worker_spec.rb'
|
||||
|
@ -547,7 +541,6 @@ Style/GuardClause:
|
|||
- 'lib/gitlab/database/partitioning/sliding_list_strategy.rb'
|
||||
- 'lib/gitlab/database/postgresql_adapter/force_disconnectable_mixin.rb'
|
||||
- 'lib/gitlab/database/query_analyzers/restrict_allowed_schemas.rb'
|
||||
- 'lib/gitlab/diff/custom_diff.rb'
|
||||
- 'lib/gitlab/diff/file.rb'
|
||||
- 'lib/gitlab/diff/highlight.rb'
|
||||
- 'lib/gitlab/diff/highlight_cache.rb'
|
||||
|
@ -582,7 +575,6 @@ Style/GuardClause:
|
|||
- 'lib/gitlab/graphql/pagination/keyset/conditions/null_condition.rb'
|
||||
- 'lib/gitlab/graphql/pagination/keyset/order_info.rb'
|
||||
- 'lib/gitlab/graphql/pagination/keyset/query_builder.rb'
|
||||
- 'lib/gitlab/graphql/query_analyzers/recursion_analyzer.rb'
|
||||
- 'lib/gitlab/i18n/metadata_entry.rb'
|
||||
- 'lib/gitlab/i18n/po_linter.rb'
|
||||
- 'lib/gitlab/import_export/after_export_strategies/web_upload_strategy.rb'
|
||||
|
|
|
@ -14,7 +14,6 @@ Style/IfInsideElse:
|
|||
- 'app/models/ci/build.rb'
|
||||
- 'app/models/namespace.rb'
|
||||
- 'app/presenters/project_presenter.rb'
|
||||
- 'app/services/service_ping/build_payload_service.rb'
|
||||
- 'app/services/system_notes/commit_service.rb'
|
||||
- 'app/services/task_list_toggle_service.rb'
|
||||
- 'app/services/user_project_access_changed_service.rb'
|
||||
|
|
|
@ -8,7 +8,6 @@ Style/IfUnlessModifier:
|
|||
- 'app/channels/graphql_channel.rb'
|
||||
- 'app/controllers/admin/application_settings_controller.rb'
|
||||
- 'app/controllers/admin/projects_controller.rb'
|
||||
- 'app/controllers/admin/requests_profiles_controller.rb'
|
||||
- 'app/controllers/admin/runners_controller.rb'
|
||||
- 'app/controllers/admin/users_controller.rb'
|
||||
- 'app/controllers/application_controller.rb'
|
||||
|
@ -57,7 +56,6 @@ Style/IfUnlessModifier:
|
|||
- 'app/controllers/projects/protected_refs_controller.rb'
|
||||
- 'app/controllers/projects/releases_controller.rb'
|
||||
- 'app/controllers/projects/runners_controller.rb'
|
||||
- 'app/controllers/projects/services_controller.rb'
|
||||
- 'app/controllers/registrations_controller.rb'
|
||||
- 'app/controllers/repositories/git_http_controller.rb'
|
||||
- 'app/controllers/repositories/lfs_api_controller.rb'
|
||||
|
@ -204,7 +202,6 @@ Style/IfUnlessModifier:
|
|||
- 'app/models/integrations/base_chat_notification.rb'
|
||||
- 'app/models/integrations/datadog.rb'
|
||||
- 'app/models/integrations/harbor.rb'
|
||||
- 'app/models/integrations/irker.rb'
|
||||
- 'app/models/integrations/jenkins.rb'
|
||||
- 'app/models/integrations/jira.rb'
|
||||
- 'app/models/integrations/pushover.rb'
|
||||
|
@ -381,13 +378,11 @@ Style/IfUnlessModifier:
|
|||
- 'app/services/projects/update_repository_storage_service.rb'
|
||||
- 'app/services/resource_access_tokens/create_service.rb'
|
||||
- 'app/services/resource_events/change_labels_service.rb'
|
||||
- 'app/services/service_ping/devops_report_service.rb'
|
||||
- 'app/services/snippets/create_service.rb'
|
||||
- 'app/services/snippets/destroy_service.rb'
|
||||
- 'app/services/snippets/repository_validation_service.rb'
|
||||
- 'app/services/spam/spam_action_service.rb'
|
||||
- 'app/services/spam/spam_verdict_service.rb'
|
||||
- 'app/services/static_site_editor/config_service.rb'
|
||||
- 'app/services/system_notes/issuables_service.rb'
|
||||
- 'app/services/tags/destroy_service.rb'
|
||||
- 'app/services/two_factor/destroy_service.rb'
|
||||
|
@ -416,7 +411,6 @@ Style/IfUnlessModifier:
|
|||
- 'app/views/projects/merge_requests/index.atom.builder'
|
||||
- 'app/workers/authorized_project_update/user_refresh_from_replica_worker.rb'
|
||||
- 'app/workers/auto_devops/disable_worker.rb'
|
||||
- 'app/workers/bulk_imports/pipeline_worker.rb'
|
||||
- 'app/workers/cleanup_container_repository_worker.rb'
|
||||
- 'app/workers/concerns/application_worker.rb'
|
||||
- 'app/workers/concerns/packages/cleanup_artifact_worker.rb'
|
||||
|
@ -424,7 +418,6 @@ Style/IfUnlessModifier:
|
|||
- 'app/workers/concerns/worker_attributes.rb'
|
||||
- 'app/workers/database/batched_background_migration/single_database_worker.rb'
|
||||
- 'app/workers/file_hook_worker.rb'
|
||||
- 'app/workers/issue_rebalancing_worker.rb'
|
||||
- 'app/workers/issues/rebalancing_worker.rb'
|
||||
- 'app/workers/merge_request_mergeability_check_worker.rb'
|
||||
- 'app/workers/object_storage/migrate_uploads_worker.rb'
|
||||
|
@ -501,7 +494,6 @@ Style/IfUnlessModifier:
|
|||
- 'ee/app/controllers/projects/push_rules_controller.rb'
|
||||
- 'ee/app/controllers/projects/settings/slacks_controller.rb'
|
||||
- 'ee/app/controllers/trials_controller.rb'
|
||||
- 'ee/app/finders/ee/alert_management/alerts_finder.rb'
|
||||
- 'ee/app/finders/iterations_finder.rb'
|
||||
- 'ee/app/finders/merge_trains_finder.rb'
|
||||
- 'ee/app/finders/security/pipeline_vulnerabilities_finder.rb'
|
||||
|
@ -614,8 +606,6 @@ Style/IfUnlessModifier:
|
|||
- 'ee/app/services/ee/users/update_service.rb'
|
||||
- 'ee/app/services/elastic/indexing_control_service.rb'
|
||||
- 'ee/app/services/elastic/process_bookkeeping_service.rb'
|
||||
- 'ee/app/services/epic_links/create_service.rb'
|
||||
- 'ee/app/services/epic_links/update_service.rb'
|
||||
- 'ee/app/services/epics/base_service.rb'
|
||||
- 'ee/app/services/epics/create_service.rb'
|
||||
- 'ee/app/services/epics/update_dates_service.rb'
|
||||
|
@ -723,7 +713,6 @@ Style/IfUnlessModifier:
|
|||
- 'ee/lib/gitlab/geo/log_cursor/daemon.rb'
|
||||
- 'ee/lib/gitlab/geo/log_cursor/events/repository_deleted_event.rb'
|
||||
- 'ee/lib/gitlab/geo/oauth/logout_token.rb'
|
||||
- 'ee/lib/gitlab/geo/replication/base_transfer.rb'
|
||||
- 'ee/lib/gitlab/geo/replication/blob_downloader.rb'
|
||||
- 'ee/lib/gitlab/geo/replicator.rb'
|
||||
- 'ee/lib/gitlab/graphql/aggregations/epics/lazy_epic_aggregate.rb'
|
||||
|
@ -739,13 +728,10 @@ Style/IfUnlessModifier:
|
|||
- 'ee/lib/gitlab/usage/metrics/instrumentations/count_users_creating_ci_builds_metric.rb'
|
||||
- 'ee/lib/gitlab/usage/metrics/instrumentations/license_metric.rb'
|
||||
- 'ee/lib/omni_auth/strategies/group_saml.rb'
|
||||
- 'ee/lib/pseudonymizer/dumper.rb'
|
||||
- 'ee/lib/pseudonymizer/uploader.rb'
|
||||
- 'ee/lib/sidebars/groups/menus/administration_menu.rb'
|
||||
- 'ee/lib/sidebars/groups/menus/analytics_menu.rb'
|
||||
- 'ee/lib/sidebars/groups/menus/security_compliance_menu.rb'
|
||||
- 'ee/lib/tasks/geo.rake'
|
||||
- 'ee/lib/tasks/gitlab/db.rake'
|
||||
- 'ee/lib/tasks/gitlab/geo.rake'
|
||||
- 'ee/lib/tasks/gitlab/seed/insights.rake'
|
||||
- 'ee/spec/controllers/subscriptions_controller_spec.rb'
|
||||
|
@ -949,7 +935,6 @@ Style/IfUnlessModifier:
|
|||
- 'lib/gitlab/database/reindexing/reindex_concurrently.rb'
|
||||
- 'lib/gitlab/database/transaction/observer.rb'
|
||||
- 'lib/gitlab/database/with_lock_retries.rb'
|
||||
- 'lib/gitlab/diff/custom_diff.rb'
|
||||
- 'lib/gitlab/diff/formatters/base_formatter.rb'
|
||||
- 'lib/gitlab/diff/rendered/notebook/diff_file.rb'
|
||||
- 'lib/gitlab/elasticsearch/logs/lines.rb'
|
||||
|
@ -1158,7 +1143,6 @@ Style/IfUnlessModifier:
|
|||
- 'rubocop/cop/ignored_columns.rb'
|
||||
- 'rubocop/cop/migration/add_limit_to_text_columns.rb'
|
||||
- 'rubocop/cop/migration/add_reference.rb'
|
||||
- 'rubocop/cop/migration/hash_index.rb'
|
||||
- 'rubocop/cop/migration/remove_column.rb'
|
||||
- 'rubocop/cop/migration/sidekiq_queue_migrate.rb'
|
||||
- 'rubocop/cop/performance/ar_exists_and_present_blank.rb'
|
||||
|
@ -1180,7 +1164,6 @@ Style/IfUnlessModifier:
|
|||
- 'spec/factories/projects.rb'
|
||||
- 'spec/factories/protected_tags.rb'
|
||||
- 'spec/factories/users.rb'
|
||||
- 'spec/factories_spec.rb'
|
||||
- 'spec/features/admin/admin_users_spec.rb'
|
||||
- 'spec/features/merge_request/batch_comments_spec.rb'
|
||||
- 'spec/features/merge_request/user_sees_avatar_on_diff_notes_spec.rb'
|
||||
|
|
|
@ -5,7 +5,6 @@ Style/Next:
|
|||
# Temporarily disabled due to too many offenses
|
||||
Enabled: false
|
||||
Exclude:
|
||||
- 'app/finders/projects/serverless/functions_finder.rb'
|
||||
- 'app/models/preloaders/environments/deployment_preloader.rb'
|
||||
- 'app/models/route.rb'
|
||||
- 'app/services/authorized_project_update/find_records_due_for_refresh_service.rb'
|
||||
|
|
|
@ -10,16 +10,12 @@ Style/NumericLiteralPrefix:
|
|||
- 'config/initializers/01_secret_token.rb'
|
||||
- 'config/initializers/1_settings.rb'
|
||||
- 'db/post_migrate/20220131000001_schedule_trace_expiry_removal.rb'
|
||||
- 'ee/lib/gitlab/geo/replication/base_transfer.rb'
|
||||
- 'ee/lib/gitlab/geo/replication/blob_downloader.rb'
|
||||
- 'ee/spec/lib/bulk_imports/groups/pipelines/iterations_pipeline_spec.rb'
|
||||
- 'ee/spec/lib/gitlab/background_migration/remove_all_trace_expiration_dates_spec.rb'
|
||||
- 'ee/spec/lib/gitlab/geo/replication/blob_downloader_spec.rb'
|
||||
- 'ee/spec/lib/gitlab/geo/replication/file_transfer_spec.rb'
|
||||
- 'ee/spec/lib/gitlab/geo/replication/job_artifact_transfer_spec.rb'
|
||||
- 'ee/spec/migrations/schedule_trace_expiry_removal_spec.rb'
|
||||
- 'ee/spec/models/analytics/devops_adoption/snapshot_spec.rb'
|
||||
- 'ee/spec/models/ci/minutes/quota_spec.rb'
|
||||
- 'ee/spec/models/ee/group_spec.rb'
|
||||
- 'ee/spec/models/gitlab/seat_link_data_spec.rb'
|
||||
- 'ee/spec/services/incident_management/oncall_schedules/update_service_spec.rb'
|
||||
|
|
|
@ -1,21 +1,12 @@
|
|||
---
|
||||
Style/OpenStructUse:
|
||||
Exclude:
|
||||
- ee/spec/features/projects/new_project_spec.rb
|
||||
- ee/spec/finders/template_finder_spec.rb
|
||||
- ee/spec/helpers/ee/blob_helper_spec.rb
|
||||
- ee/spec/lib/gitlab/auth/group_saml/failure_handler_spec.rb
|
||||
- ee/spec/lib/gitlab/legacy_github_import/project_creator_spec.rb
|
||||
- lib/gitlab/testing/request_inspector_middleware.rb
|
||||
- spec/factories/wiki_pages.rb
|
||||
- spec/graphql/mutations/branches/create_spec.rb
|
||||
- spec/graphql/mutations/clusters/agent_tokens/create_spec.rb
|
||||
- spec/graphql/mutations/clusters/agents/create_spec.rb
|
||||
- spec/graphql/mutations/clusters/agents/delete_spec.rb
|
||||
- spec/graphql/mutations/commits/create_spec.rb
|
||||
- spec/helpers/application_settings_helper_spec.rb
|
||||
- spec/helpers/profiles_helper_spec.rb
|
||||
- spec/lib/gitlab/gitaly_client/blobs_stitcher_spec.rb
|
||||
- spec/lib/gitlab/gitaly_client/diff_stitcher_spec.rb
|
||||
- spec/services/system_note_service_spec.rb
|
||||
- spec/support/helpers/repo_helpers.rb
|
||||
- 'ee/spec/features/projects/new_project_spec.rb'
|
||||
- 'ee/spec/finders/template_finder_spec.rb'
|
||||
- 'ee/spec/helpers/ee/blob_helper_spec.rb'
|
||||
- 'ee/spec/lib/gitlab/auth/group_saml/failure_handler_spec.rb'
|
||||
- 'spec/factories/wiki_pages.rb'
|
||||
- 'spec/helpers/profiles_helper_spec.rb'
|
||||
- 'spec/lib/gitlab/gitaly_client/blobs_stitcher_spec.rb'
|
||||
- 'spec/lib/gitlab/gitaly_client/diff_stitcher_spec.rb'
|
||||
- 'spec/support/helpers/repo_helpers.rb'
|
||||
|
|
|
@ -117,7 +117,6 @@ Style/PercentLiteralDelimiters:
|
|||
- 'app/models/integrations/external_wiki.rb'
|
||||
- 'app/models/integrations/field.rb'
|
||||
- 'app/models/integrations/flowdock.rb'
|
||||
- 'app/models/integrations/irker.rb'
|
||||
- 'app/models/integrations/jenkins.rb'
|
||||
- 'app/models/integrations/jira.rb'
|
||||
- 'app/models/integrations/packagist.rb'
|
||||
|
@ -178,7 +177,6 @@ Style/PercentLiteralDelimiters:
|
|||
- 'app/services/projects/update_service.rb'
|
||||
- 'app/services/prometheus/proxy_service.rb'
|
||||
- 'app/services/repositories/base_service.rb'
|
||||
- 'app/services/repositories/destroy_rollback_service.rb'
|
||||
- 'app/services/repositories/destroy_service.rb'
|
||||
- 'app/services/repository_archive_clean_up_service.rb'
|
||||
- 'app/services/resource_access_tokens/create_service.rb'
|
||||
|
@ -192,7 +190,6 @@ Style/PercentLiteralDelimiters:
|
|||
- 'app/validators/addressable_url_validator.rb'
|
||||
- 'app/validators/gitlab/zoom_url_validator.rb'
|
||||
- 'app/validators/json_schema_validator.rb'
|
||||
- 'app/workers/irker_worker.rb'
|
||||
- 'app/workers/members_destroyer/unassign_issuables_worker.rb'
|
||||
- 'app/workers/projects/record_target_platforms_worker.rb'
|
||||
- 'config/application.rb'
|
||||
|
@ -229,7 +226,6 @@ Style/PercentLiteralDelimiters:
|
|||
- 'db/migrate/20210621044000_rename_services_indexes_to_integrations.rb'
|
||||
- 'db/migrate/20210709085759_index_batched_migration_jobs_by_max_value.rb'
|
||||
- 'db/migrate/20210928155022_improve_index_for_error_tracking.rb'
|
||||
- 'db/optional_migrations/composite_primary_keys.rb'
|
||||
- 'db/post_migrate/20210329102724_add_new_trail_plans.rb'
|
||||
- 'db/post_migrate/20210420121149_backfill_conversion_of_ci_job_artifacts.rb'
|
||||
- 'db/post_migrate/20210426094549_backfill_ci_builds_for_bigint_conversion.rb'
|
||||
|
@ -296,7 +292,6 @@ Style/PercentLiteralDelimiters:
|
|||
- 'ee/lib/api/managed_licenses.rb'
|
||||
- 'ee/lib/api/status_checks.rb'
|
||||
- 'ee/lib/api/visual_review_discussions.rb'
|
||||
- 'ee/lib/banzai/pipeline/incident_management/timeline_event_pipeline.rb'
|
||||
- 'ee/lib/ee/api/helpers/members_helpers.rb'
|
||||
- 'ee/lib/ee/api/helpers/projects_helpers.rb'
|
||||
- 'ee/lib/ee/api/search.rb'
|
||||
|
@ -308,7 +303,6 @@ Style/PercentLiteralDelimiters:
|
|||
- 'ee/lib/ee/gitlab/checks/push_rules/file_size_check.rb'
|
||||
- 'ee/lib/ee/gitlab/ci/parsers/security/validators/schema_validator.rb'
|
||||
- 'ee/lib/ee/gitlab/etag_caching/router/rails.rb'
|
||||
- 'ee/lib/ee/gitlab/integrations/sti_type.rb'
|
||||
- 'ee/lib/ee/gitlab/middleware/read_only/controller.rb'
|
||||
- 'ee/lib/ee/gitlab/path_regex.rb'
|
||||
- 'ee/lib/ee/gitlab/uploads/migration_helper.rb'
|
||||
|
@ -319,7 +313,6 @@ Style/PercentLiteralDelimiters:
|
|||
- 'ee/lib/elastic/latest/git_class_proxy.rb'
|
||||
- 'ee/lib/elastic/latest/project_instance_proxy.rb'
|
||||
- 'ee/lib/elastic/latest/snippet_class_proxy.rb'
|
||||
- 'ee/lib/gitlab/alert_management/payload/cilium.rb'
|
||||
- 'ee/lib/gitlab/auth/group_saml/auth_hash.rb'
|
||||
- 'ee/lib/gitlab/ci/parsers/security/formatters/dast.rb'
|
||||
- 'ee/lib/gitlab/geo.rb'
|
||||
|
@ -371,7 +364,6 @@ Style/PercentLiteralDelimiters:
|
|||
- 'ee/spec/lib/banzai/filter/references/epic_reference_filter_spec.rb'
|
||||
- 'ee/spec/lib/banzai/filter/references/iteration_reference_filter_spec.rb'
|
||||
- 'ee/spec/lib/banzai/filter/references/vulnerability_reference_filters_spec.rb'
|
||||
- 'ee/spec/lib/banzai/pipeline/incident_management/timeline_event_pipeline_spec.rb'
|
||||
- 'ee/spec/lib/ee/gitlab/alert_management/payload/generic_spec.rb'
|
||||
- 'ee/spec/lib/ee/gitlab/auth/ldap/access_levels_spec.rb'
|
||||
- 'ee/spec/lib/ee/gitlab/auth/ldap/config_spec.rb'
|
||||
|
@ -561,7 +553,6 @@ Style/PercentLiteralDelimiters:
|
|||
- 'lib/gitlab/gitaly_client/diff.rb'
|
||||
- 'lib/gitlab/gitaly_client/wiki_page.rb'
|
||||
- 'lib/gitlab/graphql/pagination/keyset/order_info.rb'
|
||||
- 'lib/gitlab/graphql/query_analyzers/recursion_analyzer.rb'
|
||||
- 'lib/gitlab/hotlinking_detector.rb'
|
||||
- 'lib/gitlab/import_export/command_line_util.rb'
|
||||
- 'lib/gitlab/import_export/file_importer.rb'
|
||||
|
@ -648,10 +639,6 @@ Style/PercentLiteralDelimiters:
|
|||
- 'rubocop/migration_helpers.rb'
|
||||
- 'scripts/qa/testcases-check'
|
||||
- 'scripts/regenerate-schema'
|
||||
- 'shared/packages/6b/86/6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b/packages/57/files/67/package.gemspec'
|
||||
- 'shared/packages/6b/86/6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b/packages/6/files/5/package.gemspec'
|
||||
- 'shared/packages/6b/86/6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b/packages/7/files/7/package.gemspec'
|
||||
- 'shared/packages/6b/86/6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b/packages/88/files/91/package.gemspec'
|
||||
- 'sidekiq_cluster/cli.rb'
|
||||
- 'spec/benchmarks/banzai_benchmark.rb'
|
||||
- 'spec/commands/sidekiq_cluster/cli_spec.rb'
|
||||
|
@ -676,7 +663,6 @@ Style/PercentLiteralDelimiters:
|
|||
- 'spec/controllers/projects/performance_monitoring/dashboards_controller_spec.rb'
|
||||
- 'spec/controllers/projects/pipelines_controller_spec.rb'
|
||||
- 'spec/controllers/projects/settings/ci_cd_controller_spec.rb'
|
||||
- 'spec/controllers/projects/static_site_editor_controller_spec.rb'
|
||||
- 'spec/controllers/projects_controller_spec.rb'
|
||||
- 'spec/controllers/registrations/welcome_controller_spec.rb'
|
||||
- 'spec/controllers/search_controller_spec.rb'
|
||||
|
@ -898,7 +884,6 @@ Style/PercentLiteralDelimiters:
|
|||
- 'spec/lib/gitlab/jira_import/issue_serializer_spec.rb'
|
||||
- 'spec/lib/gitlab/jira_import/labels_importer_spec.rb'
|
||||
- 'spec/lib/gitlab/kubernetes/kubectl_cmd_spec.rb'
|
||||
- 'spec/lib/gitlab/kubernetes/network_policy_spec.rb'
|
||||
- 'spec/lib/gitlab/kubernetes/role_spec.rb'
|
||||
- 'spec/lib/gitlab/language_data_spec.rb'
|
||||
- 'spec/lib/gitlab/markup_helper_spec.rb'
|
||||
|
@ -1001,7 +986,6 @@ Style/PercentLiteralDelimiters:
|
|||
- 'spec/models/integrations/bamboo_spec.rb'
|
||||
- 'spec/models/integrations/buildkite_spec.rb'
|
||||
- 'spec/models/integrations/campfire_spec.rb'
|
||||
- 'spec/models/integrations/irker_spec.rb'
|
||||
- 'spec/models/integrations/jira_spec.rb'
|
||||
- 'spec/models/integrations/teamcity_spec.rb'
|
||||
- 'spec/models/issue_spec.rb'
|
||||
|
|
|
@ -77,7 +77,6 @@ Style/RedundantInterpolation:
|
|||
- 'qa/qa/resource/events/base.rb'
|
||||
- 'qa/qa/service/praefect_manager.rb'
|
||||
- 'qa/qa/specs/features/browser_ui/4_verify/pipeline/include_multiple_files_from_a_project_spec.rb'
|
||||
- 'qa/qa/specs/features/browser_ui/4_verify/pipeline/parent_child_pipelines_dependent_relationship_spec.rb'
|
||||
- 'qa/qa/specs/features/browser_ui/5_package/container_registry/container_registry_spec.rb'
|
||||
- 'qa/qa/specs/features/ee/browser_ui/1_manage/project/project_templates_spec.rb'
|
||||
- 'qa/qa/tools/generate_perf_testdata.rb'
|
||||
|
|
|
@ -35,7 +35,6 @@ Style/RedundantRegexpEscape:
|
|||
- 'ee/lib/gitlab/geo/git_ssh_proxy.rb'
|
||||
- 'ee/lib/gitlab/return_to_location.rb'
|
||||
- 'ee/spec/features/read_only_spec.rb'
|
||||
- 'ee/spec/helpers/seats_count_alert_helper_spec.rb'
|
||||
- 'ee/spec/helpers/vulnerabilities_helper_spec.rb'
|
||||
- 'ee/spec/lib/ee/gitlab/usage_data_counters/hll_redis_counter_spec.rb'
|
||||
- 'ee/spec/mailers/notify_spec.rb'
|
||||
|
|
|
@ -260,7 +260,6 @@ Style/RedundantSelf:
|
|||
- 'ee/lib/elastic/latest/note_config.rb'
|
||||
- 'ee/lib/elastic/migration.rb'
|
||||
- 'ee/lib/gem_extensions/elasticsearch/model/indexing/instance_methods.rb'
|
||||
- 'ee/lib/gitlab/alert_management/payload/cilium.rb'
|
||||
- 'ee/lib/gitlab/analytics/cycle_analytics/summary/base_time.rb'
|
||||
- 'ee/lib/gitlab/auth/group_saml/response_check.rb'
|
||||
- 'ee/lib/gitlab/auth/group_saml/user.rb'
|
||||
|
@ -277,7 +276,6 @@ Style/RedundantSelf:
|
|||
- 'ee/lib/gitlab/geo/oauth/logout_state.rb'
|
||||
- 'ee/lib/gitlab/geo/replicator.rb'
|
||||
- 'ee/lib/gitlab/template/custom_template.rb'
|
||||
- 'ee/lib/system_check/app/elasticsearch_check.rb'
|
||||
- 'ee/spec/helpers/ee/feature_flags_helper_spec.rb'
|
||||
- 'ee/spec/helpers/ee/graph_helper_spec.rb'
|
||||
- 'ee/spec/models/geo/deleted_project_spec.rb'
|
||||
|
@ -365,8 +363,6 @@ Style/RedundantSelf:
|
|||
- 'lib/gitlab/instrumentation/redis_base.rb'
|
||||
- 'lib/gitlab/jira_import.rb'
|
||||
- 'lib/gitlab/jwt_token.rb'
|
||||
- 'lib/gitlab/kubernetes/cilium_network_policy.rb'
|
||||
- 'lib/gitlab/kubernetes/network_policy.rb'
|
||||
- 'lib/gitlab/logger.rb'
|
||||
- 'lib/gitlab/marker_range.rb'
|
||||
- 'lib/gitlab/memory/instrumentation.rb'
|
||||
|
|
|
@ -301,11 +301,9 @@ Style/StringConcatenation:
|
|||
- 'spec/services/packages/helm/extract_file_metadata_service_spec.rb'
|
||||
- 'spec/services/packages/helm/process_file_service_spec.rb'
|
||||
- 'spec/services/projects/create_service_spec.rb'
|
||||
- 'spec/services/projects/destroy_rollback_service_spec.rb'
|
||||
- 'spec/services/projects/destroy_service_spec.rb'
|
||||
- 'spec/services/projects/download_service_spec.rb'
|
||||
- 'spec/services/push_event_payload_service_spec.rb'
|
||||
- 'spec/services/repositories/destroy_rollback_service_spec.rb'
|
||||
- 'spec/services/repositories/destroy_service_spec.rb'
|
||||
- 'spec/services/snippets/bulk_destroy_service_spec.rb'
|
||||
- 'spec/services/snippets/update_service_spec.rb'
|
||||
|
@ -317,7 +315,6 @@ Style/StringConcatenation:
|
|||
- 'spec/support/helpers/git_helpers.rb'
|
||||
- 'spec/support/helpers/gitaly_setup.rb'
|
||||
- 'spec/support/helpers/javascript_fixtures_helpers.rb'
|
||||
- 'spec/support/helpers/jira_service_helper.rb'
|
||||
- 'spec/support/helpers/kubernetes_helpers.rb'
|
||||
- 'spec/support/helpers/stub_configuration.rb'
|
||||
- 'spec/support/helpers/workhorse_helpers.rb'
|
||||
|
|
|
@ -24,7 +24,6 @@ Style/StringLiteralsInInterpolation:
|
|||
- 'ee/app/models/license.rb'
|
||||
- 'ee/app/services/epics/tree_reorder_service.rb'
|
||||
- 'ee/lib/gitlab/elastic/helper.rb'
|
||||
- 'ee/lib/pseudonymizer/pager.rb'
|
||||
- 'ee/spec/features/admin/admin_settings_spec.rb'
|
||||
- 'lib/api/helpers/snippets_helpers.rb'
|
||||
- 'lib/api/validations/validators/check_assignees_count.rb'
|
||||
|
@ -54,7 +53,6 @@ Style/StringLiteralsInInterpolation:
|
|||
- 'qa/qa/specs/helpers/context_selector.rb'
|
||||
- 'qa/qa/tools/generate_perf_testdata.rb'
|
||||
- 'rubocop/cop/migration/prevent_index_creation.rb'
|
||||
- 'spec/controllers/projects/serverless/functions_controller_spec.rb'
|
||||
- 'spec/features/commits_spec.rb'
|
||||
- 'spec/features/dashboard/merge_requests_spec.rb'
|
||||
- 'spec/features/users/login_spec.rb'
|
||||
|
|
|
@ -113,7 +113,6 @@ Style/SymbolProc:
|
|||
- 'ee/app/workers/geo/batch/project_registry_worker.rb'
|
||||
- 'ee/app/workers/geo/sync_timeout_cron_worker.rb'
|
||||
- 'ee/app/workers/geo/verification_cron_worker.rb'
|
||||
- 'ee/app/workers/repository_push_audit_event_worker.rb'
|
||||
- 'ee/lib/api/entities/pending_member.rb'
|
||||
- 'ee/lib/api/related_epic_links.rb'
|
||||
- 'ee/lib/ee/api/entities/audit_event.rb'
|
||||
|
|
40
.yamllint
40
.yamllint
|
@ -2,6 +2,44 @@
|
|||
|
||||
extends: default
|
||||
|
||||
# Ideally, we should have nothing in this ignore section.
|
||||
#
|
||||
# Please consider removing entries below by fixing them.
|
||||
ignore: |
|
||||
#### Files ####
|
||||
|
||||
# Contains ruby code
|
||||
config/mail_room.yml
|
||||
generator_templates/snowplow_event_definition/event_definition.yml
|
||||
generator_templates/usage_metric_definition/metric_definition.yml
|
||||
|
||||
# Has some special indentation
|
||||
doc/user/project/integrations/samples/cloudwatch.yml
|
||||
|
||||
# Broken on purpose (for testing)
|
||||
spec/fixtures/lib/gitlab/metrics/dashboard/broken_yml_syntax.yml
|
||||
|
||||
#### Folders ####
|
||||
node_modules/
|
||||
tmp/
|
||||
|
||||
# Why disabling all of those rules?
|
||||
#
|
||||
# For the scope of https://gitlab.com/gitlab-org/gitlab/-/issues/359968,
|
||||
# we would like to catch syntax errors as soon as possible.
|
||||
# Style "errors" are not as important right now, but they should ideally be added later on.
|
||||
#
|
||||
# Please consider enabling a rule, and fixing the issues you'll see in an MR.
|
||||
rules:
|
||||
line-length: disable
|
||||
braces: disable
|
||||
colons: disable
|
||||
comments-indentation: disable
|
||||
comments: disable
|
||||
document-start: disable
|
||||
empty-lines: disable
|
||||
indentation: disable
|
||||
key-duplicates: disable
|
||||
line-length: disable
|
||||
new-line-at-end-of-file: disable
|
||||
trailing-spaces: disable
|
||||
truthy: disable
|
||||
|
|
1059
CHANGELOG.md
1059
CHANGELOG.md
File diff suppressed because it is too large
Load diff
|
@ -1 +1 @@
|
|||
15.0.4
|
||||
15.1.3
|
|
@ -1 +1 @@
|
|||
15.0.0
|
||||
15.1.0
|
||||
|
|
|
@ -1 +1 @@
|
|||
1.58.0
|
||||
1.59.0
|
||||
|
|
|
@ -1 +1 @@
|
|||
14.3.0
|
||||
14.7.4
|
||||
|
|
48
Gemfile
48
Gemfile
|
@ -4,7 +4,7 @@ source 'https://rubygems.org'
|
|||
|
||||
gem 'rails', '~> 6.1.4.7'
|
||||
|
||||
gem 'bootsnap', '~> 1.9.4', require: false
|
||||
gem 'bootsnap', '~> 1.12.0', require: false
|
||||
|
||||
# Responders respond_to and respond_with
|
||||
gem 'responders', '~> 3.0'
|
||||
|
@ -17,7 +17,7 @@ gem 'view_component', '~> 2.50.0'
|
|||
gem 'default_value_for', '~> 3.4.0'
|
||||
|
||||
# Supported DBs
|
||||
gem 'pg', '~> 1.1'
|
||||
gem 'pg', '~> 1.3.0'
|
||||
|
||||
gem 'rugged', '~> 1.2'
|
||||
gem 'grape-path-helpers', '~> 1.7.0'
|
||||
|
@ -55,7 +55,7 @@ gem 'omniauth-authentiq', '~> 0.3.3'
|
|||
gem 'gitlab-omniauth-openid-connect', '~> 0.9.0', require: 'omniauth_openid_connect'
|
||||
gem 'omniauth-salesforce', '~> 1.0.5'
|
||||
gem 'omniauth-atlassian-oauth2', '~> 0.2.0'
|
||||
gem 'rack-oauth2', '~> 1.16.0'
|
||||
gem 'rack-oauth2', '~> 1.19.0'
|
||||
gem 'jwt', '~> 2.1.0'
|
||||
|
||||
# Kerberos authentication. EE-only
|
||||
|
@ -97,10 +97,10 @@ gem 'net-ldap', '~> 0.16.3'
|
|||
# API
|
||||
gem 'grape', '~> 1.5.2'
|
||||
gem 'grape-entity', '~> 0.10.0'
|
||||
gem 'rack-cors', '~> 1.0.6', require: 'rack/cors'
|
||||
gem 'rack-cors', '~> 1.1.0', require: 'rack/cors'
|
||||
|
||||
# GraphQL API
|
||||
gem 'graphql', '~> 1.11.10'
|
||||
gem 'graphql', '~> 1.13.12'
|
||||
gem 'graphiql-rails', '~> 1.8'
|
||||
gem 'apollo_upload_server', '~> 2.1.0'
|
||||
gem 'graphql-docs', '~> 1.6.0', group: [:development, :test]
|
||||
|
@ -121,7 +121,7 @@ gem 'carrierwave', '~> 1.3'
|
|||
gem 'mini_magick', '~> 4.10.1'
|
||||
|
||||
# for backups
|
||||
gem 'fog-aws', '~> 3.12'
|
||||
gem 'fog-aws', '~> 3.14'
|
||||
# Locked until fog-google resolves https://github.com/fog/fog-google/issues/421.
|
||||
# Also see config/initializers/fog_core_patch.rb.
|
||||
gem 'fog-core', '= 2.1.0'
|
||||
|
@ -130,7 +130,7 @@ gem 'fog-local', '~> 0.6'
|
|||
gem 'fog-openstack', '~> 1.0'
|
||||
gem 'fog-rackspace', '~> 0.1.1'
|
||||
gem 'fog-aliyun', '~> 0.3'
|
||||
gem 'gitlab-fog-azure-rm', '~> 1.2.0', require: 'fog/azurerm'
|
||||
gem 'gitlab-fog-azure-rm', '~> 1.3.0', require: 'fog/azurerm'
|
||||
|
||||
# for Google storage
|
||||
gem 'google-api-client', '~> 0.33'
|
||||
|
@ -167,10 +167,10 @@ gem 'asciidoctor', '~> 2.0.10'
|
|||
gem 'asciidoctor-include-ext', '~> 0.4.0', require: false
|
||||
gem 'asciidoctor-plantuml', '~> 0.0.12'
|
||||
gem 'asciidoctor-kroki', '~> 0.5.0', require: false
|
||||
gem 'rouge', '~> 3.27.0'
|
||||
gem 'rouge', '~> 3.29.0'
|
||||
gem 'truncato', '~> 0.7.11'
|
||||
gem 'bootstrap_form', '~> 4.2.0'
|
||||
gem 'nokogiri', '~> 1.12'
|
||||
gem 'nokogiri', '~> 1.13.6'
|
||||
gem 'escape_utils', '~> 1.1'
|
||||
|
||||
# Calendar rendering
|
||||
|
@ -181,9 +181,9 @@ gem 'diffy', '~> 3.3'
|
|||
gem 'diff_match_patch', '~> 0.1.0'
|
||||
|
||||
# Application server
|
||||
gem 'rack', '~> 2.2.3'
|
||||
# https://github.com/sharpstone/rack-timeout/blob/master/README.md#rails-apps-manually
|
||||
gem 'rack-timeout', '~> 0.5.1', require: 'rack/timeout/base'
|
||||
gem 'rack', '~> 2.2.3.0'
|
||||
# https://github.com/zombocom/rack-timeout/blob/master/README.md#rails-apps-manually
|
||||
gem 'rack-timeout', '~> 0.6.0', require: 'rack/timeout/base'
|
||||
|
||||
group :puma do
|
||||
gem 'puma', '~> 5.6.2', require: false
|
||||
|
@ -219,7 +219,7 @@ gem 'ruby-progressbar', '~> 1.10'
|
|||
gem 'settingslogic', '~> 2.0.9'
|
||||
|
||||
# Linear-time regex library for untrusted regular expressions
|
||||
gem 're2', '~> 1.2.0'
|
||||
gem 're2', '~> 1.4.0'
|
||||
|
||||
# Misc
|
||||
|
||||
|
@ -301,7 +301,7 @@ gem 'base32', '~> 0.3.0'
|
|||
gem 'gitlab-license', '~> 2.1.0'
|
||||
|
||||
# Protect against bruteforcing
|
||||
gem 'rack-attack', '~> 6.3.0'
|
||||
gem 'rack-attack', '~> 6.6.0'
|
||||
|
||||
# Sentry integration
|
||||
gem 'sentry-raven', '~> 3.1'
|
||||
|
@ -311,12 +311,12 @@ gem 'sentry-sidekiq', '~> 5.1.1'
|
|||
|
||||
# PostgreSQL query parsing
|
||||
#
|
||||
gem 'pg_query', '~> 2.1'
|
||||
gem 'pg_query', '~> 2.1.0'
|
||||
|
||||
gem 'premailer-rails', '~> 1.10.3'
|
||||
|
||||
# LabKit: Tracing and Correlation
|
||||
gem 'gitlab-labkit', '~> 0.22.0'
|
||||
gem 'gitlab-labkit', '~> 0.23.0'
|
||||
# Thrift is a dependency of gitlab-labkit, we want a version higher than 0.14.0
|
||||
# because of https://gitlab.com/gitlab-org/gitlab/-/issues/321900
|
||||
gem 'thrift', '>= 0.14.0'
|
||||
|
@ -344,7 +344,7 @@ gem 'prometheus-client-mmap', '~> 0.15.0', require: 'prometheus/client'
|
|||
gem 'warning', '~> 1.2.0'
|
||||
|
||||
group :development do
|
||||
gem 'lefthook', '~> 0.7.0', require: false
|
||||
gem 'lefthook', '~> 0.8.0', require: false
|
||||
gem 'rubocop'
|
||||
gem 'solargraph', '~> 0.44.3', require: false
|
||||
|
||||
|
@ -381,7 +381,7 @@ group :development, :test do
|
|||
gem 'spring', '~> 2.1.0'
|
||||
gem 'spring-commands-rspec', '~> 1.0.4'
|
||||
|
||||
gem 'gitlab-styles', '~> 7.0.0', require: false
|
||||
gem 'gitlab-styles', '~> 7.1.0', require: false
|
||||
|
||||
gem 'haml_lint', '~> 0.36.0', require: false
|
||||
gem 'bundler-audit', '~> 0.7.0.1', require: false
|
||||
|
@ -402,10 +402,12 @@ group :development, :test do
|
|||
gem 'test_file_finder', '~> 0.1.3'
|
||||
|
||||
gem 'sigdump', '~> 0.2.4', require: 'sigdump/setup'
|
||||
|
||||
gem 'pact', '~> 1.12'
|
||||
end
|
||||
|
||||
group :development, :test, :danger do
|
||||
gem 'gitlab-dangerfiles', '~> 3.0', require: false
|
||||
gem 'gitlab-dangerfiles', '~> 3.4.0', require: false
|
||||
end
|
||||
|
||||
group :development, :test, :coverage do
|
||||
|
@ -477,13 +479,13 @@ gem 'sys-filesystem', '~> 1.4.3'
|
|||
gem 'net-ntp'
|
||||
|
||||
# SSH keys support
|
||||
gem 'ssh_data', '~> 1.2'
|
||||
gem 'ssh_data', '~> 1.3'
|
||||
|
||||
# Spamcheck GRPC protocol definitions
|
||||
gem 'spamcheck', '~> 0.1.0'
|
||||
|
||||
# Gitaly GRPC protocol definitions
|
||||
gem 'gitaly', '~> 14.10.0-rc1'
|
||||
gem 'gitaly', '~> 15.1.0-rc1'
|
||||
|
||||
# KAS GRPC protocol definitions
|
||||
gem 'kas-grpc', '~> 0.0.2'
|
||||
|
@ -503,7 +505,7 @@ gem 'gitlab-experiment', '~> 0.7.1'
|
|||
|
||||
# Structured logging
|
||||
gem 'lograge', '~> 0.5'
|
||||
gem 'grape_logging', '~> 1.7'
|
||||
gem 'grape_logging', '~> 1.8'
|
||||
|
||||
# DNS Lookup
|
||||
gem 'gitlab-net-dns', '~> 0.9.1'
|
||||
|
@ -545,3 +547,5 @@ gem 'ipaddress', '~> 0.8.3'
|
|||
gem 'parslet', '~> 1.8'
|
||||
|
||||
gem 'ipynbdiff', '0.4.7'
|
||||
|
||||
gem 'ed25519', '~> 1.3.0'
|
||||
|
|
159
Gemfile.lock
159
Gemfile.lock
|
@ -150,8 +150,8 @@ GEM
|
|||
rack (>= 0.9.0)
|
||||
bindata (2.4.10)
|
||||
binding_ninja (0.2.3)
|
||||
bootsnap (1.9.4)
|
||||
msgpack (~> 1.0)
|
||||
bootsnap (1.12.0)
|
||||
msgpack (~> 1.2)
|
||||
bootstrap_form (4.2.0)
|
||||
actionpack (>= 5.0)
|
||||
activemodel (>= 5.0)
|
||||
|
@ -221,10 +221,10 @@ GEM
|
|||
creole (0.5.0)
|
||||
crystalball (0.7.0)
|
||||
git
|
||||
css_parser (1.7.0)
|
||||
css_parser (1.11.0)
|
||||
addressable
|
||||
daemons (1.3.1)
|
||||
danger (8.5.0)
|
||||
danger (8.6.1)
|
||||
claide (~> 1.0)
|
||||
claide-plugins (>= 0.9.2)
|
||||
colored2 (~> 3.1)
|
||||
|
@ -313,6 +313,7 @@ GEM
|
|||
e2mmap (0.1.0)
|
||||
ecma-re-validator (0.3.0)
|
||||
regexp_parser (~> 2.0)
|
||||
ed25519 (1.3.0)
|
||||
elasticsearch (7.13.3)
|
||||
elasticsearch-api (= 7.13.3)
|
||||
elasticsearch-transport (= 7.13.3)
|
||||
|
@ -367,7 +368,7 @@ GEM
|
|||
faraday-em_http (1.0.0)
|
||||
faraday-em_synchrony (1.0.0)
|
||||
faraday-excon (1.1.0)
|
||||
faraday-http-cache (2.2.0)
|
||||
faraday-http-cache (2.4.0)
|
||||
faraday (>= 0.8)
|
||||
faraday-httpclient (1.0.1)
|
||||
faraday-multipart (1.0.3)
|
||||
|
@ -394,6 +395,8 @@ GEM
|
|||
rake
|
||||
ffi-yajl (2.3.4)
|
||||
libyajl2 (~> 1.2)
|
||||
filelock (1.1.1)
|
||||
find_a_port (1.0.1)
|
||||
flipper (0.21.0)
|
||||
flipper-active_record (0.21.0)
|
||||
activerecord (>= 5.0, < 7)
|
||||
|
@ -409,11 +412,10 @@ GEM
|
|||
fog-json
|
||||
ipaddress (~> 0.8)
|
||||
xml-simple (~> 1.1)
|
||||
fog-aws (3.12.0)
|
||||
fog-aws (3.14.0)
|
||||
fog-core (~> 2.1)
|
||||
fog-json (~> 1.1)
|
||||
fog-xml (~> 0.1)
|
||||
ipaddress (~> 0.8)
|
||||
fog-core (2.1.0)
|
||||
builder
|
||||
excon (~> 0.58)
|
||||
|
@ -465,7 +467,7 @@ GEM
|
|||
rails (>= 3.2.0)
|
||||
git (1.7.0)
|
||||
rchardet (~> 1.8)
|
||||
gitaly (14.10.0.pre.rc1)
|
||||
gitaly (15.1.0.pre.rc1)
|
||||
grpc (~> 1.0)
|
||||
github-markup (1.7.0)
|
||||
gitlab (4.16.1)
|
||||
|
@ -473,21 +475,21 @@ GEM
|
|||
terminal-table (~> 1.5, >= 1.5.1)
|
||||
gitlab-chronic (0.10.5)
|
||||
numerizer (~> 0.2)
|
||||
gitlab-dangerfiles (3.0.0)
|
||||
gitlab-dangerfiles (3.4.0)
|
||||
danger (>= 8.4.5)
|
||||
danger-gitlab (>= 8.0.0)
|
||||
rake
|
||||
gitlab-experiment (0.7.1)
|
||||
activesupport (>= 3.0)
|
||||
request_store (>= 1.0)
|
||||
gitlab-fog-azure-rm (1.2.0)
|
||||
gitlab-fog-azure-rm (1.3.0)
|
||||
azure-storage-blob (~> 2.0)
|
||||
azure-storage-common (~> 2.0)
|
||||
fog-core (= 2.1.0)
|
||||
fog-json (~> 1.2.0)
|
||||
mime-types
|
||||
ms_rest_azure (~> 0.12.0)
|
||||
gitlab-labkit (0.22.0)
|
||||
gitlab-labkit (0.23.0)
|
||||
actionpack (>= 5.0.0, < 7.0.0)
|
||||
activesupport (>= 5.0.0, < 7.0.0)
|
||||
grpc (>= 1.37)
|
||||
|
@ -512,7 +514,7 @@ GEM
|
|||
openid_connect (~> 1.2)
|
||||
gitlab-sidekiq-fetcher (0.8.0)
|
||||
sidekiq (~> 6.1)
|
||||
gitlab-styles (7.0.0)
|
||||
gitlab-styles (7.1.0)
|
||||
rubocop (~> 0.91, >= 0.91.1)
|
||||
rubocop-gitlab-security (~> 0.1.1)
|
||||
rubocop-graphql (~> 0.10)
|
||||
|
@ -571,7 +573,7 @@ GEM
|
|||
grape (~> 1.3)
|
||||
rake (> 12)
|
||||
ruby2_keywords (~> 0.0.2)
|
||||
grape_logging (1.8.3)
|
||||
grape_logging (1.8.4)
|
||||
grape
|
||||
rack
|
||||
graphiql-rails (1.8.0)
|
||||
|
@ -581,7 +583,7 @@ GEM
|
|||
faraday (>= 1.0)
|
||||
faraday_middleware
|
||||
graphql-client
|
||||
graphql (1.11.10)
|
||||
graphql (1.13.12)
|
||||
graphql-client (0.17.0)
|
||||
activesupport (>= 3.0)
|
||||
graphql (~> 1.10)
|
||||
|
@ -722,7 +724,7 @@ GEM
|
|||
rest-client (~> 2.0)
|
||||
launchy (2.5.0)
|
||||
addressable (~> 2.7)
|
||||
lefthook (0.7.5)
|
||||
lefthook (0.8.0)
|
||||
letter_opener (1.7.0)
|
||||
launchy (~> 2.2)
|
||||
letter_opener_web (2.0.0)
|
||||
|
@ -784,7 +786,7 @@ GEM
|
|||
faraday (>= 0.9, < 2.0.0)
|
||||
faraday-cookie_jar (~> 0.0.6)
|
||||
ms_rest (~> 0.7.6)
|
||||
msgpack (1.5.1)
|
||||
msgpack (1.5.2)
|
||||
multi_json (1.14.1)
|
||||
multi_xml (0.6.0)
|
||||
multipart-post (2.1.1)
|
||||
|
@ -805,7 +807,7 @@ GEM
|
|||
netrc (0.11.0)
|
||||
nio4r (2.5.8)
|
||||
no_proxy_fix (0.1.2)
|
||||
nokogiri (1.13.3)
|
||||
nokogiri (1.13.6)
|
||||
mini_portile2 (~> 2.8.0)
|
||||
racc (~> 1.4)
|
||||
notiffany (0.1.3)
|
||||
|
@ -859,8 +861,8 @@ GEM
|
|||
addressable (~> 2.3)
|
||||
nokogiri (~> 1.7, >= 1.7.1)
|
||||
omniauth (~> 1.2)
|
||||
omniauth-dingtalk-oauth2 (1.0.0)
|
||||
omniauth-oauth2 (~> 1.7.1)
|
||||
omniauth-dingtalk-oauth2 (1.0.1)
|
||||
omniauth-oauth2 (~> 1.7)
|
||||
omniauth-facebook (4.0.0)
|
||||
omniauth-oauth2 (~> 1.2)
|
||||
omniauth-github (1.4.0)
|
||||
|
@ -915,22 +917,45 @@ GEM
|
|||
rubypants (~> 0.2)
|
||||
orm_adapter (0.5.0)
|
||||
os (1.1.1)
|
||||
parallel (1.20.1)
|
||||
parser (3.0.3.2)
|
||||
pact (1.59.0)
|
||||
pact-mock_service (~> 3.0, >= 3.3.1)
|
||||
pact-support (~> 1.15)
|
||||
rack-test (>= 0.6.3, < 2.0.0)
|
||||
rspec (~> 3.0)
|
||||
term-ansicolor (~> 1.0)
|
||||
thor (>= 0.20, < 2.0)
|
||||
webrick (~> 1.3)
|
||||
pact-mock_service (3.6.2)
|
||||
filelock (~> 1.1)
|
||||
find_a_port (~> 1.0.1)
|
||||
json
|
||||
pact-support (~> 1.12, >= 1.12.0)
|
||||
rack (~> 2.0)
|
||||
rspec (>= 2.14)
|
||||
term-ansicolor (~> 1.0)
|
||||
thor (>= 0.19, < 2.0)
|
||||
webrick (~> 1.3)
|
||||
pact-support (1.15.1)
|
||||
awesome_print (~> 1.1)
|
||||
randexp (~> 0.1.7)
|
||||
rspec (>= 2.14)
|
||||
term-ansicolor (~> 1.0)
|
||||
parallel (1.22.1)
|
||||
parser (3.1.2.0)
|
||||
ast (~> 2.4.1)
|
||||
parslet (1.8.2)
|
||||
pastel (0.8.0)
|
||||
tty-color (~> 0.5)
|
||||
peek (1.1.0)
|
||||
railties (>= 4.0.0)
|
||||
pg (1.2.3)
|
||||
pg_query (2.1.1)
|
||||
google-protobuf (>= 3.17.1)
|
||||
pg (1.3.5)
|
||||
pg_query (2.1.3)
|
||||
google-protobuf (>= 3.19.2)
|
||||
plist (3.6.0)
|
||||
png_quantizator (0.2.1)
|
||||
po_to_json (1.0.1)
|
||||
json (>= 1.6.0)
|
||||
premailer (1.11.1)
|
||||
premailer (1.16.0)
|
||||
addressable
|
||||
css_parser (>= 1.6.0)
|
||||
htmlentities (>= 4.0.0)
|
||||
|
@ -954,7 +979,7 @@ GEM
|
|||
pry (~> 0.13.0)
|
||||
tty-markdown
|
||||
tty-prompt
|
||||
public_suffix (4.0.6)
|
||||
public_suffix (4.0.7)
|
||||
puma (5.6.2)
|
||||
nio4r (~> 2.0)
|
||||
puma_worker_killer (0.3.1)
|
||||
|
@ -966,11 +991,11 @@ GEM
|
|||
rack (2.2.3.1)
|
||||
rack-accept (0.4.5)
|
||||
rack (>= 0.4)
|
||||
rack-attack (6.3.0)
|
||||
rack-attack (6.6.1)
|
||||
rack (>= 1.0, < 3)
|
||||
rack-cors (1.0.6)
|
||||
rack (>= 1.6.0)
|
||||
rack-oauth2 (1.16.0)
|
||||
rack-cors (1.1.1)
|
||||
rack (>= 2.0.0)
|
||||
rack-oauth2 (1.19.0)
|
||||
activesupport
|
||||
attr_required
|
||||
httpclient
|
||||
|
@ -980,7 +1005,7 @@ GEM
|
|||
rack
|
||||
rack-test (1.1.0)
|
||||
rack (>= 1.0, < 3)
|
||||
rack-timeout (0.5.2)
|
||||
rack-timeout (0.6.0)
|
||||
rails (6.1.4.7)
|
||||
actioncable (= 6.1.4.7)
|
||||
actionmailbox (= 6.1.4.7)
|
||||
|
@ -1014,8 +1039,9 @@ GEM
|
|||
method_source
|
||||
rake (>= 0.13)
|
||||
thor (~> 1.0)
|
||||
rainbow (3.0.0)
|
||||
rainbow (3.1.1)
|
||||
rake (13.0.6)
|
||||
randexp (0.1.7)
|
||||
rb-fsevent (0.10.4)
|
||||
rb-inotify (0.10.1)
|
||||
ffi (~> 1.0)
|
||||
|
@ -1026,7 +1052,7 @@ GEM
|
|||
rbtree (0.4.4)
|
||||
rchardet (1.8.0)
|
||||
rdoc (6.3.2)
|
||||
re2 (1.2.0)
|
||||
re2 (1.4.0)
|
||||
recaptcha (4.13.1)
|
||||
json
|
||||
recursive-open-struct (1.1.3)
|
||||
|
@ -1042,7 +1068,7 @@ GEM
|
|||
redis-store (>= 1.2, < 2)
|
||||
redis-store (1.9.0)
|
||||
redis (>= 4, < 5)
|
||||
regexp_parser (2.2.1)
|
||||
regexp_parser (2.5.0)
|
||||
regexp_property_values (1.0.0)
|
||||
representable (3.0.4)
|
||||
declarative (< 0.1.0)
|
||||
|
@ -1064,7 +1090,7 @@ GEM
|
|||
rexml (3.2.5)
|
||||
rinku (2.0.0)
|
||||
rotp (6.2.0)
|
||||
rouge (3.27.0)
|
||||
rouge (3.29.0)
|
||||
rqrcode (0.7.0)
|
||||
chunky_png
|
||||
rqrcode-rails3 (0.1.7)
|
||||
|
@ -1119,11 +1145,11 @@ GEM
|
|||
rubocop-ast (>= 0.6.0)
|
||||
ruby-progressbar (~> 1.7)
|
||||
unicode-display_width (>= 1.4.0, < 2.0)
|
||||
rubocop-ast (1.4.1)
|
||||
parser (>= 2.7.1.5)
|
||||
rubocop-ast (1.18.0)
|
||||
parser (>= 3.1.1.0)
|
||||
rubocop-gitlab-security (0.1.1)
|
||||
rubocop (>= 0.51)
|
||||
rubocop-graphql (0.13.0)
|
||||
rubocop-graphql (0.14.3)
|
||||
rubocop (>= 0.87, < 2)
|
||||
rubocop-performance (1.9.2)
|
||||
rubocop (>= 0.90.0, < 2.0)
|
||||
|
@ -1260,7 +1286,7 @@ GEM
|
|||
activesupport (>= 5.2)
|
||||
sprockets (>= 3.0.0)
|
||||
sqlite3 (1.4.2)
|
||||
ssh_data (1.2.0)
|
||||
ssh_data (1.3.0)
|
||||
ssrf_filter (1.0.7)
|
||||
stackprof (0.2.15)
|
||||
state_machines (0.5.0)
|
||||
|
@ -1279,11 +1305,14 @@ GEM
|
|||
activesupport (>= 3)
|
||||
attr_required (>= 0.0.5)
|
||||
httpclient (>= 2.4)
|
||||
sync (0.5.0)
|
||||
sys-filesystem (1.4.3)
|
||||
ffi (~> 1.1)
|
||||
sysexits (1.2.0)
|
||||
tanuki_emoji (0.6.0)
|
||||
temple (0.8.2)
|
||||
term-ansicolor (1.7.1)
|
||||
tins (~> 1.0)
|
||||
terminal-table (1.8.0)
|
||||
unicode-display_width (~> 1.1, >= 1.1.1)
|
||||
terser (1.0.2)
|
||||
|
@ -1302,6 +1331,8 @@ GEM
|
|||
timecop (0.9.1)
|
||||
timeliness (0.3.10)
|
||||
timfel-krb5-auth (0.8.3)
|
||||
tins (1.31.0)
|
||||
sync
|
||||
toml-rb (2.0.1)
|
||||
citrus (~> 3.0, > 3.0)
|
||||
tomlrb (1.3.0)
|
||||
|
@ -1348,7 +1379,7 @@ GEM
|
|||
unf (0.1.4)
|
||||
unf_ext
|
||||
unf_ext (0.0.8)
|
||||
unicode-display_width (1.7.0)
|
||||
unicode-display_width (1.8.0)
|
||||
unicode_utils (1.4.0)
|
||||
uniform_notifier (1.13.0)
|
||||
unleash (3.2.2)
|
||||
|
@ -1410,7 +1441,7 @@ GEM
|
|||
nokogiri (~> 1.8)
|
||||
yajl-ruby (1.4.1)
|
||||
yard (0.9.26)
|
||||
zeitwerk (2.5.4)
|
||||
zeitwerk (2.6.0)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
@ -1442,7 +1473,7 @@ DEPENDENCIES
|
|||
benchmark-ips (~> 2.3.0)
|
||||
benchmark-memory (~> 0.1)
|
||||
better_errors (~> 2.9.0)
|
||||
bootsnap (~> 1.9.4)
|
||||
bootsnap (~> 1.12.0)
|
||||
bootstrap_form (~> 4.2.0)
|
||||
browser (~> 4.2)
|
||||
bullet (~> 6.1.3)
|
||||
|
@ -1471,6 +1502,7 @@ DEPENDENCIES
|
|||
discordrb-webhooks (~> 3.4)
|
||||
doorkeeper (~> 5.5.0.rc2)
|
||||
doorkeeper-openid_connect (~> 1.7.5)
|
||||
ed25519 (~> 1.3.0)
|
||||
elasticsearch-api (= 7.13.3)
|
||||
elasticsearch-model (~> 7.2)
|
||||
elasticsearch-rails (~> 7.2)
|
||||
|
@ -1488,7 +1520,7 @@ DEPENDENCIES
|
|||
flipper-active_support_cache_store (~> 0.21.0)
|
||||
flowdock (~> 0.7)
|
||||
fog-aliyun (~> 0.3)
|
||||
fog-aws (~> 3.12)
|
||||
fog-aws (~> 3.14)
|
||||
fog-core (= 2.1.0)
|
||||
fog-google (~> 1.15)
|
||||
fog-local (~> 0.6)
|
||||
|
@ -1499,13 +1531,13 @@ DEPENDENCIES
|
|||
gettext (~> 3.3)
|
||||
gettext_i18n_rails (~> 1.8.0)
|
||||
gettext_i18n_rails_js (~> 1.3)
|
||||
gitaly (~> 14.10.0.pre.rc1)
|
||||
gitaly (~> 15.1.0.pre.rc1)
|
||||
github-markup (~> 1.7.0)
|
||||
gitlab-chronic (~> 0.10.5)
|
||||
gitlab-dangerfiles (~> 3.0)
|
||||
gitlab-dangerfiles (~> 3.4.0)
|
||||
gitlab-experiment (~> 0.7.1)
|
||||
gitlab-fog-azure-rm (~> 1.2.0)
|
||||
gitlab-labkit (~> 0.22.0)
|
||||
gitlab-fog-azure-rm (~> 1.3.0)
|
||||
gitlab-labkit (~> 0.23.0)
|
||||
gitlab-license (~> 2.1.0)
|
||||
gitlab-license_finder (~> 6.0)
|
||||
gitlab-mail_room (~> 0.0.9)
|
||||
|
@ -1513,7 +1545,7 @@ DEPENDENCIES
|
|||
gitlab-net-dns (~> 0.9.1)
|
||||
gitlab-omniauth-openid-connect (~> 0.9.0)
|
||||
gitlab-sidekiq-fetcher (= 0.8.0)
|
||||
gitlab-styles (~> 7.0.0)
|
||||
gitlab-styles (~> 7.1.0)
|
||||
gitlab_chronic_duration (~> 0.10.6.2)
|
||||
gitlab_omniauth-ldap (~> 2.1.1)
|
||||
gon (~> 6.4.0)
|
||||
|
@ -1523,10 +1555,10 @@ DEPENDENCIES
|
|||
grape (~> 1.5.2)
|
||||
grape-entity (~> 0.10.0)
|
||||
grape-path-helpers (~> 1.7.0)
|
||||
grape_logging (~> 1.7)
|
||||
grape_logging (~> 1.8)
|
||||
graphiql-rails (~> 1.8)
|
||||
graphlient (~> 0.5.0)
|
||||
graphql (~> 1.11.10)
|
||||
graphql (~> 1.13.12)
|
||||
graphql-docs (~> 1.6.0)
|
||||
grpc (~> 1.42.0)
|
||||
gssapi
|
||||
|
@ -1554,7 +1586,7 @@ DEPENDENCIES
|
|||
knapsack (~> 1.21.1)
|
||||
kramdown (~> 2.3.1)
|
||||
kubeclient (~> 4.9.2)
|
||||
lefthook (~> 0.7.0)
|
||||
lefthook (~> 0.8.0)
|
||||
letter_opener_web (~> 2.0.0)
|
||||
licensee (~> 9.14.1)
|
||||
lockbox (~> 0.6.2)
|
||||
|
@ -1571,7 +1603,7 @@ DEPENDENCIES
|
|||
multi_json (~> 1.14.1)
|
||||
net-ldap (~> 0.16.3)
|
||||
net-ntp
|
||||
nokogiri (~> 1.12)
|
||||
nokogiri (~> 1.13.6)
|
||||
oauth2 (~> 1.4)
|
||||
octokit (~> 4.15)
|
||||
ohai (~> 16.10)
|
||||
|
@ -1596,11 +1628,12 @@ DEPENDENCIES
|
|||
omniauth-twitter (~> 1.4)
|
||||
omniauth_crowd (~> 2.4.0)
|
||||
org-ruby (~> 0.9.12)
|
||||
pact (~> 1.12)
|
||||
parallel (~> 1.19)
|
||||
parslet (~> 1.8)
|
||||
peek (~> 1.1)
|
||||
pg (~> 1.1)
|
||||
pg_query (~> 2.1)
|
||||
pg (~> 1.3.0)
|
||||
pg_query (~> 2.1.0)
|
||||
png_quantizator (~> 0.2.1)
|
||||
premailer-rails (~> 1.10.3)
|
||||
prometheus-client-mmap (~> 0.15.0)
|
||||
|
@ -1609,19 +1642,19 @@ DEPENDENCIES
|
|||
pry-shell (~> 0.5.0)
|
||||
puma (~> 5.6.2)
|
||||
puma_worker_killer (~> 0.3.1)
|
||||
rack (~> 2.2.3)
|
||||
rack-attack (~> 6.3.0)
|
||||
rack-cors (~> 1.0.6)
|
||||
rack-oauth2 (~> 1.16.0)
|
||||
rack (~> 2.2.3.0)
|
||||
rack-attack (~> 6.6.0)
|
||||
rack-cors (~> 1.1.0)
|
||||
rack-oauth2 (~> 1.19.0)
|
||||
rack-proxy (~> 0.7.2)
|
||||
rack-timeout (~> 0.5.1)
|
||||
rack-timeout (~> 0.6.0)
|
||||
rails (~> 6.1.4.7)
|
||||
rails-controller-testing
|
||||
rails-i18n (~> 6.0)
|
||||
rainbow (~> 3.0)
|
||||
rbtrace (~> 0.4)
|
||||
rdoc (~> 6.3.2)
|
||||
re2 (~> 1.2.0)
|
||||
re2 (~> 1.4.0)
|
||||
recaptcha (~> 4.11)
|
||||
redis (~> 4.4.0)
|
||||
redis-actionpack (~> 5.2.0)
|
||||
|
@ -1630,7 +1663,7 @@ DEPENDENCIES
|
|||
responders (~> 3.0)
|
||||
retriable (~> 3.1.2)
|
||||
rexml (~> 3.2.5)
|
||||
rouge (~> 3.27.0)
|
||||
rouge (~> 3.29.0)
|
||||
rqrcode-rails3 (~> 0.1.7)
|
||||
rspec-benchmark (~> 0.6.0)
|
||||
rspec-parameterized
|
||||
|
@ -1673,7 +1706,7 @@ DEPENDENCIES
|
|||
spring-commands-rspec (~> 1.0.4)
|
||||
sprite-factory (~> 1.7)
|
||||
sprockets (~> 3.7.0)
|
||||
ssh_data (~> 1.2)
|
||||
ssh_data (~> 1.3)
|
||||
stackprof (~> 0.2.15)
|
||||
state_machines-activerecord (~> 0.8.0)
|
||||
sys-filesystem (~> 1.4.3)
|
||||
|
@ -1705,4 +1738,4 @@ DEPENDENCIES
|
|||
yajl-ruby (~> 1.4.1)
|
||||
|
||||
BUNDLED WITH
|
||||
2.3.6
|
||||
2.3.15
|
||||
|
|
|
@ -36,7 +36,7 @@ files in this repository.
|
|||
|
||||
## Hiring
|
||||
|
||||
We're hiring developers, support people, and production engineers all the time, please see our [jobs page](https://about.gitlab.com/jobs/).
|
||||
We are hiring developers, support people, and production engineers all the time, please see our [jobs page](https://about.gitlab.com/jobs/).
|
||||
|
||||
## Website
|
||||
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
15.0.4
|
||||
15.1.3
|
Binary file not shown.
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 1.6 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
@ -0,0 +1,168 @@
|
|||
<script>
|
||||
import { GlButton, GlIcon, GlLink, GlPagination, GlTable, GlTooltipDirective } from '@gitlab/ui';
|
||||
import { helpPagePath } from '~/helpers/help_page_helper';
|
||||
import { convertObjectPropsToCamelCase } from '~/lib/utils/common_utils';
|
||||
import { __, sprintf } from '~/locale';
|
||||
import DomElementListener from '~/vue_shared/components/dom_element_listener.vue';
|
||||
import TimeAgoTooltip from '~/vue_shared/components/time_ago_tooltip.vue';
|
||||
import UserDate from '~/vue_shared/components/user_date.vue';
|
||||
import { EVENT_SUCCESS, FIELDS, FORM_SELECTOR, INITIAL_PAGE, PAGE_SIZE } from './constants';
|
||||
|
||||
export default {
|
||||
EVENT_SUCCESS,
|
||||
FORM_SELECTOR,
|
||||
PAGE_SIZE,
|
||||
name: 'AccessTokenTableApp',
|
||||
components: {
|
||||
DomElementListener,
|
||||
GlButton,
|
||||
GlIcon,
|
||||
GlLink,
|
||||
GlPagination,
|
||||
GlTable,
|
||||
TimeAgoTooltip,
|
||||
UserDate,
|
||||
},
|
||||
directives: {
|
||||
GlTooltip: GlTooltipDirective,
|
||||
},
|
||||
lastUsedHelpLink: helpPagePath('/user/profile/personal_access_tokens.md', {
|
||||
anchor: 'view-the-last-time-a-token-was-used',
|
||||
}),
|
||||
i18n: {
|
||||
emptyField: __('Never'),
|
||||
expired: __('Expired'),
|
||||
header: __('Active %{accessTokenTypePlural} (%{totalAccessTokens})'),
|
||||
modalMessage: __(
|
||||
'Are you sure you want to revoke this %{accessTokenType}? This action cannot be undone.',
|
||||
),
|
||||
revokeButton: __('Revoke'),
|
||||
tokenValidity: __('Token valid until revoked'),
|
||||
},
|
||||
inject: [
|
||||
'accessTokenType',
|
||||
'accessTokenTypePlural',
|
||||
'initialActiveAccessTokens',
|
||||
'noActiveTokensMessage',
|
||||
'showRole',
|
||||
],
|
||||
data() {
|
||||
return {
|
||||
activeAccessTokens: this.initialActiveAccessTokens,
|
||||
currentPage: INITIAL_PAGE,
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
filteredFields() {
|
||||
return this.showRole ? FIELDS : FIELDS.filter((field) => field.key !== 'role');
|
||||
},
|
||||
header() {
|
||||
return sprintf(this.$options.i18n.header, {
|
||||
accessTokenTypePlural: this.accessTokenTypePlural,
|
||||
totalAccessTokens: this.activeAccessTokens.length,
|
||||
});
|
||||
},
|
||||
modalMessage() {
|
||||
return sprintf(this.$options.i18n.modalMessage, {
|
||||
accessTokenType: this.accessTokenType,
|
||||
});
|
||||
},
|
||||
showPagination() {
|
||||
return this.activeAccessTokens.length > PAGE_SIZE;
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
onSuccess(event) {
|
||||
const [{ active_access_tokens: activeAccessTokens }] = event.detail;
|
||||
this.activeAccessTokens = convertObjectPropsToCamelCase(activeAccessTokens, { deep: true });
|
||||
this.currentPage = INITIAL_PAGE;
|
||||
},
|
||||
sortingChanged(aRow, bRow, key) {
|
||||
if (['createdAt', 'lastUsedAt', 'expiresAt'].includes(key)) {
|
||||
// Transform `null` value to the latest possible date
|
||||
// https://stackoverflow.com/a/11526569/18428169
|
||||
const maxEpoch = 8640000000000000;
|
||||
const a = new Date(aRow[key] ?? maxEpoch).getTime();
|
||||
const b = new Date(bRow[key] ?? maxEpoch).getTime();
|
||||
return a - b;
|
||||
}
|
||||
|
||||
// For other columns the default sorting works OK
|
||||
return false;
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<dom-element-listener :selector="$options.FORM_SELECTOR" @[$options.EVENT_SUCCESS]="onSuccess">
|
||||
<div>
|
||||
<hr />
|
||||
<h5>{{ header }}</h5>
|
||||
|
||||
<gl-table
|
||||
data-testid="active-tokens"
|
||||
:empty-text="noActiveTokensMessage"
|
||||
:fields="filteredFields"
|
||||
:items="activeAccessTokens"
|
||||
:per-page="$options.PAGE_SIZE"
|
||||
:current-page="currentPage"
|
||||
:sort-compare="sortingChanged"
|
||||
show-empty
|
||||
>
|
||||
<template #cell(createdAt)="{ item: { createdAt } }">
|
||||
<user-date :date="createdAt" />
|
||||
</template>
|
||||
|
||||
<template #head(lastUsedAt)="{ label }">
|
||||
<span>{{ label }}</span>
|
||||
<gl-link :href="$options.lastUsedHelpLink"
|
||||
><gl-icon name="question-o" /><span class="gl-sr-only">{{
|
||||
s__('AccessTokens|The last time a token was used')
|
||||
}}</span></gl-link
|
||||
>
|
||||
</template>
|
||||
|
||||
<template #cell(lastUsedAt)="{ item: { lastUsedAt } }">
|
||||
<time-ago-tooltip v-if="lastUsedAt" :time="lastUsedAt" />
|
||||
<template v-else> {{ $options.i18n.emptyField }}</template>
|
||||
</template>
|
||||
|
||||
<template #cell(expiresAt)="{ item: { expiresAt, expired, expiresSoon } }">
|
||||
<template v-if="expiresAt">
|
||||
<span v-if="expired" class="text-danger">{{ $options.i18n.expired }}</span>
|
||||
<time-ago-tooltip v-else :class="{ 'text-warning': expiresSoon }" :time="expiresAt" />
|
||||
</template>
|
||||
<span v-else v-gl-tooltip :title="$options.i18n.tokenValidity">{{
|
||||
$options.i18n.emptyField
|
||||
}}</span>
|
||||
</template>
|
||||
|
||||
<template #cell(action)="{ item: { revokePath, expiresAt } }">
|
||||
<gl-button
|
||||
variant="danger"
|
||||
:category="expiresAt ? 'primary' : 'secondary'"
|
||||
:aria-label="$options.i18n.revokeButton"
|
||||
:data-confirm="modalMessage"
|
||||
data-confirm-btn-variant="danger"
|
||||
data-qa-selector="revoke_button"
|
||||
data-method="put"
|
||||
:href="revokePath"
|
||||
icon="remove"
|
||||
/>
|
||||
</template>
|
||||
</gl-table>
|
||||
<gl-pagination
|
||||
v-if="showPagination"
|
||||
v-model="currentPage"
|
||||
:per-page="$options.PAGE_SIZE"
|
||||
:total-items="activeAccessTokens.length"
|
||||
:prev-text="__('Prev')"
|
||||
:next-text="__('Next')"
|
||||
:label-next-page="__('Go to next page')"
|
||||
:label-prev-page="__('Go to previous page')"
|
||||
align="center"
|
||||
/>
|
||||
</div>
|
||||
</dom-element-listener>
|
||||
</template>
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue