Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
parent
3142dd7bc1
commit
6f55d35304
|
|
@ -1 +1 @@
|
|||
efcd20f72de26344ee5c5abe85b9fd8876e660c2
|
||||
a55fcf0766d1e0f9fba854d57f0377bf1d7cea27
|
||||
|
|
|
|||
|
|
@ -0,0 +1,26 @@
|
|||
import ClipboardButton from './clipboard_button.vue';
|
||||
|
||||
export default {
|
||||
component: ClipboardButton,
|
||||
title: 'vue_shared/components/clipboard_button',
|
||||
};
|
||||
|
||||
const Template = (args, { argTypes }) => ({
|
||||
components: { ClipboardButton },
|
||||
props: Object.keys(argTypes),
|
||||
template: '<ClipboardButton v-bind="$props" />',
|
||||
});
|
||||
|
||||
export const Default = Template.bind({});
|
||||
Default.args = {
|
||||
text: 'qa-test-feature-356134266df1ef7f',
|
||||
gfm: null,
|
||||
title: 'Copy branch name <kbd aria-hidden="true" class="flat gl-ml-1">b</kbd>',
|
||||
tooltipPlacement: 'bottom',
|
||||
tooltipContainer: false,
|
||||
tooltipBoundary: null,
|
||||
cssClass: null,
|
||||
category: 'tertiary',
|
||||
size: 'small',
|
||||
variant: 'default',
|
||||
};
|
||||
|
|
@ -221,7 +221,6 @@ class Projects::IssuesController < Projects::ApplicationController
|
|||
@related_branches = ::Issues::RelatedBranchesService
|
||||
.new(container: project, current_user: current_user)
|
||||
.execute(issue)
|
||||
.map { |branch| branch.merge(link: branch_link(branch)) }
|
||||
|
||||
respond_to do |format|
|
||||
format.json do
|
||||
|
|
@ -442,10 +441,6 @@ class Projects::IssuesController < Projects::ApplicationController
|
|||
options
|
||||
end
|
||||
|
||||
def branch_link(branch)
|
||||
project_compare_path(project, from: project.default_branch, to: branch[:name])
|
||||
end
|
||||
|
||||
def service_desk?
|
||||
action_name == 'service_desk'
|
||||
end
|
||||
|
|
|
|||
|
|
@ -0,0 +1,24 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module Types
|
||||
module WorkItems
|
||||
# Disabling widget level authorization as it might be too granular
|
||||
# and we already authorize the parent work item
|
||||
# rubocop:disable Graphql/AuthorizeTypes -- reason above
|
||||
class RelatedBranchType < BaseObject
|
||||
graphql_name 'WorkItemRelatedBranch'
|
||||
|
||||
field :name,
|
||||
GraphQL::Types::String,
|
||||
null: false,
|
||||
description: 'Name of the branch.'
|
||||
|
||||
field :compare_path, GraphQL::Types::String, null: true,
|
||||
description: 'Path to comparison of branch to default branch.'
|
||||
|
||||
field :pipeline_status, Types::Ci::DetailedStatusType, null: true,
|
||||
description: 'Status of pipeline for the branch.'
|
||||
end
|
||||
# rubocop:enable Graphql/AuthorizeTypes
|
||||
end
|
||||
end
|
||||
|
|
@ -16,7 +16,14 @@ module Types
|
|||
Types::WorkItems::ClosingMergeRequestType.connection_type,
|
||||
null: true,
|
||||
description: 'Merge requests that will close the work item when merged.'
|
||||
field :related_merge_requests,
|
||||
field :related_branches, # rubocop:disable GraphQL/ExtractType -- no need to extract to related
|
||||
Types::WorkItems::RelatedBranchType.connection_type,
|
||||
calls_gitaly: true,
|
||||
description: 'Branches that have referred to the work item, but do not have an associated merge request.',
|
||||
null: true do
|
||||
extension ::Gitlab::Graphql::Limit::FieldCallCount, limit: 1
|
||||
end
|
||||
field :related_merge_requests, # rubocop:disable GraphQL/ExtractType -- no need to extract to related
|
||||
Types::MergeRequestType.connection_type,
|
||||
null: true,
|
||||
description: 'Merge requests where the work item has been mentioned. Not implemented, returns empty list.',
|
||||
|
|
@ -26,6 +33,14 @@ module Types
|
|||
null: false,
|
||||
description: 'Whether the work item will automatically be closed when a closing merge request is merged.'
|
||||
|
||||
def related_branches
|
||||
return [] unless object.work_item.project
|
||||
|
||||
::Issues::RelatedBranchesService
|
||||
.new(container: object.work_item.project, current_user: current_user)
|
||||
.execute(object.work_item)
|
||||
end
|
||||
|
||||
def closing_merge_requests
|
||||
if object.closing_merge_requests.loaded?
|
||||
object.closing_merge_requests
|
||||
|
|
|
|||
|
|
@ -0,0 +1,26 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module Ci
|
||||
class RunnerTagging < Ci::ApplicationRecord
|
||||
self.table_name = :ci_runner_taggings
|
||||
self.primary_key = :id
|
||||
|
||||
query_constraints :runner_id, :runner_type
|
||||
|
||||
before_validation :set_runner_type, on: :create, if: -> { runner_type.nil? && runner }
|
||||
|
||||
enum :runner_type, Ci::Runner.runner_types
|
||||
|
||||
belongs_to :runner, class_name: 'Ci::Runner', optional: false
|
||||
belongs_to :tag, class_name: 'Ci::Tag', optional: false
|
||||
|
||||
validates :runner_type, presence: true
|
||||
validates :sharding_key_id, presence: true
|
||||
|
||||
private
|
||||
|
||||
def set_runner_type
|
||||
self.runner_type = runner.runner_type
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
@ -7,5 +7,7 @@ module Members
|
|||
belongs_to :namespace, optional: false
|
||||
belongs_to :user, optional: false
|
||||
belongs_to :scheduled_by, class_name: 'User', optional: false
|
||||
|
||||
validates :user, uniqueness: { scope: :namespace_id, message: 'already scheduled for deletion' }
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -16,7 +16,8 @@ module Issues
|
|||
def branch_data(branch)
|
||||
{
|
||||
name: branch[:name],
|
||||
pipeline_status: pipeline_status(branch)
|
||||
pipeline_status: pipeline_status(branch),
|
||||
compare_path: branch_path(branch)
|
||||
}
|
||||
end
|
||||
|
||||
|
|
@ -45,5 +46,9 @@ module Issues
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
def branch_path(branch)
|
||||
Gitlab::Routing.url_helpers.project_compare_path(project, from: project.default_branch, to: branch[:name])
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -0,0 +1,36 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module Members
|
||||
class ScheduleDeletionService
|
||||
include BaseServiceUtility
|
||||
|
||||
def initialize(root_namespace, user, scheduled_by)
|
||||
@root_namespace = root_namespace
|
||||
@user = user
|
||||
@scheduled_by = scheduled_by
|
||||
end
|
||||
|
||||
def execute
|
||||
return error('Must be a root namespace') unless root_namespace.root?
|
||||
return error('User not authorized') unless can?(scheduled_by, :admin_group_member, root_namespace)
|
||||
|
||||
schedule_deletion
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
attr_reader :root_namespace, :user, :scheduled_by
|
||||
|
||||
def schedule_deletion
|
||||
schedule = Members::DeletionSchedule.new(
|
||||
namespace: root_namespace,
|
||||
user: user,
|
||||
scheduled_by: scheduled_by
|
||||
)
|
||||
|
||||
return error(schedule.errors.full_messages) unless schedule.save
|
||||
|
||||
success(deletion_schedule: schedule)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
@ -13,4 +13,4 @@
|
|||
- if branch[:pipeline_status].present?
|
||||
%span.-gl-my-2
|
||||
= render 'ci/status/icon', status: branch[:pipeline_status]
|
||||
= link_to branch[:name], branch[:link], class: 'ref-name'
|
||||
= link_to branch[:name], branch[:compare_path], class: 'ref-name'
|
||||
|
|
|
|||
|
|
@ -130,6 +130,14 @@ ci_runner_projects:
|
|||
- table: projects
|
||||
column: project_id
|
||||
on_delete: async_delete
|
||||
ci_runner_taggings_group_type:
|
||||
- table: namespaces
|
||||
column: sharding_key_id
|
||||
on_delete: async_delete
|
||||
ci_runner_taggings_project_type:
|
||||
- table: projects
|
||||
column: sharding_key_id
|
||||
on_delete: async_delete
|
||||
ci_runners:
|
||||
- table: users
|
||||
column: creator_id
|
||||
|
|
|
|||
|
|
@ -12,3 +12,4 @@ allow_cross_foreign_keys:
|
|||
- gitlab_main_clusterwide
|
||||
sharding_key:
|
||||
project_id: projects
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -13,3 +13,4 @@ allow_cross_foreign_keys:
|
|||
- gitlab_main_clusterwide
|
||||
sharding_key:
|
||||
group_id: namespaces
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -20,3 +20,4 @@ desired_sharding_key:
|
|||
sharding_key: target_project_id
|
||||
belongs_to: merge_request
|
||||
desired_sharding_key_migration_job_name: BackfillApprovalMergeRequestRulesProjectId
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -20,3 +20,4 @@ desired_sharding_key:
|
|||
sharding_key: project_id
|
||||
belongs_to: approval_merge_request_rule
|
||||
awaiting_backfill_on_parent: true
|
||||
table_size: large
|
||||
|
|
|
|||
|
|
@ -20,3 +20,4 @@ desired_sharding_key:
|
|||
sharding_key: target_project_id
|
||||
belongs_to: merge_request
|
||||
desired_sharding_key_migration_job_name: BackfillApprovalsProjectId
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -9,3 +9,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/cf6b622686eacff
|
|||
milestone: '7.6'
|
||||
gitlab_schema: gitlab_main
|
||||
sharding_key_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/454158
|
||||
table_size: large
|
||||
|
|
|
|||
|
|
@ -8,3 +8,4 @@ description: TODO
|
|||
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/39652
|
||||
milestone: '13.4'
|
||||
gitlab_schema: gitlab_main_clusterwide
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -19,3 +19,4 @@ desired_sharding_key:
|
|||
belongs_to: build
|
||||
foreign_key_name: fk_rails_3cf221d4ed_p
|
||||
desired_sharding_key_migration_job_name: BackfillCiBuildNeedsProjectId
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -11,3 +11,4 @@ milestone: '13.1'
|
|||
gitlab_schema: gitlab_ci
|
||||
sharding_key:
|
||||
project_id: projects
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -14,3 +14,4 @@ milestone: '8.0'
|
|||
gitlab_schema: gitlab_ci
|
||||
sharding_key:
|
||||
project_id: projects
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -9,3 +9,4 @@ milestone: '10.7'
|
|||
gitlab_schema: gitlab_ci
|
||||
sharding_key:
|
||||
project_id: projects
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -18,3 +18,4 @@ desired_sharding_key:
|
|||
sharding_key: project_id
|
||||
belongs_to: job_artifact
|
||||
desired_sharding_key_migration_job_name: BackfillCiJobArtifactStatesProjectId
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -10,3 +10,4 @@ milestone: '10.3'
|
|||
gitlab_schema: gitlab_ci
|
||||
sharding_key:
|
||||
project_id: projects
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -10,3 +10,4 @@ milestone: '12.2'
|
|||
gitlab_schema: gitlab_ci
|
||||
sharding_key:
|
||||
project_id: projects
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -11,3 +11,4 @@ milestone: '14.6'
|
|||
gitlab_schema: gitlab_ci
|
||||
sharding_key:
|
||||
namespace_id: namespaces
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -19,3 +19,4 @@ desired_sharding_key:
|
|||
belongs_to: pipeline
|
||||
foreign_key_name: fk_rails_8d3b04e3e1_p
|
||||
desired_sharding_key_migration_job_name: BackfillCiPipelineMessagesProjectId
|
||||
table_size: large
|
||||
|
|
|
|||
|
|
@ -19,3 +19,4 @@ desired_sharding_key:
|
|||
belongs_to: pipeline
|
||||
foreign_key_name: fk_f29c5f4380_p
|
||||
desired_sharding_key_migration_job_name: BackfillPCiPipelineVariablesProjectId
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -10,3 +10,4 @@ milestone: '9.0'
|
|||
gitlab_schema: gitlab_ci
|
||||
sharding_key:
|
||||
project_id: projects
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -10,3 +10,4 @@ milestone: '12.9'
|
|||
gitlab_schema: gitlab_ci
|
||||
sharding_key:
|
||||
project_id: projects
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
table_name: ci_runner_taggings
|
||||
classes:
|
||||
- Ci::RunnerTagging
|
||||
feature_categories:
|
||||
- runner
|
||||
- fleet_visibility
|
||||
- hosted_runners
|
||||
description: Routing table that holds information for runner taggings
|
||||
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/170778
|
||||
milestone: '17.6'
|
||||
gitlab_schema: gitlab_ci
|
||||
exempt_from_sharding: true
|
||||
sharding_key_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/467664
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
table_name: ci_runner_taggings_group_type
|
||||
classes:
|
||||
- Ci::RunnerTagging
|
||||
feature_categories:
|
||||
- runner
|
||||
- fleet_visibility
|
||||
description: Table holding information for group runner taggings, partition of `ci_runner_taggings`
|
||||
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/170778
|
||||
milestone: '17.6'
|
||||
gitlab_schema: gitlab_ci
|
||||
sharding_key:
|
||||
sharding_key_id: namespaces
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
table_name: ci_runner_taggings_instance_type
|
||||
classes:
|
||||
- Ci::RunnerTagging
|
||||
feature_categories:
|
||||
- runner
|
||||
- fleet_visibility
|
||||
- hosted_runners
|
||||
description: Table holding information for group runner taggings, partition of `ci_runner_taggings`
|
||||
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/170778
|
||||
milestone: '17.6'
|
||||
gitlab_schema: gitlab_ci
|
||||
exempt_from_sharding: true
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
table_name: ci_runner_taggings_project_type
|
||||
classes:
|
||||
- Ci::RunnerTagging
|
||||
feature_categories:
|
||||
- runner
|
||||
- fleet_visibility
|
||||
description: Table holding information for group runner taggings, partition of `ci_runner_taggings`
|
||||
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/170778
|
||||
milestone: '17.6'
|
||||
gitlab_schema: gitlab_ci
|
||||
sharding_key:
|
||||
sharding_key_id: projects
|
||||
|
|
@ -10,3 +10,4 @@ milestone: '9.3'
|
|||
gitlab_schema: gitlab_ci
|
||||
sharding_key:
|
||||
project_id: projects
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -10,3 +10,4 @@ milestone: '9.3'
|
|||
gitlab_schema: gitlab_ci
|
||||
sharding_key:
|
||||
project_id: projects
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -19,3 +19,4 @@ desired_sharding_key:
|
|||
table: deployments
|
||||
sharding_key: project_id
|
||||
belongs_to: deployment
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -23,3 +23,4 @@ schema_inconsistencies:
|
|||
- type: missing_indexes
|
||||
object_name: index_deployments_on_user_id_and_status_and_created_at
|
||||
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/157136
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -9,3 +9,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/17147
|
|||
milestone: '12.4'
|
||||
gitlab_schema: gitlab_main
|
||||
sharding_key_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/463411
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -9,3 +9,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/28113
|
|||
milestone: '13.0'
|
||||
gitlab_schema: gitlab_main_cell
|
||||
sharding_key_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/444222
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -16,3 +16,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/a847501fd2ffc1c
|
|||
milestone: '2.2'
|
||||
gitlab_schema: gitlab_main_cell
|
||||
sharding_key_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/462801
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -12,3 +12,4 @@ allow_cross_foreign_keys:
|
|||
- gitlab_main_clusterwide
|
||||
sharding_key:
|
||||
project_id: projects
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -10,3 +10,4 @@ milestone: '15.6'
|
|||
gitlab_schema: gitlab_main_cell
|
||||
sharding_key:
|
||||
project_id: projects
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -12,3 +12,4 @@ allow_cross_foreign_keys:
|
|||
- gitlab_main_clusterwide
|
||||
sharding_key:
|
||||
project_id: projects
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -11,3 +11,4 @@ milestone: "<6.0"
|
|||
gitlab_schema: gitlab_main_cell
|
||||
sharding_key:
|
||||
namespace_id: namespaces
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -10,3 +10,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/03654a6abf47c88
|
|||
milestone: '7.2'
|
||||
gitlab_schema: gitlab_main
|
||||
sharding_key_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/463411
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -9,3 +9,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/17
|
|||
milestone: '8.2'
|
||||
gitlab_schema: gitlab_main
|
||||
sharding_key_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/490482
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -12,3 +12,4 @@ allow_cross_foreign_keys:
|
|||
- gitlab_main_clusterwide
|
||||
sharding_key:
|
||||
project_id: projects
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -13,3 +13,4 @@ milestone: '7.4'
|
|||
gitlab_schema: gitlab_main_cell
|
||||
sharding_key:
|
||||
member_namespace_id: namespaces
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -20,3 +20,4 @@ desired_sharding_key:
|
|||
sharding_key: target_project_id
|
||||
belongs_to: merge_request
|
||||
desired_sharding_key_migration_job_name: BackfillMergeRequestAssigneesProjectId
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -19,3 +19,4 @@ desired_sharding_key:
|
|||
table: merge_requests
|
||||
sharding_key: target_project_id
|
||||
belongs_to: merge_request
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -17,3 +17,4 @@ desired_sharding_key:
|
|||
table: merge_request_diffs
|
||||
sharding_key: project_id
|
||||
belongs_to: merge_request_diff
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -18,3 +18,4 @@ desired_sharding_key:
|
|||
table: merge_request_diffs
|
||||
sharding_key: project_id
|
||||
belongs_to: merge_request_diff
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -17,3 +17,4 @@ desired_sharding_key:
|
|||
table: merge_request_diffs
|
||||
sharding_key: project_id
|
||||
belongs_to: merge_request_diff
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -17,3 +17,4 @@ desired_sharding_key:
|
|||
table: merge_request_diffs
|
||||
sharding_key: project_id
|
||||
belongs_to: merge_request_diff
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -14,3 +14,4 @@ allow_cross_foreign_keys:
|
|||
- gitlab_main_clusterwide
|
||||
sharding_key:
|
||||
project_id: projects
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -13,3 +13,4 @@ allow_cross_foreign_keys:
|
|||
- gitlab_main_clusterwide
|
||||
sharding_key:
|
||||
target_project_id: projects
|
||||
table_size: large
|
||||
|
|
|
|||
|
|
@ -20,3 +20,4 @@ desired_sharding_key:
|
|||
sharding_key: target_project_id
|
||||
belongs_to: merge_request
|
||||
desired_sharding_key_migration_job_name: BackfillMergeRequestReviewersProjectId
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -18,3 +18,4 @@ desired_sharding_key:
|
|||
sharding_key: target_project_id
|
||||
belongs_to: merge_request
|
||||
desired_sharding_key_migration_job_name: BackfillMergeRequestUserMentionsProjectId
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -10,3 +10,4 @@ milestone: "<6.0"
|
|||
gitlab_schema: gitlab_main_cell
|
||||
sharding_key:
|
||||
target_project_id: projects
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -19,3 +19,4 @@ schema_inconsistencies:
|
|||
object_name: index_namespaces_on_ldap_sync_last_successful_update_at
|
||||
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/135040
|
||||
sharding_key_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/461310
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -9,3 +9,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/18
|
|||
milestone: '11.0'
|
||||
gitlab_schema: gitlab_main_cell
|
||||
sharding_key_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/444222
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -25,3 +25,4 @@ gitlab_schema: gitlab_main_cell
|
|||
allow_cross_foreign_keys:
|
||||
- gitlab_main_clusterwide
|
||||
sharding_key_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/444222
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -11,3 +11,4 @@ milestone: '7.7'
|
|||
gitlab_schema: gitlab_main_cell
|
||||
sharding_key:
|
||||
organization_id: organizations
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -11,3 +11,4 @@ milestone: '7.7'
|
|||
gitlab_schema: gitlab_main_cell
|
||||
sharding_key:
|
||||
organization_id: organizations
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -20,3 +20,4 @@ desired_sharding_key:
|
|||
sharding_key: project_id
|
||||
belongs_to: package
|
||||
desired_sharding_key_migration_job_name: BackfillPackagesDependencyLinksProjectId
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -20,3 +20,4 @@ desired_sharding_key:
|
|||
sharding_key: project_id
|
||||
belongs_to: package
|
||||
desired_sharding_key_migration_job_name: BackfillPackagesPackageFilesProjectId
|
||||
table_size: large
|
||||
|
|
|
|||
|
|
@ -24,3 +24,4 @@ allow_cross_foreign_keys:
|
|||
- gitlab_main_clusterwide
|
||||
sharding_key:
|
||||
project_id: projects
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -10,3 +10,4 @@ milestone: '8.9'
|
|||
gitlab_schema: gitlab_main_cell
|
||||
sharding_key:
|
||||
organization_id: organizations
|
||||
table_size: large
|
||||
|
|
|
|||
|
|
@ -8,3 +8,4 @@ description: Tracks licenses under which a given package version has been publis
|
|||
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/102794
|
||||
milestone: '15.6'
|
||||
gitlab_schema: gitlab_pm
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -8,3 +8,4 @@ description: Tracks package versions served by public package registries.
|
|||
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/102794
|
||||
milestone: '15.6'
|
||||
gitlab_schema: gitlab_pm
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -10,3 +10,4 @@ milestone: '17.1'
|
|||
gitlab_schema: gitlab_main_cell
|
||||
sharding_key:
|
||||
project_id: projects
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -11,3 +11,4 @@ milestone: '8.14'
|
|||
gitlab_schema: gitlab_main_cell
|
||||
sharding_key:
|
||||
project_id: projects
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -12,3 +12,4 @@ allow_cross_foreign_keys:
|
|||
- gitlab_main_clusterwide
|
||||
sharding_key:
|
||||
project_id: projects
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -11,3 +11,4 @@ milestone: '8.12'
|
|||
gitlab_schema: gitlab_main_cell
|
||||
sharding_key:
|
||||
project_id: projects
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -10,3 +10,4 @@ milestone: '11.6'
|
|||
gitlab_schema: gitlab_main_cell
|
||||
sharding_key:
|
||||
project_id: projects
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -29,3 +29,4 @@ schema_inconsistencies:
|
|||
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/137884
|
||||
sharding_key:
|
||||
namespace_id: namespaces
|
||||
table_size: large
|
||||
|
|
|
|||
|
|
@ -9,3 +9,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/12
|
|||
milestone: '9.5'
|
||||
gitlab_schema: gitlab_main
|
||||
sharding_key_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/462802
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -12,3 +12,4 @@ allow_cross_foreign_keys:
|
|||
- gitlab_main_clusterwide
|
||||
sharding_key:
|
||||
project_id: projects
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -10,3 +10,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/6697
|
|||
milestone: '11.2'
|
||||
gitlab_schema: gitlab_main
|
||||
sharding_key_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/463411
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -9,3 +9,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/28926
|
|||
milestone: '13.0'
|
||||
gitlab_schema: gitlab_main
|
||||
sharding_key_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/463411
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -9,3 +9,4 @@ description: Stores routes per namespaces and projects
|
|||
introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/7121
|
||||
milestone: '9.0'
|
||||
gitlab_schema: gitlab_main_clusterwide
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -12,3 +12,4 @@ allow_cross_foreign_keys:
|
|||
- gitlab_main_clusterwide
|
||||
sharding_key:
|
||||
project_id: projects
|
||||
table_size: large
|
||||
|
|
|
|||
|
|
@ -21,3 +21,4 @@ desired_sharding_key:
|
|||
sharding_key: project_id
|
||||
belongs_to: scanner
|
||||
desired_sharding_key_migration_job_name: BackfillSecurityFindingsProjectId
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -10,3 +10,4 @@ milestone: '12.8'
|
|||
gitlab_schema: gitlab_sec
|
||||
sharding_key:
|
||||
project_id: projects
|
||||
table_size: large
|
||||
|
|
|
|||
|
|
@ -10,3 +10,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/11
|
|||
milestone: '8.0'
|
||||
gitlab_schema: gitlab_main
|
||||
sharding_key_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/463411
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -9,3 +9,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/1c3c7fb25d972fc
|
|||
milestone: '9.1'
|
||||
gitlab_schema: gitlab_main
|
||||
sharding_key_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/463411
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -10,3 +10,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/b946da44695c9c8
|
|||
milestone: '1.2'
|
||||
gitlab_schema: gitlab_ci
|
||||
sharding_key_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/467202
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -14,3 +14,4 @@ allow_cross_foreign_keys:
|
|||
sharding_key:
|
||||
project_id: projects
|
||||
group_id: namespaces
|
||||
table_size: large
|
||||
|
|
|
|||
|
|
@ -16,3 +16,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/4c622b71fd28405
|
|||
milestone: '9.0'
|
||||
gitlab_schema: gitlab_main_cell
|
||||
sharding_key_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/398199
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -8,3 +8,4 @@ description: Stores user agent details for submission to Akismet spam detection.
|
|||
introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/5538
|
||||
milestone: '8.11'
|
||||
gitlab_schema: gitlab_main_clusterwide
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -21,3 +21,4 @@ schema_inconsistencies:
|
|||
- type: missing_indexes
|
||||
object_name: index_users_on_email_trigram
|
||||
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/152249
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -11,3 +11,4 @@ milestone: '12.4'
|
|||
gitlab_schema: gitlab_sec
|
||||
sharding_key:
|
||||
project_id: projects
|
||||
table_size: large
|
||||
|
|
|
|||
|
|
@ -18,3 +18,4 @@ desired_sharding_key:
|
|||
sharding_key: project_id
|
||||
belongs_to: finding
|
||||
desired_sharding_key_migration_job_name: BackfillVulnerabilityFindingLinksProjectId
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -11,3 +11,4 @@ milestone: '13.3'
|
|||
gitlab_schema: gitlab_sec
|
||||
sharding_key:
|
||||
project_id: projects
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -18,3 +18,4 @@ desired_sharding_key:
|
|||
sharding_key: project_id
|
||||
belongs_to: finding
|
||||
desired_sharding_key_migration_job_name: BackfillVulnerabilityOccurrenceIdentifiersProjectId
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -10,3 +10,4 @@ milestone: '11.4'
|
|||
gitlab_schema: gitlab_sec
|
||||
sharding_key:
|
||||
project_id: projects
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -10,3 +10,4 @@ milestone: '14.6'
|
|||
gitlab_schema: gitlab_sec
|
||||
sharding_key:
|
||||
project_id: projects
|
||||
table_size: over_limit
|
||||
|
|
|
|||
|
|
@ -20,3 +20,4 @@ desired_sharding_key:
|
|||
sharding_key: project_id
|
||||
belongs_to: vulnerability
|
||||
desired_sharding_key_migration_job_name: BackfillVulnerabilityStateTransitionsProjectId
|
||||
table_size: medium
|
||||
|
|
|
|||
|
|
@ -9,3 +9,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/330789c23c777d8
|
|||
milestone: '9.3'
|
||||
gitlab_schema: gitlab_main_cell
|
||||
sharding_key_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/463856
|
||||
table_size: over_limit
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue