Add latest changes from gitlab-org/gitlab@master

This commit is contained in:
GitLab Bot 2024-11-04 00:19:18 +00:00
parent e16c7e3650
commit 830ab7c6cb
5 changed files with 24 additions and 10 deletions

View File

@ -17,7 +17,7 @@
- c.with_description do
= _('Configure advanced permissions, Large File Storage, two-factor authentication, and CI/CD settings.')
- c.with_body do
= render_if_exists 'shared/old_repository_size_limit_setting', form: f, type: :group
= render_if_exists 'shared/repository_size_limit_setting_for_group', form: f, type: :group
= render_if_exists 'admin/namespace_plan', f: f
.form-group.gl-form-group{ role: 'group' }
= render 'shared/allow_request_access', form: f

View File

@ -6,4 +6,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/167633
milestone: '17.5'
queued_migration_version: 20240930143922
finalize_after: '2024-10-22'
finalized_by: # version of the migration that finalized this BBM
finalized_by: '20241027232352'

View File

@ -0,0 +1,21 @@
# frozen_string_literal: true
class FinalizeBackfillDastProfilesPipelinesProjectId < Gitlab::Database::Migration[2.2]
milestone '17.6'
disable_ddl_transaction!
restrict_gitlab_migration gitlab_schema: :gitlab_sec
def up
ensure_batched_background_migration_is_finished(
job_class_name: 'BackfillDastProfilesPipelinesProjectId',
table_name: :dast_profiles_pipelines,
column_name: :ci_pipeline_id,
job_arguments: [:project_id, :dast_profiles, :project_id, :dast_profile_id],
finalize: true
)
end
def down; end
end

View File

@ -0,0 +1 @@
8410c817c8e29df224710914b172504b3af04468bd724ecd1349b739eb4d7fbb

View File

@ -11,14 +11,6 @@ DETAILS:
**Tier:** Free, Premium, Ultimate
**Offering:** GitLab.com, Self-managed, GitLab Dedicated
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/368150) in GitLab 15.3, feature flags `gitaly_revlist_for_repo_size` and `gitaly_catfile_repo_size` for alternative repository size calculations.
FLAG:
For self-managed instances, GitLab uses the `du -sk` command by default to determine repository size.
However, administrators can enable alternative calculation methods using feature flags
`gitaly_revlist_for_repo_size` and `gitaly_catfile_repo_size`. To switch between these methods,
administrators can [enable or disable](../../../administration/feature_flags.md) the respective feature flags.
The size of a Git repository can significantly impact performance and storage costs.
It can differ slightly from one instance to another due to compression, housekeeping, and other factors.